Changeset 62
- Timestamp:
- 08/18/13 11:57:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/bletchley-http2py
r51 r62 123 123 sys.exit(1) 124 124 125 # from bletchley import blobtools,buffertools 126 # from bletchley.CBC import * 127 125 128 126 129 # TODO: ensure the host, port, and SSL settings are correct. … … 176 179 import sys 177 180 import http.client as httpc 181 # from bletchley import blobtools,buffertools 182 # from bletchley.CBC import * 178 183 179 184 … … 218 223 219 224 def fetch(data): 220 ret_val = None225 ret_val = False 221 226 connection = newConnection() 222 227 … … 234 239 fetch(data) 235 240 ''') 241 242 print(''' 243 244 # Padding Oracle Attacks 245 # ciphertext = blobtools.decode('{ encoding }', data) 246 # poa = POA(fetch, {block size}, ciphertext, threads=1, log_file=sys.stderr) 247 # print(poa.probe_padding()) # sanity check 248 # print(poa.decrypt()) 249 ''')
Note: See TracChangeset
for help on using the changeset viewer.