Solved

Trace source of Guest Book Entry ?

Posted on 1997-12-10
3
523 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

0
Comment
Question by:snicoll72
3 Comments
 
LVL 1

Expert Comment

by:twexperts
ID: 1831614
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.
0
 
LVL 1

Accepted Solution

by:
dagmar earned 100 total points
ID: 1831615
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.
0
 

Author Comment

by:snicoll72
ID: 1831616
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
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now