Skip to content

Commit

Permalink
changed order of optional parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianVollmer committed Sep 29, 2017
1 parent 615b2b1 commit 05c25f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ The script performs ARP spoofing to gain a Man-in-the-Middle position and
redirects the traffic such that it runs through an RDP proxy. The proxy can
be called separately:

usage: seth.py [-h] [-d] [-f] [-p LISTEN_PORT] [-b BIND_IP] [-g {0,1,3,11}] -c
CERTFILE -k KEYFILE [-j INJECT]
usage: seth.py [-h] [-d] [-f] [-p LISTEN_PORT] [-b BIND_IP] [-g {0,1,3,11}]
[-j INJECT] -c CERTFILE -k KEYFILE
target_host [target_port]

RDP credential sniffer -- Adrian Vollmer, SySS GmbH 2017
Expand All @@ -44,12 +44,12 @@ be called separately:
-g {0,1,3,11}, --downgrade {0,1,3,11}
downgrade the authentication protocol to this (default
3)
-j INJECT, --inject INJECT
command to execute via key press event injection
-c CERTFILE, --certfile CERTFILE
path to the certificate file
-k KEYFILE, --keyfile KEYFILE
path to the key file
-j INJECT, --inject INJECT
command to execute via key press event injection

For more information read the PDF in `doc/paper` (or read the code!). The
paper also contains recommendations for counter measures.
Expand Down
4 changes: 2 additions & 2 deletions seth/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
parser.add_argument('-g', '--downgrade', dest='downgrade', type=int,
default=3, action="store", choices=[0,1,3,11],
help="downgrade the authentication protocol to this (default 3)")
parser.add_argument('-j', '--inject', dest='inject', type=str,
required=False, help="command to execute via key press event injection")
parser.add_argument('-c', '--certfile', dest='certfile', type=str,
required=True, help="path to the certificate file")
parser.add_argument('-k', '--keyfile', dest='keyfile', type=str,
required=True, help="path to the key file")
parser.add_argument('-j', '--inject', dest='inject', type=str,
required=False, help="command to execute via key press event injection")
parser.add_argument('target_host', type=str,
help="target host of the RDP service")
parser.add_argument('target_port', type=int, default=3389, nargs='?',
Expand Down

0 comments on commit 05c25f4

Please sign in to comment.