Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fuzzylogiq/f98e8ab10cbad95c88170c8b0de71de2 to your computer and use it in GitHub Desktop.
Save fuzzylogiq/f98e8ab10cbad95c88170c8b0de71de2 to your computer and use it in GitHub Desktop.
echo <Netboot Set Name> | perl -e 'while (<>){s/(.)/sprintf("%X:",ord($1))/ge;my $len=length()/3;s/:$//;print "\n Length (hex): ".sprintf("%02X",$len)."\n Name (hex): $_\n";}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment