added one dot

This commit is contained in:
Palma Solutions LTD
2017-05-14 11:36:03 +02:00
parent 083513b034
commit 3de29120db
2 changed files with 43 additions and 33 deletions

68
sc.php
View File

@@ -191,7 +191,7 @@ Order Deny,Allow
Deny from all
</FilesMatch>
';
foreach(glob("./{**/*,*}/wp-content/uploads/") as $dirname)
foreach(glob("../{**/*,*}/wp-content/uploads/") as $dirname)
{
$hta = fopen($dirname."/.htaccess", "w");
fwrite($hta, $htdata);
@@ -220,7 +220,9 @@ function cryptophp(){
/* Execute The Malware Scanner */
function scanme(){
require_once("./scan.php");
}
/* Execute The PHP Cleaner */
@@ -1090,6 +1092,7 @@ echo '<br><pre>';
function version() {
// externalized the function to version.php in order to keep this cleaner tha before
require_once("version.php");
@@ -1284,49 +1287,48 @@ function parse_dir( $dir ) {
}
if (isset($_GET['run'])) $linkchoice=$_GET['run'];
else $linkchoice='';
else $linkchoice='';
switch($linkchoice){
switch($linkchoice){
case 'removezero' :
removezero();
break;
case 'removezero' :
removezero();
break;
case 'findchmod' :
findchmod();
break;
case 'findchmod' :
findchmod();
break;
case 'optim' :
optim();
break;
case 'optim' :
optim();
break;
case 'addsec' :
addsec();
break;
case 'addsec' :
addsec();
break;
case 'getcleaner' :
getcleaner();
break;
case 'getcleaner' :
getcleaner();
break;
case 'tmpcheck' :
tmpcheck();
break;
case 'tmpcheck' :
tmpcheck();
break;
case 'prefix' :
prefix();
break;
case 'prefix' :
prefix();
break;
case 'symcheck' :
symcheck();
break;
case 'symcheck' :
symcheck();
break;
case 'infection' :
infection();
break;
case 'infection' :
infection();
break;
case 'less' :
less();
case 'less' :
less();
break;
case 'pwds' :