Changeset 5486
- Timestamp:
- 04/21/08 16:49:10 (3 weeks ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework3/trunk/data/exploits/capture/http/index.html
r5484 r5486 15 15 <table align="center" width="100%" border=0 cellspacing=0 cellpadding=6> 16 16 <tr><td colspan="2" valign="top" align="center"> 17 <h1>Gues sAccess</h1>17 <h1>Guest Access</h1> 18 18 </td></tr> 19 19 framework3/trunk/data/exploits/capture/http/sites.txt
r5484 r5486 19 19 orkut.com 20 20 facebook.com 21 22 # Miscellaneous 23 flickr.com 24 amazon.com framework3/trunk/modules/auxiliary/server/capture/http.rb
r5485 r5486 151 151 152 152 153 cookies = req['Cookie s'] || ''153 cookies = req['Cookie'] || '' 154 154 155 155 … … 231 231 232 232 if(ctypes[req_ext]) 233 ctype = ctypes[req_ext] 233 ctype = ctypes['gif'] 234 235 data = 236 "\x47\x49\x46\x38\x39\x61\x01\x00\x01\x00\x80\x00" + 237 "\x00\xff\xff\xff\xff\xff\xff\x2c\x00\x00\x00\x00" + 238 "\x01\x00\x01\x00\x00\x02\x02\x44\x01\x00\x3b" 239 234 240 res = 235 241 "HTTP/1.1 200 OK\r\n" + 236 242 "Host: #{mysrc}\r\n" + 237 243 "Content-Type: #{ctype}\r\n" + 238 "Content-Length: 0\r\n" + 239 "Connection: Close\r\n\r\n" 244 "Content-Length: #{data.length}\r\n" + 245 "Connection: Close\r\n\r\n#{data}" 246 247 248 240 249 241 250 cli.put(res)
