hackyeahdotcom asked:

I take a look at how to create a (very) simple honeypot. It will attempt to log the ip and hostname of connecting attackers. The code can be found at www.HackYeah.com

Advertisement
Tagged with →  
Share →

2 Responses to Hack Yeah – Simple PHP Honeypot

  1. covidiu says:

    NEVER, EVER trust X-Forwarded-For over REMOTE_ADDR. I can easily send you a forged X-Forwarded-For and your script will save that and you won’t have my real IP address.

    Also, if you’re going to close the file right away, you might as well use file_put_contents(‘honey_log.txt’, $output, FILE_APPEND). It tends to make the code more readable.

  2. MrDpsc says:

    thanks 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

* Copy This Password *

* Type Or Paste Password Here *

Looking for something?

Use the form below to search the site:


Still not finding what you're looking for? Drop us a note so we can take care of it!

Set your Twitter account name in your settings to use the TwitterBar Section.