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

owl插件容器如何映射端口? #98

Open
3 tasks done
teawaterwu opened this issue Jul 23, 2022 · 1 comment
Open
3 tasks done

owl插件容器如何映射端口? #98

teawaterwu opened this issue Jul 23, 2022 · 1 comment

Comments

@teawaterwu
Copy link

New Issue Checklist (自检清单)

Issue Description (问题描述)

1、使用H1VE OWL插件加载web容器,OWL配置如下:
h1ve01
h1ve02
2、题目的docker-compose.yml内容如下:
h1ve05
3、挑战中可以启动题目,但这里出现的题目端口与实际不符合,以下是题目的链接
h1ve04
4、我在docker中查到的容器端口为49155
h1ve03
5、请问要如何修改,使得题目中的端口与实际端口符合?

Version & Environment (系统/环境版本)

  • Docker Version: 20.10.17
  • Docker-compose Version: 1.25.0
  • Os Version : Ubuntu 20.04.2 LTS
  • Browser Version: Google Chrome
@aaddmin1122345
Copy link

find ctf_challenges -name 'docker-compose.yml' -exec sed -i -e 's/- 80/- 9999:80/g' -e 's/- "80"/- 9999:80/g' {} ;
参考这个实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants