This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWilBomber.py
97 lines (88 loc) · 3.14 KB
/
WilBomber.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import json
import time
import os , sys
import requests
import os , requests , urllib3 , time
from colorama import Fore
from random import uniform
StartReq= None
Welcome_Text =""" -----------------------------------------
|| ZeNmAxE ||
|| ||
|| Sms Bomber ||
----------------------------------------- """
proxy = {'https': '127.0.0.1:8000'}
User_Agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0"
def Welcome():
os.system('cls')
print(Fore.LIGHTYELLOW_EX+Welcome_Text)
time.sleep(0.25)
print(Fore.GREEN + "[1] " + Fore.LIGHTCYAN_EX + "Start SmS Bomber")
print(Fore.GREEN + "[2] " + Fore.LIGHTCYAN_EX + "About Me")
print(Fore.GREEN + "[3] " + Fore.LIGHTCYAN_EX + "Exit")
Ask_Request()
def TestInternet():
page = None
URL = "https://api.myip.com"
try:
print("Checking Your Internet ...")
page = requests.get(URL, timeout=3)
page.raise_for_status()
p1 = "Your Internet Connection Is Ok ...\n"
for x in p1:
sys.stdout.write(x)
sys.stdout.flush()
time.sleep(uniform(0, 0.4))
time.sleep(2)
TestPing()
except requests.exceptions.HTTPError as errh:
print ("Http Error:",errh)
except requests.exceptions.ConnectionError as errc:
print ("Error Connecting:",errc)
except requests.exceptions.Timeout as errt:
print ("Timeout Error:",errt)
except requests.exceptions.RequestException as err:
print ("OOps: Something Else",err)
def TestPing():
URL = "https://api.myip.com"
page = requests.get(URL)
ip_json = json.loads(page.text)['ip']
country_json = json.loads(page.text)['country']
print("Your Country Is " + Fore.LIGHTRED_EX + country_json + Fore.WHITE +
"\nAnd Your Ip is " + Fore.LIGHTRED_EX + ip_json + Fore.WHITE , flush=True)
if "Iran" in country_json:
print("Turn On Your"+Fore.LIGHTGREEN_EX + " VPN " + Fore.WHITE +
"Than Start " + Fore.LIGHTMAGENTA_EX + "WiliBomber" + Fore.WHITE)
time.sleep(1)
quit()
elif "Iran" not in country_json:
print("Welcome To SmS Bomber , Your Connection is " +Fore.LIGHTYELLOW_EX+"Secure"+Fore.WHITE)
time.sleep(7)
Welcome()
def Ask_Request():
ask = input("Selct Your Request: ")
if ask == "1" :
StartReq = 1
print(StartReq)
print("hh")
elif ask == "2" :
print("hello")
time.sleep(1)
Ask_Request()
elif ask == "3" :
quit()
else:
print("Wrong Request Code ...")
time.sleep(1)
Ask_Request()
def Phonenumberdata():
global Pask, SMSNumber
Pask = input("Enter Your Phone Number Without +98:")
Check_Pask = input("Your Phone Number is +98"+Pask +" ? (Y / N)")
if Check_Pask == "Y":
SMSNumber = input("How Many SMS You Want Send?: ")
elif Check_Pask == "N":
Phonenumberdata()
else:
print("Enter Again")
TestInternet()