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

How to use this? #175

Closed
ribtoks opened this issue Aug 18, 2024 · 4 comments
Closed

How to use this? #175

ribtoks opened this issue Aug 18, 2024 · 4 comments

Comments

@ribtoks
Copy link

ribtoks commented Aug 18, 2024

Hi

Thank you for this awesome project!

It really looks cool, but what are the actual use-cases? Is it a protection against "AI bots"? If yes, how exactly would you recommend to use it?

Thank you

@ginger51011
Copy link
Collaborator

Hi!

The use case is usually to annoy web scrapers looking for security issues or leaked secrets by scanning some paths on your website.

For example, /wp-login.php is used to checked if the site is using wordpress, /.env is used for leaked environment variables (perhaps a database password or API token?) etc.

Usually paths that should not be scanned is published in /robots.txt. The point of HellPot and friends is to serve enough data to crash web scrapers not respecting that file.

@ribtoks
Copy link
Author

ribtoks commented Sep 11, 2024

@ginger51011 Thank you for the explanation. I understand that point, I meant more "how to use it with existing application", because HellPot seems to be quite self-standing. Do you intend to have a bunch of route redirects on "nginx level" (or other proxy) to the HellPot's process, running alongside? Or is there a better intended way to make use of it?

@ginger51011
Copy link
Collaborator

You can use it without a reverse proxy in front of it, but then you likely just have a whole hellhole website. Funny, but perhaps not the common use case. You kind of need a real website as bait.

There are some configuration options in the README for nginx/apache I think, so yes you basically add some paths like /.env, /.git to redirect to HellPot, the rest just serving your website.

@ribtoks
Copy link
Author

ribtoks commented Sep 11, 2024

All right, thank you!

@ribtoks ribtoks closed this as completed Sep 11, 2024
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