-
-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Labels
featureFeature beyond netcat's functionalityFeature beyond netcat's functionality
Description
ISSUE TYPE
- Feature request
SUMMARY
Thanks for sharing your awsome tool. Self injection and port forwarding is so cool!
However, it seems only IPv4 address is supported for those features.
:
is already used as separator for those options,
so ssh port fowarding like IPv6 notation (surrounded by []
) may be better.
$ pwncat -l 4444 --self-inject /bin/bash:[xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:4445
$ pwncat -R [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:4444 10.0.0.1 3306
$ pwncat -L [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:5000 10.0.0.1 3306
I tried to implement in this way.
Please see this change. (Seems working, and passed make code
/make lint
)
If this is OK, I will open a new PR for it. How do you think?
Goal
We can specify IPv6 address for --self-inject
/-R
/-L
.
Metadata
Metadata
Assignees
Labels
featureFeature beyond netcat's functionalityFeature beyond netcat's functionality