Try this
sub DecodeNB { pack 'C*', map{ ( ( vec( $_[0], 2+$_*4, 4 ) -1 ) << 4 ) + ( vec( $_[0], 4+$_*4, 4 ) -1 ) } 0 .. 8; }
In reply to Re: Parsing Netbios and DNS Names
by BrowserUk
in thread Parsing Netbios and DNS Names
by NetWallah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |