How to build super efficient wordlists from your machines
Hello dear Breached community
Today i want to teach you how to build wordlists using a public machine you have.
First you will need to have an open ssh or http server on that machine
Then you can use this command to get a wordlist of the most used username (Note that you can also use this technique with password if you have plain text password (Note2 this is stupid)
cat auth.log*|grep 'Failed password'|grep -v 'repeated'|grep invalid|awk '{print $11}'|sort|uniq -c|sort
And you can also do this command to get a wordlist of
cat /var/log/nginx/access.log*|awk '{split($0, a, "\"");split(a[2], b);print b[2]}'|sort|uniq -c|sort
Work also with apache2
cat /var/log/apache2/access.log*|awk '{split($0, a, "\"");split(a[2], b);print b[2]}'|sort|uniq -c|sort
Thanks for reading <3
Hello dear Breached community
Today i want to teach you how to build wordlists using a public machine you have.
First you will need to have an open ssh or http server on that machine
Then you can use this command to get a wordlist of the most used username (Note that you can also use this technique with password if you have plain text password (Note2 this is stupid)
cat auth.log*|grep 'Failed password'|grep -v 'repeated'|grep invalid|awk '{print $11}'|sort|uniq -c|sort
And you can also do this command to get a wordlist of
cat /var/log/nginx/access.log*|awk '{split($0, a, "\"");split(a[2], b);print b[2]}'|sort|uniq -c|sort
Work also with apache2
cat /var/log/apache2/access.log*|awk '{split($0, a, "\"");split(a[2], b);print b[2]}'|sort|uniq -c|sort
Thanks for reading <3