漏洞银行1000种姿势绕过软WAF
漏洞银行丨“1000种姿势”绕过软WAF –Python Fuzz脚本编写— V@1n3R丨咖面33期
QQ群:397745473
1 2 3 4 5 6
| youtube 视频地址: https://www.youtube.com/watch?v=q6vWDLQ_1Hg 标题:漏洞银行丨“1000种姿势”绕过软WAF --Python Fuzz脚本编写— V@1n3R丨咖面33期
软件下载: http://public.xp.cn/upgrades/phpStudy20161103.zip https://www.lz1y.cn/
|
fuzz 脚本:
在本地搭建安全狗测试fuzz他的正则
更多特殊字符测试
使用sqlmap进行测试
Sqlmap扩展—外部IP代理池实现
用sqlmap加代理进行并用brup查看payload
1 2
| 原文:https://blog.csdn.net/nzjdsds/article/details/77389212 搜关键词:sqlmap代理池扩展脚本
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265
|
"""
ayou
"""
importsocket
fromsocketimporterror
importthreading
importrandom
importtime
localtime=time.asctime(time.localtime(time.time()))
classProxyServerTest():
def__init__(self,proxyip):
self.ser=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
self.proxyip=proxyip
defrun(self):
try:
self.ser.bind(('127.0.0.1',9999))
self.ser.listen(5)
excepterrorase:
print("[-]The local service : "+str(e))
return"[-]The local service : "+str(e)
whileTrue:
try:
client,addr=self.ser.accept()
print('[*]accept %s connect'%(addr,))
data=client.recv(1024)
ifnotdata:
break
print('[*'+localtime+']: Accept data...')
excepterrorase:
print("[-]Local receiving client : "+str(e))
return"[-]Local receiving client : "+str(e)
whileTrue:
mbsocket=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
iplen=len(self.proxyip)
proxyip=self.proxyip[random.randint(0,iplen-1)]
print("[!]Now proxy ip:"+str(proxyip))
prip=proxyip[0]
prpo=proxyip[1]
try:
mbsocket.settimeout(3)
mbsocket.connect((prip,prpo))
except:
print("[-]RE_Connect...")
continue
break
try:
mbsocket.send(data)
excepterrorase:
print("[-]Sent to the proxy server : "+str(e))
return"[-]Sent to the proxy server : "+str(e)
whileTrue:
try:
data_1=mbsocket.recv(1024)
ifnotdata_1:
break
print('[*'+localtime+']: Send data...')
client.send(data_1)
exceptsocket.timeoutase:
print(proxyip)
print("[-]Back to the client : "+str(e))
continue
client.close()
mbsocket.close()
defLoadips():
print("[*]Loading proxy ips..")
ip_list=[]
ip=['ip','port']
withopen("ips.txt")asips:
lines=ips.readlines()
forlineinlines:
ip[0],ip[1]=line.strip().split(":")
ip[1]=eval(ip[1])
nip=tuple(ip)
ip_list.append(nip)
returnip_list
defmain():
print('''*Atuhor : V@1n3R.
*Blog :http://www.Lz1y.cn
*date: 2017.7.17
*http://www.Lz1y.cn/wordpress/?p=643
__ __ _ _____ ____
\ \ / /_ _/ |_ __ |___ /| _ \
\ \ / / _` | | '_ \ |_ \| |_) |
\ V / (_| | | | | |___) | _ < _
\_/ \__,_|_|_| |_|____/|_| \_(_)
''')
ip_list=Loadips()
try:
pst=ProxyServerTest(ip_list)
t=threading.Thread(target=pst.run,name='LoopThread')
print('[*]Waiting for connection...')
t.start()
t.join()
exceptExceptionase:
print("[-]main : "+str(e))
return"[-]main : "+str(e)
if__name__=='__main__':
main()
|
QQ群:397745473