Skip to content

login issue with ngrok #2062

@truesamurai

Description

@truesamurai

Submit Issue

Verify first that your issue/request has not been posted previously:

Ensure you're using the latest version of BeEF.

Please do your best to provide as much information as possible. It will help substantially if you can enable and provide debugging logs with your issue. Instructions for enabling debugging logs are below:

  1. In the config.yaml file of your BeEF root folder set debug and client_debug (lines 11 & 13 respectively) to true
    • If using a standard installation of beef-xss the root folder will typicaly be /usr/share/beef-xss
  2. Reproduce your error
  3. Retrieve your client-side logs from your browser's developer console (Ctrl + Shift + I)
  4. Retrieve your server-side logs from ~/.beef/beef.log
  5. If using beef-xss: Retrieve your service logs using journalctl -u beef-xss

Thank you, this will greatly aid us in identifying the root cause of your issue :)

If we request additional information and we don't hear back from you within a week, we will be closing the ticket off.
Feel free to open it back up if you continue to have issues.

Summary

Q: Please provide a brief summary of the issue that you experienced.
A:

When I login in my local network 127.0.0.1/ui/panel then I can login with my details as specified in config.yaml. No issues on local network.

When I use ngrok and login in xxxxxx.ngrok.io:80/ui/panel then I get an error about wrong credentials. But they are correct for sure.

Environment

Please identify the environment in which your issue occurred.

  1. BeEF Version:

  2. 0.5.0.0-alpha-pre

  3. Ruby Version:
    2.7.2p137

  4. Browser Details (e.g. Chrome v81.0):

  5. Firefox

  6. Operating System (e.g. OSX Catalina):
    Kali Linux

Configuration

Q: Have you made any changes to your BeEF configuration?
A:
changed login credentials
+
public: "xxxxxxxx.ngrok.io" # public hostname/IP address
public_port: "80" # public port (experimental)

Q: Have you enabled or disabled any BeEF extensions?
A:
no

Expected vs. Actual Behaviour

Expected Behaviour:

login without issue

Actual Behaviour:

wrong login credentials error

Steps to Reproduce

Please provide steps to reproduce this issue.

  1. activate ngrok
  2. make necessary changes in config.yaml
  3. go to xxxx.ngrok.ui.panel and try to login

Additional Information

Please provide any additional information which may be useful in resolving this issue, such as debugging output and relevant screen shots. Debug output can be retrieved by following the instructions towards the top of the issue template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionStaleUsed to mark issues with inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions