-
Notifications
You must be signed in to change notification settings - Fork 1
/
vkontakte_scan.py
48 lines (44 loc) · 1.8 KB
/
vkontakte_scan.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
import sys
import os
from get_target_Friends import Friends
from get_target_Followers import Followers
from get_target_Subscriptions import Subscriptions
from get_target_Groups import Groups
from get_target_Photos import Photos
from get_target_Posts import Posts
from search_query import Search
positive_answers = ['yes', 'y', '']
def main_menu():
try:
print(
"\033[1;94m\nVK Scanner \033[1;00mmodules:\n\n[\033[1;94m1\033[1;00m] Get target \033[1;94mFriends\n\033[1;00m[\033[1;94m2\033[1;00m] Get target \033[1;94mFollowers\n\033[1;00m[\033[1;94m3\033[1;00m] Get target \033[1;94mSubscriptions\n\033[1;00m[\033[1;94m4\033[1;00m] Get target \033[1;94mGroups\n\033[1;00m[\033[1;94m5\033[1;00m] Get target \033[1;94mPhotos\033[1;00m\n[\033[1;94m6\033[1;00m] Get target \033[1;94mPosts\033[1;00m\n[\033[1;94m7\033[1;00m]\033[1;94m Search \033[1;00mquery in target \033[1;94mFriends\033[1;00m\n[\033[1;94m99\033[1;00m] \033[1;90mExit\033[1;00m\n"
)
choose_module = input("Enter module number: ")
if choose_module == "1":
Friends()
main_menu()
elif choose_module == "2":
Followers()
main_menu()
elif choose_module == "3":
Subscriptions()
main_menu()
elif choose_module == "4":
Groups()
main_menu()
elif choose_module == "5":
Photos()
main_menu()
elif choose_module == "6":
Posts()
main_menu()
elif choose_module == "7":
Search()
main_menu()
elif choose_module == "99":
sys.exit()
else:
sys.exit("\033[1;91mWrong input!\033[1;00m")
except KeyboardInterrupt:
sys.exit("\n")
main_menu()