|
25 | 25 | # Version: 1.0
|
26 | 26 | # Date: 2015-08-09
|
27 | 27 |
|
28 |
| -import subprocess, os, argparse, time, datetime, socket, base64, threading, Queue, hashlib, binascii, signal, sys |
| 28 | +import subprocess, os, argparse, time, datetime, socket, base64, threading, Queue, hashlib, binascii, signal, sys, getpass |
29 | 29 | from shlex import split
|
30 | 30 | from shutil import rmtree, copy
|
31 | 31 |
|
@@ -327,13 +327,14 @@ def main():
|
327 | 327 | required = parser.add_argument_group("Required")
|
328 | 328 | required.add_argument('-d', '--domain', required=True, help='Domain or Workstation')
|
329 | 329 | required.add_argument('-u', '--user', required=True, help='Domain username')
|
330 |
| - required.add_argument('-p', '--passwd', required=True, help='Domain user password') |
| 330 | + #required.add_argument('-p', '--passwd', required=True, help='Domain user password') |
331 | 331 | parser.add_argument('-f', '--file', help='File containing IPs to harvest creds from. One IP per line.')
|
332 | 332 | parser.add_argument('-r', '--rhost', help='Remote host IP to harvest creds from.')
|
333 | 333 | parser.add_argument('-es', '--enumshares', help='Examine share access on the remote IP(s)', action='store_true')
|
334 | 334 | parser.add_argument('-l', '--lhost', help='Local host IP to launch scans from.')
|
335 | 335 | parser.add_argument('-t', '--threads', help='Number of threads (default: 10)', default=10, type=int)
|
336 | 336 | args = parser.parse_args()
|
| 337 | + args.passwd = getpass.getpass() |
337 | 338 |
|
338 | 339 | print "\n " + "-" * 69 + "\n " + colors.white + " CredCrack v1.0 by Jonathan Broche (@g0jhonny)\n " + colors.normal + "-" * 69 + "\n "
|
339 | 340 |
|
|
0 commit comments