-
Notifications
You must be signed in to change notification settings - Fork 1
/
cli.py
executable file
·61 lines (39 loc) · 1.32 KB
/
cli.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
#!/usr/bin/env python3
from modules.search import Search
from modules.leaksfinder import LeaksFinder
from modules.internet import Internet
# countries: Egypt, Cameroon, Algeria, Austria, Bahrain, Belgium, Canada, China, Cameroon, ShittyIsrael
import datetime
from pyfiglet import figlet_format
SEP = "\033[95m___________________________________________\033[0m"
RED = '\033[31m'
RESET = '\033[0m'
MAGENTA = '\033[35m'
YELLOW = '\033[33m'
UNDERLINE = '\033[4m'
GREEN = '\033[32m'
BOLD = '\033[1m'
if not Internet.check_tor_circuit():
print("can not establish tor circuit")
exit(0)
print( RED + BOLD + figlet_format('Rummage'))
SearchKey = input(GREEN + BOLD + 'Enter Your Search Key: ' + RESET)
print (datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
Finder = Search()
Finder.Search(SearchKey)
print(SEP)
sources = LeaksFinder.GetSources()
if len(sources) > 3:
print(MAGENTA + "Sources: \n" + sources + RESET)
print(RED + BOLD + LeaksFinder.GetResult() + RESET)
print(BOLD + YELLOW + 'Risk Level -> {} {}'.format(LeaksFinder.GetRiskLevel(), RESET))
print (datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
# TODO GUI
# TODO Error win
# TODO cookie
# TODO FULL Search
# TODO threads (second search)
# TODO Organize the code @HAWASH
# TODO Full search
# TODO test
# TODO UserName search