-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.py
More file actions
36 lines (34 loc) · 873 Bytes
/
client.py
File metadata and controls
36 lines (34 loc) · 873 Bytes
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
import os
import signal
import requests
import pyperclip
import webbrowser
import time
def war_files():
print('')
print('You are now accessing property of the Operahouse Government.')
print('Please allow time to secure the connection.')
print('')
time.sleep(5)
codename = input('Give your assigned codename. ')
pwd = input('Give your PIN: ')
file = input('What is the file you need? ')
url = 'https://fakesmsbot.herokuapp.com/war'
data = {'codename':codename, 'pwd':pwd, 'file':file}
r = requests.post(url, json=data)
if r.text[0:4] == 'http':
webbrowser.open_new(r.text)
exit()
else:
print(r.text)
time.sleep(5)
print('')
keyword = input('Enter the keyword: ')
if(keyword == 'war_files'):
war_files()
else:
url = 'https://fakesmsbot.herokuapp.com/'
data = {'keyword':keyword}
r = requests.post(url, json=data)
pyperclip.copy(r.text)
print(r)