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

Environment Variables Not Being Applied in interactsh-web #172

Open
dam2452 opened this issue Nov 25, 2024 · 1 comment
Open

Environment Variables Not Being Applied in interactsh-web #172

dam2452 opened this issue Nov 25, 2024 · 1 comment

Comments

@dam2452
Copy link

dam2452 commented Nov 25, 2024

Issue: Environment Variables Not Auto-Applied in interactsh-web

Description

The environment variables provided to the interactsh-web container (e.g., REACT_APP_HOST, REACT_APP_TOKEN) are not automatically applied to the web interface. Despite being set via docker run as -e options, these variables are not used by the application, and the user is required to manually input them in the "Custom Host" section of the GUI.

Steps to Reproduce

  1. Run the interactsh-web Docker container with the following command:

    docker run -it -p 3000:3000 \
      -e REACT_APP_HOST="example.com" \
      -e REACT_APP_TOKEN="123456789abcdef123456789abcdef123456789abcdef123456789abcdef" \
      projectdiscovery/interactsh-web
  2. Open the web interface in your browser at http://localhost:3000.

  3. Attempt to use the application without entering any configuration manually.

Expected Behavior

The application should automatically use the provided environment variables:

  • REACT_APP_HOST="example.com"
  • REACT_APP_TOKEN="123456789abcdef123456789abcdef123456789abcdef123456789abcdef"

These values should be pre-filled or directly applied without the need for manual input in the "Custom Host" field in the GUI.

Actual Behavior

The application does not apply the provided environment variables. Instead:

  • The user is required to manually input the REACT_APP_HOST and REACT_APP_TOKEN values in the "Custom Host" section for the application to function correctly.

Environment

  • Docker Image: projectdiscovery/interactsh-web
  • Version: latest
  • Host System: Windows 11 (Docker Desktop)
  • Browser: Chrome
@dam2452
Copy link
Author

dam2452 commented Nov 25, 2024

Image

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

1 participant