Changeset 28 for trunk/bin/bletchley-http2py
- Timestamp:
- 12/21/12 22:44:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/bletchley-http2py
r14 r28 41 41 sys.exit(1) 42 42 43 parser = argparse.ArgumentParser(description='Process some integers.') 44 parser.add_argument('requestfile', type=file, nargs='?', default=sys.stdin, 45 help='A file containing an HTTP request. Defaults to stdin if omitted.') 46 parser.add_argument('--burp', action='store_true', help='Input file is a XML export from Burp. (First request in file is used.)') 43 parser = argparse.ArgumentParser( 44 description='A script which accepts an HTTP request and prints out a' 45 ' generated Python script which sends a similar request. This is useful' 46 ' when one wants to automate sending a large number of requests to a' 47 ' particular page or application.' 48 ' For more information, see: http://code.google.com/p/bletchley/wiki/Overview') 49 parser.add_argument( 50 'requestfile', type=file, nargs='?', default=sys.stdin, 51 help='A file containing an HTTP request. Defaults to stdin if omitted.') 52 parser.add_argument( 53 '--burp', action='store_true', help='Input file is a XML export from Burp.' 54 ' (First request in file is used.)') 47 55 args = parser.parse_args() 48 56
Note: See TracChangeset
for help on using the changeset viewer.