ddos/ddos.sh
author Markus Brökers <mbroeker@largo.homelinux.org>
Tue, 17 Aug 2010 18:57:57 +0200
changeset 139 cb1d3f4cf18e
parent 0 af501b0c1716
permissions -rwxr-xr-x
execve returns a value on error and this catches it

#!/bin/bash

for i in {1..1000};
do
	./client &
	if [ $? == 0 ]; then
		printf "Starting process\n";
	fi
done;