Message Board

Installing Honey Pots

Older Posts ]   [ Newer Posts ]
 White page instead of text
Author: M.Janssen   (22 Nov 04 6:33pm)
I uploaded the honey pot script to
http://firefoxfah.sourceforge.net/cgi-bin/hypocrite.cgi
but when I go there I simply get a white page!

Could anyone help me out?
 
 Re: White page instead of text
Author: C.Kruslicky   (22 Nov 04 8:00pm)
In my case that happened when the socket couldn't be established back to the central site. I was able to figure out the problem based on the Apache error_log and trying some things in isolation. Do you have access to the logs?
 
 Re: White page instead of text
Author: M.Janssen   (23 Nov 04 5:28am)
No I haven't, unfortunately.
 
 Re: White page instead of text
Author: M.Janssen   (23 Nov 04 5:44am)
The PHP version is on
http://firefoxfah.sourceforge.net/impactedgrouse.php
which doesn't work either.
 
 Re: White page instead of text
Author: C.Kruslicky   (23 Nov 04 9:02pm)
(No experience with PHP here, so this will refer to the perl version)

I guess you could try running it from the command line, not sure how much that'll help... you can get a little further by making sure it can at least find itself, try something like this:

export SCRIPT_FILENAME=/full/path/to/hypocrite.cgi
perl hypocrite.cgi

and see if you get any errors that indicate a missing module or the like. You could also try setting the other ENV variables it expects to get from Apache, but I hadn't had luck in my quick attempt to make it work on the command line here.

As another point of reference, only because I had the same exact symptoms as you (valid HTML header/footer with nothing in between the two). I run Apache in a chroot environment and didn't have a valid /etc/resolv.conf for it to find within that chroot. The error it produced was that within Socket.pm it was essentially passed 0 as an IP address (for the remote/central server).
 
 Re: White page instead of text
Author: C.Kruslicky   (23 Nov 04 9:06pm)
I just noticed that the script doesn't have a 'use warnings' so maybe it'd help to do:
perl -cw hypocrite.cgi
and at least rule out the missing module situation.
 
 Re: White page instead of text
Author: M.Janssen   (24 Nov 04 8:16am)
The output I get:

[praseodymium@sc8-pr-shell1 praseodymium]$ perl -cw /home/groups/f/fi/firefoxfah/cgi-bin/hypocrite.cgi
/home/groups/f/fi/firefoxfah/cgi-bin/hypocrite.cgi syntax OK
[praseodymium@sc8-pr-shell1 praseodymium]$ perl /home/groups/f/fi/firefoxfah/cgi-bin/hypocrite.cgi
Content-Type: text/html


<br>Unable to contact the server...<br>
[praseodymium@sc8-pr-shell1 praseodymium]$
 
 Re: White page instead of text
Author: M.Prince   (24 Nov 04 8:25am)
Looks like SourceForge.net may not be allowing out-bound connections from its servers to ours. Unfortunately, if that's the case, the honey pot script won't be able to run from there.

In terms of why you were just getting a blank page, it seems that the minimal HTML generated by the error is ignored by browsers. We were already talking about a more robust "Unable to Contact the Server" error (with more explanation, links, etc.) for the next version of the HPOT scripts. With the feedback from you all, we'll definitely include that.

Thanks for your input! Sorry for all the trouble. Post back here if you're able to get SourceForge.net to allow outbound connections. Would be a great addition to the Project!
 
 Re: White page instead of text
Author: M.Janssen   (25 Nov 04 9:42am)
I asked them if they could enable outbound connections, but they don't want it :/.

You might be able to open a support ticket from the project and ask them to whitelist connections to your servers, though.

Would there be a way to host the script on another site, but link to it from another server? Or wouldn't spambots follow external links?
 
 Re: White page instead of text
Author: M.Prince   (25 Nov 04 12:04pm)
I think you'd be fine hosting the script on another site and linking to it from your Source Forge page. Spambots have to follow external links in order to traverse the Internet, so I'd imagine you'll get just as many hits. The only downside is that it will be potentially a bit confusing when you look at the stats, but that's not a very big deal.

Don't hesitate to pass the Project along to the Source Forge folks. If there's anything we need to do to enable honey pots to work on their sites we're happy to do what we can to work with them.
 
 Re: White page instead of text
Author: M.Janssen   (26 Nov 04 8:43am)
Maybe introduce some friendly naming for sites? So that I can name the site 'firefoxfah.sf.net' and have it hosted on 'givemehelp.co.uk', for example.
 
 Re: White page instead of text
Author: S.Henningsson   (5 Feb 05 2:42pm)
Since I had problems getting the php version to work, I tried the perl version and got that same blank page.

Now, my problem isn't finding the server, as when I tried running it from the commandline I got the following error: No such file or directory at helloworld.cgi line 319.

Any ideas as to what could be causing this? I'm running this on OmniSecure HTTPD on win2k and although I've gotten php to work before and made a few simple scripts myself I've never actually done anything with perl..
 
 Re: White page instead of text
Author: S.Henningsson   (5 Feb 05 2:51pm)
Solved my problm with the perl version at least.. Server was set to reserve path.. Once I unchecked that I got the long awaited uestion from the firewal if it should let perl.exe pass and once I let it, it works :)



do not follow this link

Privacy Policy | Terms of Use | About Project Honey Pot | FAQ | Cloudflare Site Protection | Contact Us

Copyright © 2004–25, Unspam Technologies, Inc. All rights reserved.

contact | wiki | email