-
Notifications
You must be signed in to change notification settings - Fork 9
/
spoofer-lite.py
63 lines (40 loc) · 921 Bytes
/
spoofer-lite.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# spoofer-lite.py
# -Lite version for Spoofer.py-
#
# By : @_hddananjaya
#
import smtplib
# define variables
mailServer = ""
serverPort =
email = ""
password = ""
# print banner
print ("""
-------------------------------
spoofer-lite
-Lite version for Spoofer.py-
-------------------------------
""")
server = smtplib.SMTP( mailServer, serverPort )
server.starttls()
server.login( email, password )
print ("Server Connected!")
def main():
# Getting from ,to and message
from_=str(input("\n[$] From(spoofed):"))
#to=str(raw_input("[$] To :"))
to = ""
#to = ""
text = str(input("[$] Message:"))
subject=text
message = "Subject: %s\n\n%s" % (subject, text)
# Send mail and dispaly sent..
server.sendmail( from_, to, message)
print ("Sent!")
while __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
print ("\nExiting program..")