Home page logo
/

pen-test logo Penetration Testing mailing list archives

RE: Clearing IIS logs
From: "Jeremiah Jacks" <jer () servantsoftware net>
Date: Tue, 2 Oct 2001 07:03:49 -0700



-----Original Message-----
From: Jeremiah Jacks [mailto:jer () servantsoftware net]
Sent: Tuesday, October 02, 2001 7:03 AM
To: Travis Kiger
Subject: RE: Clearing IIS logs


AT is good, but you can also use a batch file and run the following
commands..

iisreset /STOP

del <path_to_log_file>.log

iisreset /START

del <batch_file_name>.bat



-----Original Message-----
From: Travis Kiger [mailto:Travis.Kiger () dig com]
Sent: Monday, October 01, 2001 7:24 PM
To: Jason binger; pen-test () securityfocus com
Subject: RE: Clearing IIS logs


IIS keeps the log file open, so I don't know of a way to do it without
stopping IIS. The easiest way to acccomplish this is to create an AT job
that stops IIS, deletes the logs and then restarts IIS. The account that the
AT service runs as probably has permissions to do this. To cause even more
confusion for the admin, copy an old log and give it the same name as
todays' log. Some log types don't show the date in the individual entries,
but the admin may not notice either way.

-Travis

-----Original Message-----
From: Jason binger [mailto:cisspstudy () yahoo com]
Sent: Sunday, September 30, 2001 6:21 PM
To: pen-test () securityfocus com
Subject: Clearing IIS logs


Are there any tools or techniques out there that allow
you to clear the active IIS log without first stopping
the web service?

Jason


__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

----------------------------------------------------------------------------
This list is provided by the SecurityFocus Security Intelligence Alert (SIA)
Service. For more information on SecurityFocus' SIA service which
automatically alerts you to the latest security vulnerabilities please see:
https://alerts.securityfocus.com/

----------------------------------------------------------------------------
This list is provided by the SecurityFocus Security Intelligence Alert (SIA)
Service. For more information on SecurityFocus' SIA service which
automatically alerts you to the latest security vulnerabilities please see:
https://alerts.securityfocus.com/




----------------------------------------------------------------------------
This list is provided by the SecurityFocus Security Intelligence Alert (SIA)
Service. For more information on SecurityFocus' SIA service which
automatically alerts you to the latest security vulnerabilities please see:
https://alerts.securityfocus.com/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]