1- This code will start searching from / if no shell argument passed. You may want to adjust this default directory to the location of your apache directory instead for speed purposes.

#!/usr/bin/env bash
# Identifies instances of the c99Shell PHP trojan within PHP files
FIND_LOC=${1:-/} # Root the find by the a directory provided as argument or default to root
echo "Starting search from $FIND_LOC..."
find $FIND_LOC -type f -iname '*.php' -exec grep -qi 'C99Shell' '{}' \; -print
echo "Complete"
: # clean exit

2-
find /var/www/ -name "*".php -type f -print0 | xargs -0 grep r57 | uniq -c | sort -u | cut -d":" -f1 | awk '{print "rm -rf " $2}' | uniq

sorun:

core2duo islemcili serverda bol ram ve disk var
ICH7 chipseti yuzunden linux disk performansi yerlerde surunuyor
diskler sata olmasina ragmen
hda1, hdc1 vs vs diye gozuyor centos kurulumundan sonra.

Sorun acayip
cozum basit

nano /etc/grub.conf
kernel /boot/vmlinuz-2.6.18-194.11.4.el5 ro root=LABEL=/1 hda=noprobe hda=none hdc=noprobe hdc=none

Forza no probe 🙂

NOT: fstab icine bak direk alakali birsey olmasin hda li falan, Disk Labelleri guzeldir.

sonuc:

hdparm -Tt /dev/sda1

/dev/sda1:
Timing cached reads: 10864 MB in 2.00 seconds = 5437.80 MB/sec
Timing buffered disk reads: 220 MB in 3.00 seconds = 73.32 MB/sec

gayet iyi dandik makina icin 🙂

My Connection to files.directadmin.com is slow Last Modified: Apr 21, 2010, 3:02 pm
If your installs of DA are downloading files slowly from the files.directadmin.com server, you can use one of our mirrors instead.

The current list of mirrored files server is as follows:

files.directadmin.com – USA main server
files2.directadmin.com – USA
files3.directadmin.com – USA
files5.directadmin.com – Turkey
files6.directadmin.com – Netherland
To use one of these backups, take the IP of that server, and add it into your /etc/hosts file.

For example, to use files6, you’d run

[root@server ~]# dig files6.directadmin.com

; <<>> DiG 9.2.4 <<>> files6.directadmin.com +nocomments
;; global options: printcmd
;files6.directadmin.com. IN A
files6.directadmin.com. 14062 IN A 81.26.221.44
directadmin.com. 14294 IN NS ns1.jbmc-software.com.
directadmin.com. 14294 IN NS ns2.jbmc-software.com.
taking note that it resolves to 81.26.221.44.

Then add the following into your /etc/hosts file:

files.directadmin.com 81.26.221.44
which will override the dns lookup, and make files.directadmin.com resolve to the files6 mirror.