In ddos.sh, '::ffff:' needs to be removed before striping the port with 'sed' on the 'netstat' results, otherwise it won't match the 'sed' commands to remove the port, and 'unique -c' won't count the consecutive lines since they will still have different ports...
In ddos.sh, '::ffff:' needs to be removed before striping the port with 'sed' on the 'netstat' results, otherwise it won't match the 'sed' commands to remove the port, and 'unique -c' won't count the consecutive lines since they will still have different ports...