xme / known_hosts_bruteforcer

Perl script to bruteforce SSH known_hosts files.
http://blog.rootshell.be/2010/11/03/bruteforcing-ssh-known_hosts-files/
25 stars 11 forks source link

Consider removing fillString and replacing use with Perl's own function #8

Open jawaad-ahmad opened 4 years ago

jawaad-ahmad commented 4 years ago

Povl Ole Haarlev Olsen commented on the original blog on 25 Apr 2015 (https://blog.rootshell.be/2010/11/03/bruteforcing-ssh-known_hosts-files/) stating:

fillString() does the same as “$char x $len” and getPos() does the same as “index($alphabet,$char)”. It’s probably faster to use perls own (optimized) functions than your own (non-optimized) functions.