Ai
1 Star 0 Fork 0

小义的爸爸/pentestpackage

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
puttest.sh 892 Bytes
一键复制 编辑 原始数据 按行查看 历史
Leon Teale 提交于 2017-01-25 19:13 +08:00 . updated entire repo from private
#!/bin/bash
##########################################################################
# Coloured variables
##########################################################################
red=`echo -e "\033[31m"`
lcyan=`echo -e "\033[36m"`
yellow=`echo -e "\033[33m"`
green=`echo -e "\033[32m"`
blue=`echo -e "\033[34m"`
purple=`echo -e "\033[35m"`
normal=`echo -e "\033[m"`
read -e -p "Enter Target Web Server (e.g. http://domain.com:8080): " target
echo ""
echo "$yello Trying Method 1.. $normal"
echo ""
curl -i -X PUT -H "Content-Type: application/xml; charset=utf-8" -d @"/tmp/some-file.xml" $target/newpage
echo ""
echo ""
echo "$yello Trying Method 2.. $normal"
echo ""
curl -i -H "Accept: application/json" -X PUT -d "text or data to put" $target/new_page
echo ""
#echo ""
#echo "Trying Method X.."
#echo ""
#curl -X PUT -d "text or data to put" $target/destination_page
echo ""
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/csharphpython/pentestpackage.git
git@gitee.com:csharphpython/pentestpackage.git
csharphpython
pentestpackage
pentestpackage
master

搜索帮助