Solved

Trace source of Guest Book Entry ?

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 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