Skip to content

Commit

Permalink
set reverse shell as 1 default handler
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzkab committed Jan 8, 2020
1 parent 8aac206 commit 776feac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssrfmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def parse_args():
parser.add_argument('-r', action ='store', dest='reqfile', help="SSRF Request file")
parser.add_argument('-p', action ='store', dest='param', help="SSRF Parameter to target")
parser.add_argument('-m', action ='store', dest='modules', help="SSRF Modules to enable")
parser.add_argument('-l', action ='store', dest='handler', help="Start an handler for a reverse shell")
parser.add_argument('-l', action ='store', dest='handler', help="Start an handler for a reverse shell", nargs='?', const='1', default='1')
parser.add_argument('-v', action ='store', dest='verbose', help="Enable verbosity", nargs='?', const=True)
parser.add_argument('--lhost', action ='store', dest='lhost', help="LHOST reverse shell")
parser.add_argument('--lport', action ='store', dest='lport', help="LPORT reverse shell")
Expand Down

0 comments on commit 776feac

Please sign in to comment.