Skip to content

Commit

Permalink
Fixed stdin option
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghavd3v authored Apr 6, 2022
1 parent ab635da commit 27fff75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crlfsuite/core/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
required_grp = parser.add_argument_group('Main options')
required_grp.add_argument('-u', '--url', dest='url', help='Specify the target URL (Example: -u https://google.com)')
required_grp.add_argument('-i', '--import-urls', help='Import targets from the file (Example: -i targets.txt)')
required_grp.add_argument('-s', '--stdin', help='Scan URLs from stdin')
required_grp.add_argument('-s', '--stdin', help='Scan URLs from stdin', action="store_true")
required_grp.add_argument('-o', '--output', help='Path for output file (Example: /home/devansh/output.txt), default is output.txt', default='output.txt')
request_grp = parser.add_argument_group('Request options')
request_grp.add_argument('-m','--method', dest='method', help='Request method (GET/POST), Default is GET', default="GET")
Expand Down Expand Up @@ -52,4 +52,4 @@
if cookies:
new_cookies = parse_cookies(cookies)
else:
pass
pass

0 comments on commit 27fff75

Please sign in to comment.