Ignore:
Timestamp:
12/21/12 22:44:29 (12 years ago)
Author:
tmorgan
Message:

more documentation
added supported encodings listing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/bletchley-http2py

    r14 r28  
    4141    sys.exit(1)
    4242
    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.)')
     43parser = 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')
     49parser.add_argument(
     50    'requestfile', type=file, nargs='?', default=sys.stdin,
     51    help='A file containing an HTTP request.  Defaults to stdin if omitted.')
     52parser.add_argument(
     53    '--burp', action='store_true', help='Input file is a XML export from Burp.'
     54    ' (First request in file is used.)')
    4755args = parser.parse_args()
    4856
Note: See TracChangeset for help on using the changeset viewer.