-
Notifications
You must be signed in to change notification settings - Fork 8
/
Stalker.py
88 lines (69 loc) · 3.01 KB
/
Stalker.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
import sys, os
#import json
#from Intel_Feeds import open_source_lists as feeds
from Database import database as dbupdate
from Stalk import stalk_prey as stalk
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
################################################################################################################################
def main():
# Bring the Menu UP
choise = menu()
while choise != 4:
if choise == 1:
#print ("Update Database\n")
cls()
dbupdate.dbMenu()
elif choise == 2:
stalk.spMenu()
elif choise == 3:
print ("This has not been implemented.")
input()
else:
print ("Invalid number. Get some coffee and try again...")
input()
choise = menu()
cls()
print ("Stalk you later!! ( ° ͜ʖ °) \n")
##############################################################################################################################
def cls():
#try:
# os.system('cls') # For windows
#except Exception as e: return
try:
os.system('clear') # For Linux
except Exception: return
##############################################################################################################################
def menu():
cls()
print ("""
________________________________________________________________________________________________________________________
d888888o. 8888888 8888888888 .8. 8 8888 8 8888 ,88' 8 8888888888 8 888888888o.
.`8888:' `88. 8 8888 .888. 8 8888 8 8888 ,88' 8 8888 8 8888 `88.
8.`8888. Y8 8 8888 :88888. 8 8888 8 8888 ,88' 8 8888 8 8888 `88
`8.`8888. 8 8888 . `88888. 8 8888 8 8888 ,88' 8 8888 8 8888 ,88
`8.`8888. 8 8888 .8. `88888. 8 8888 8 8888 ,88' 8 888888888888 8 8888. ,88'
`8.`8888. 8 8888 .8`8. `88888. 8 8888 8 8888 88' 8 8888 8 888888888P'
`8.`8888. 8 8888 .8' `8. `88888. 8 8888 8 888888< 8 8888 8 8888`8b
8b `8.`8888. 8 8888 .8' `8. `88888. 8 8888 8 8888 `Y8. 8 8888 8 8888 `8b.
`8b. ;8.`8888 8 8888 .888888888. `88888. 8 8888 8 8888 `Y8. 8 8888 8 8888 `8b.
`Y8888P ,88P' 8 8888 .8' `8. `88888. 8 888888888888 8 8888 `Y8. 8 888888888888 8 8888 `88.
________________________________________________________________________________________________________________________
[1] Database.
[2] Stalk.
[3] Modules.
[4] Quit
""")
try:
ans = input('Lets start stalking, Enter your choise [1-4]: ')
return (int(ans))
except Exception as e:
print ("Was that even a number!? \n", e)
pass
if __name__ == '__main__':
main()
#print (Updatedb.basic_intel())
#masterfeed = feed.fetch_feeds()
#for key, value in feeds.fetch_feeds().items():
# print ('IP = ', key)
# print ('Intel = ', value)
#print (feeds.fetch_feeds())