How to send packets BASH | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to send packets BASH

I am asking how to send packages in BASH to websites. Does ping work? EXAMPLE: ping www.google.com -c 4 Packets can be any size. Trying to make an DDOS protection tool but I first need to know how DDOS works to test my DDOS protection code. BASH usually errors large amounts of packages when I use ping as ‘too big’! Is there any way I can send large amounts of packages using BASH to simulate a DDOS attack? And no, I would rather not download DDOS software, this is only to make the DDOS protection better.

23rd Jan 2018, 3:25 PM
privrax.
privrax. - avatar
3 Answers
+ 2
DDoS attacks are usually sent from VPS', from an SSH like PuTTY or KiTTY. I recommend finding the source code for the script that is indexed into these Virtual Private Servers, and that should give you an idea of how they are sent. One script I definitely know of is DoS.rb, a Ruby script used to send large amount of packets from the SSH that is connected to the VPS. Good luck! 👍
24th Jan 2018, 2:00 AM
Dread
Dread - avatar
+ 1
Is it possible to do this through BASH SSH?
24th Jan 2018, 2:26 AM
privrax.
privrax. - avatar
0
Great! Thanks!
24th Jan 2018, 2:18 AM
privrax.
privrax. - avatar