Skip to content

Commit

Permalink
Update SSH-BruteForce.py
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Cracks authored Mar 26, 2020
1 parent a887691 commit b7cd731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SSH-BruteForce.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
parser.add_argument("--passes",help="Add the absolute path of the password file here (/root/passwords.txt)")
parser.add_argument("--host",help="The IP address of the remote SSH server, default is your machine (localhost).",default="127.0.0.1")
parser.add_argument("--port", help="The port of the SSH server -default is 22.",type=int,default=22)
parser.add_argument("--cmd", help="The command to execute upon successful authentication to the SSH server. Easiest to provide as a string (wrapped with \"\""")",default="")
parser.add_argument("--cmd", help="The command to execute upon successful authentication to the SSH server (optional). Easiest to provide as a string (wrapped with \"\""")",default="")
args=parser.parse_args()

try: u_file=args.users.strip();p_file=args.passes.strip();host=args.host.strip();cmd=args.cmd.strip();p=args.port
Expand Down

0 comments on commit b7cd731

Please sign in to comment.