-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
35 lines (32 loc) · 1.19 KB
/
Copy pathmain.py
File metadata and controls
35 lines (32 loc) · 1.19 KB
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
def logo():
print('''
__ __ __ __ __ __ __
/ /_ / /_/ /____\ \ / /_ / /_/ /_____ _____
/ __ \/ __/ __/ __ \ \ / __ \/ __/ __/ __ \/ ___/
/ / / / /_/ /_/ /_/ /\ \ / / / / /_/ /_/ /_/ (__ )
/_/ /_/\__/\__/ .___/ \_\/_/ /_/\__/\__/ .___/____/
/_/ /_/
Mass Add http / https
Author: NuLz | Haxorstars
''')
def nulz(listnya, chose, domain):
if chose == "http":
http = "http://"
fname = listnya+".saved-"+chose+".txt"
for url in domain:
resHttp = http+url
saveHttp = open(fname, "a").write(str(resHttp+"\n"))
print(resHttp + " => " + fname)
elif chose == "https":
https = "https://"
fname = listnya+".saved-"+chose+".txt"
for url in domain:
resHttps = https+url
saveHttp = open(fname, "a").write(str(resHttps+"\n"))
print(resHttps + " => " + fname)
if __name__ == "__main__":
logo()
listnya = input("List > ")
chose = input("http / https > ")
domain = open(listnya, "r").read().splitlines()
nulz(listnya, chose, domain)