CURL: command_injection_reveal.sh PDF Print E-mail
Wednesday, 23 September 2009 19:48
#!/bin/bash

# The value of OUTPUTFILE from previous script
INPUTFILE=C:\\temp\\vulns.txt
# INPUTFILE=/tmp/vulns.txt

echo "The following URLs are vulnerable to command injection:"
while read LINE
do
LINE_DECODED=`echo ${LINE} | perl -MMIME::Base64 -lne 'print decode_base64($_)'`
echo $LINE_DECODED;
done < ${INPUTFILE}

Last Updated on Wednesday, 23 September 2009 19:55