Test SMTP login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test smtp login | |
# scripted by github.com/thonixx | |
function smtplogin { | |
echo -n "Server: " | |
read server | |
echo "" | |
echo -n "Username: " | |
read user | |
echo -n "Password: " | |
read pass | |
echo "" | |
user64=$(echo -n "$user" | base64) | |
pass64=$(echo -n "$pass" | base64) | |
(echo "helo test" | |
sleep 2 | |
echo "AUTH LOGIN" | |
sleep 2 | |
echo "$user64" | |
sleep 2 | |
echo "$pass64" | |
sleep 2 | |
echo "QUIT") | netcat $server 25 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment