Siege: multiple url
Jump to navigation
Jump to search
urls.txt
Edit file
vi /home/onno/.siege/urls.txt
Isi misalnya dengan
http://192.168.88.240/DVWA-1.9/login.php POST username=admin&password=password&Login=Login http://192.168.88.240/squirrelmail/src/redirect.php POST login_username=onno&secretkey=123456&js_autodetect_results=1&just_logged_in=1
# URLS file for siege # -- # Format the url entries in any of the following formats: # http://www.whoohoo.com/index.html # http://www/index.html # www/index.html # http://www.whoohoo.com/cgi-bin/howto/display.cgi?1013 # Use the POST directive for pages that require it: # http://www.whoohoo.com/cgi-bin/haha.cgi POST ha=1&ho=2 # or POST content from a file: # http://www.whoohoo.com/melvin.jsp POST </home/jeff/haha # http://www.whoohoo.com/melvin.jsp POST <./haha # You may also set and reference variables inside this file, # for more information, man urls_txt # ------------------------------------------------------- www.example.com www.example.org 123.45.67.89
# comments behind hashes http://homer.whoohoo.com/index.shtml http://homer.whoohoo.com/howto.jsp http://homer.whoohoo.com/cgi-bin/hello.pl?first=bart&last=simpson # and on and on....
PROT=https:// $(PROT)eos.joedog.org/siege/index.php $(PROT)eos.joedog.org/wacky/index.php $(PROT)eos.joedog.org/scout/index.php $(PROT)eos.joedog.org/libping/index.php $(PROT)eos.joedog.org/gunner/index.php
Jalankan
siege -f /home/onno/.siege/urls.txt
siege --concurrent=50 --internet --file urls.txt siege -c 50 -i -t30m --file urls.txt
Dimana:
--internet (-i) - url di urls.txt akan di random .. --concurrent - concurrent user -f - file url.txt -t30m - 30 menit