Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nc64.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# 2. SSL signing and handshake for SSH, HTTPS traffic spoofing
# 3. Custom SSL certificate provision
# 4. Logging instead of printing verbose messages on the screen
# 5. Multiple IPv6 destination addresses as list for random selection
__version__ = "0.72.1/Devon"

import socket
Expand Down Expand Up @@ -57,7 +56,7 @@ def send64(data, mode):
if version == 4:
host = args.host4
if version == 6:
host = args.host6
host = random.choice(args.host6)

if not args.udp and not args.tcp:
if args.verbose >= 2:
Expand Down Expand Up @@ -350,8 +349,9 @@ def wait():

parser.add_argument(
'-h6', '--host6',
nargs='+',
type=str,
default="::1",
default=["::1"],
help="Host IPv6 address. Default: ::1")

parser.add_argument(
Expand Down