Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux-bind 自定义端口无效 #193

Open
hosch3n opened this issue Jun 1, 2023 · 1 comment
Open

Linux-bind 自定义端口无效 #193

hosch3n opened this issue Jun 1, 2023 · 1 comment
Labels

Comments

@hosch3n
Copy link

hosch3n commented Jun 1, 2023

系统环境:
Linux fob 5.15.113-1-MANJARO #1 SMP PREEMPT Wed May 24 20:32:47 UTC 2023 x86_64 GNU/Linux
OpenJDK 64-Bit Server VM (build 17.0.7+7, mixed mode)

使用形如 genCrossC2.Linux 172.16.109.1 3306 .beacon_keys null Linux-bind x64 /tmp/tcp.elf 的命令生成的文件,实际bind的端口仍然是4444而不是3306。

执行生成的https beacon文件上线后,在beacon内执行connect ip,CS在console中会显示profile中配置的set tcp_port "3306",但实际上beacon仍是通过4444连接目标IP。

@gloxec
Copy link
Owner

gloxec commented Jun 15, 2023

现linux-bind在配置端口时,通过参数来设定./tcp.elf 8080。后续将更改为生成时进行配置,及修复其稳定性

@gloxec gloxec added the New label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants