Skip to content

Commit 93491c1

Browse files
committed
Update SMB protocol arguments. SMBv1 disabled by default
1 parent 944cd2e commit 93491c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb/proto_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def proto_args(parser, parents):
1616
smb_parser.add_argument("--port", type=int, default=445, help="SMB port")
1717
smb_parser.add_argument("--share", metavar="SHARE", default="C$", help="specify a share")
1818
smb_parser.add_argument("--smb-server-port", default="445", help="specify a server port for SMB", type=int)
19-
smb_parser.add_argument("--no-smbv1", action="store_true", help="Force to disable SMBv1 in connection")
19+
smb_parser.add_argument("--smbv1", action="store_true", default=False, help="[DEFAULT OFF] Enable SMBv1 negotiation (only if explicitly needed)")
2020
smb_parser.add_argument("--gen-relay-list", metavar="OUTPUT_FILE", help="outputs all hosts that don't require SMB signing to the specified file")
2121
smb_parser.add_argument("--smb-timeout", help="SMB connection timeout", type=int, default=2)
2222
smb_parser.add_argument("--laps", dest="laps", metavar="LAPS", type=str, help="LAPS authentification", nargs="?", const="administrator")

0 commit comments

Comments
 (0)