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

go-exploitdb server port bug #25

Closed
gousse opened this issue Apr 11, 2019 · 0 comments · Fixed by #30
Closed

go-exploitdb server port bug #25

gousse opened this issue Apr 11, 2019 · 0 comments · Fixed by #30

Comments

@gousse
Copy link

gousse commented Apr 11, 2019

"go-exploitdb server" do not use default port but a random one.
"go-exploitdb server -port" option do not apply specified port.

$ kubectl exec -it go-exploitdb-7fd57d6fc5-bw9bq go-exploitdb server
INFO[04-11|14:35:40] Opening Database.                        db=sqlite3
INFO[04-11|14:35:40] Migrating DB.                            db=sqlite3
INFO[04-11|14:35:40] Starting HTTP Server... 
INFO[04-11|14:35:40] Listening...                             URL=:

   ____    __
  / __/___/ /  ___
 / _// __/ _ \/ _ \
/___/\__/_//_/\___/ v3.3.10-dev
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
                                    O\
⇨ http server started on [::]:37709

$ kubectl exec -it go-exploitdb-7fd57d6fc5-bw9bq go-exploitdb server
INFO[04-11|14:35:42] Opening Database.                        db=sqlite3
INFO[04-11|14:35:42] Migrating DB.                            db=sqlite3
INFO[04-11|14:35:42] Starting HTTP Server... 
INFO[04-11|14:35:42] Listening...                             URL=:

   ____    __
  / __/___/ /  ___
 / _// __/ _ \/ _ \
/___/\__/_//_/\___/ v3.3.10-dev
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
                                    O\
⇨ http server started on [::]:45149

$ kubectl exec -it go-exploitdb-7fd57d6fc5-bw9bq -- go-exploitdb server --bind 0.0.0.0 --port 1326
INFO[04-11|14:35:30] Opening Database.                        db=sqlite3
INFO[04-11|14:35:30] Migrating DB.                            db=sqlite3
INFO[04-11|14:35:30] Starting HTTP Server... 
INFO[04-11|14:35:30] Listening...                             URL=:

   ____    __
  / __/___/ /  ___
 / _// __/ _ \/ _ \
/___/\__/_//_/\___/ v3.3.10-dev
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
                                    O\
⇨ http server started on [::]:35895

anyway great job ! Nice appli
Best regards

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

Successfully merging a pull request may close this issue.

1 participant