added one dot
This commit is contained in:
@@ -585,6 +585,14 @@ foreach my $file (sort @files) {
|
||||
next if $file eq 'custom-facebook-feed-admin.php';
|
||||
next if $file eq 'membershipadmin.php';
|
||||
next if $file eq 'wppa-settings-autosave.php';
|
||||
next if $file eq '*.txt';
|
||||
next if $file eq '*.rar';
|
||||
next if $file eq '*.zip';
|
||||
next if $file eq '*.tar';
|
||||
next if $file eq '*.gz';
|
||||
next if $file eq '*.sql';
|
||||
|
||||
|
||||
|
||||
print "Scanning $start_dir/$file... ";
|
||||
|
||||
|
||||
6
sc.php
6
sc.php
@@ -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");
|
||||
|
||||
@@ -1312,7 +1315,6 @@ case 'tmpcheck' :
|
||||
tmpcheck();
|
||||
break;
|
||||
|
||||
|
||||
case 'prefix' :
|
||||
prefix();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user