Skip to content

Commit c30480a

Browse files
committed
svn for 检测
1 parent e831b97 commit c30480a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

svn_jiance.py

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/usr/bin/env python
2+
# coding=utf-8
3+
4+
#author:phantomer
5+
#github:https://github.com/rootphantomer
6+
#weibo:http://weibo.com/527819757
7+
8+
import requests
9+
10+
"'此工具是用来查看是否有svn源码泄露'"
11+
12+
13+
14+
url=raw_input("输入url:")
15+
16+
default_url="/.svn/entries"
17+
18+
try:
19+
if url[-1]=="/":
20+
url=url[:-1]
21+
22+
r=requests.get(url,params=default_url)
23+
24+
if r.status_code==200:
25+
print "存在该目录,可能有漏洞"
26+
27+
except:
28+
print "无漏洞"

0 commit comments

Comments
 (0)