Hi!
This is one of the lines I get when I use nbtscan to detect computers' NetBIOS name:
192.153.1.5 STARI <server> STARI 00-c0-df-13-66-49
I'd like to parse that line in such way that I store IP address to variable $ip and NetBIOS name "STARI" to variable $nbt.
I've heard about perl regular expressions, but I have absolutely no idea how to apply them.
If someone could help me with this one, I'd really be grateful!
This is one of the lines I get when I use nbtscan to detect computers' NetBIOS name:
192.153.1.5 STARI <server> STARI 00-c0-df-13-66-49
I'd like to parse that line in such way that I store IP address to variable $ip and NetBIOS name "STARI" to variable $nbt.
I've heard about perl regular expressions, but I have absolutely no idea how to apply them.
If someone could help me with this one, I'd really be grateful!