new pattern
This commit is contained in:
@@ -174,6 +174,7 @@ my @regexen = (
|
|||||||
qr/<\!DOCTYPE.+?<title>404.+?<address>Apache\/2\.4.+?<\/html>/is,
|
qr/<\!DOCTYPE.+?<title>404.+?<address>Apache\/2\.4.+?<\/html>/is,
|
||||||
qr/<\?php\s+\$([A-z0-9]{1,20})\=\"([A-z0-9]{1})\"\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\)\;\s+\?>/is,
|
qr/<\?php\s+\$([A-z0-9]{1,20})\=\"([A-z0-9]{1})\"\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\.chr\(.+?\)\;\s+\?>/is,
|
||||||
qr/<\!DOCTYPE\s+html>\s+<html\s+lang\=\"en\-us\"><head><title>Hacked\s+by\s+AnoaGhost.+?<\/html>/is,
|
qr/<\!DOCTYPE\s+html>\s+<html\s+lang\=\"en\-us\"><head><title>Hacked\s+by\s+AnoaGhost.+?<\/html>/is,
|
||||||
|
qr/GIF89a\s+BlaCkB0x\s+<\?\$k\=\"ass\"\.\"ert\"\;\s+\$k\(\$\{\"\_PO\"\.\"ST\"\}\s+\[\'admin1234\@\#\'\]\)\;\?>/is,
|
||||||
|
|
||||||
);
|
);
|
||||||
my @base64_decodes = (
|
my @base64_decodes = (
|
||||||
@@ -223,6 +224,7 @@ foreach my $file (sort @files) {
|
|||||||
next if $file eq 'main-modules.php';
|
next if $file eq 'main-modules.php';
|
||||||
next if $file eq 'wp-super-cache.php';
|
next if $file eq 'wp-super-cache.php';
|
||||||
next if $file eq 'user-edit.php';
|
next if $file eq 'user-edit.php';
|
||||||
|
next if $file eq 'youtube.php';
|
||||||
print "Scanning $start_dir/$file... ";
|
print "Scanning $start_dir/$file... ";
|
||||||
|
|
||||||
unless (-r "$start_dir/$file") {
|
unless (-r "$start_dir/$file") {
|
||||||
|
|||||||
Reference in New Issue
Block a user