ISSUE TYPE
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.
ISSUE TYPE
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.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.