We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Trace source of Guest Book Entry ?

snicoll72
snicoll72 asked
on
Medium Priority
627 Views
Last Modified: 2013-12-25
A friend of mine is having problems with her web page.

She has a standard guestbook and is getting nasty messages left in it.
The person whose name is left on these messages is an aquaintance of hers,is acting shocked and claims that it must be somebody else using his name.
As you know in a guest book you can set your name and Email address as whatever you like.

My question is....is there any way she could trace the actual originator of these messages ?
Either through her ISP or the Guest book host ?

Thank You

Comment
Watch Question

If she has access to her guest book cgi script/program then she can certainly trace it to the extent of finding the host that posted the messages. Let me/us know if she can get a hold of the script and we can set up something which will email her the info when someone posts a new message.
Commented:
I'm assuming you have access to the Guestbook software, but provided that the Httpd is something like Apache or a reasonably recent NCSA, you can probably very quickly modify the script to store the contents of the $ENV{REMOTE_ADDR} variable as an HTML comment, along with their entry so it's not immeditately obvious that you've changed anything, and wait for the person to strike again if the method below fails...

If you're trying to find out who made a comment at some point in the past, your only method is to search the access_log file and try and correlate the times in the logs with the time that the guestbook entry was posted.  This shouldn't take too long, since most guestbooks that do timestamping seem to record the time down to the exact second.  The access_log will show exactly what IP address the query to the guestbook was made from.  Depending on what method the Guestbook software uses to get the input to the web server, you might be so lucky as to have the comments themselves in the access_log file, but it's a long shot.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
twexperts said:
>Let me/us know if she can get a hold of the script and we can set up something which will email her the info when someone posts a new message.

I have asked her and she would like to do this....how is the best way ? over here or direct by Email ?
my address is snicoll@iname.com
Thank you
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.