removed some stuff
This commit is contained in:
parent
2f8514bc30
commit
808dd4960f
@ -4,3 +4,4 @@ set_time_limit = 0
|
|||||||
display_errors = 0
|
display_errors = 0
|
||||||
max_input_time = 50000
|
max_input_time = 50000
|
||||||
default_socket_timeout = 50000
|
default_socket_timeout = 50000
|
||||||
|
exif.encode_unicode = UTF-8
|
||||||
@ -8,6 +8,10 @@ May 2017 - v4.0.3
|
|||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
|
|
||||||
|
- beautify the code
|
||||||
|
- move fingerprints to database
|
||||||
|
- ditch as much bash code as possible
|
||||||
|
- add more CMS fingerprints
|
||||||
- clear error logs & garbage files
|
- clear error logs & garbage files
|
||||||
- add chown
|
- add chown
|
||||||
- add suspicious plugins - done for WP
|
- add suspicious plugins - done for WP
|
||||||
|
|||||||
32
sc.php
32
sc.php
@ -14,28 +14,7 @@ $error = "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried t
|
|||||||
<head>
|
<head>
|
||||||
<title>..:: Global Account Maintenance Tool ::.. <?php print_r($version); ?> released <?php print_r($released); ?> - by <?php print_r($author); ?> [ <?php print_r($mail); ?> ]</title>
|
<title>..:: Global Account Maintenance Tool ::.. <?php print_r($version); ?> released <?php print_r($released); ?> - by <?php print_r($author); ?> [ <?php print_r($mail); ?> ]</title>
|
||||||
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Poiret One|Play" media="screen">
|
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Poiret One|Play" media="screen">
|
||||||
<style type="text/css">
|
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||||
h3 {
|
|
||||||
font-family: 'Poiret One', Helvetica, Arial, serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
font-family: 'Play', Helvetica, Arial, serif;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
font-family: 'Play', Helvetica, Arial, serif;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
body{
|
|
||||||
padding:20px;
|
|
||||||
background-color: #D8D8D8;
|
|
||||||
}
|
|
||||||
.icon-warning-sign{
|
|
||||||
padding-right:10px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -217,8 +196,8 @@ Order Deny,Allow
|
|||||||
Deny from all
|
Deny from all
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
';
|
';
|
||||||
system("for i in `find ../ -type d -path '*/wp-content/uploads' -print;`; do echo -e '".$htdata."' >> \$i/.htaccess; done");
|
system("for i in `find ../ -type d -path '*/wp-content/uploads';`; do echo $i && echo -e '".$htdata."' >> \$i/.htaccess; done");
|
||||||
system("for i in `find ../ -type d -path '*/tmp' -print;`; do echo -e '".$htdata."' >> \$i/.htaccess; done");
|
system("for i in `find ../ -type d -path '*/tmp'`; do echo $i && echo -e '".$htdata."' >> \$i/.htaccess; done");
|
||||||
/* Joomla /images may cause a ton of false positive patches so we'll research this further */
|
/* Joomla /images may cause a ton of false positive patches so we'll research this further */
|
||||||
// system("for i in `find ./ -type d -path '*/images' -print;`; do echo -e '".$htdata."' >> \$i/.htaccess; done");
|
// system("for i in `find ./ -type d -path '*/images' -print;`; do echo -e '".$htdata."' >> \$i/.htaccess; done");
|
||||||
echo "all patched\n";
|
echo "all patched\n";
|
||||||
@ -252,11 +231,6 @@ function cleanPL(){
|
|||||||
system("./malware.pl");
|
system("./malware.pl");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Site Transfer Script */
|
|
||||||
function transfer(){
|
|
||||||
system("./transfer.pl");
|
|
||||||
|
|
||||||
}
|
|
||||||
/* EXIF scanner */
|
/* EXIF scanner */
|
||||||
function checkexif(){
|
function checkexif(){
|
||||||
ini_set('exif.encode_unicode', 'UTF-8');
|
ini_set('exif.encode_unicode', 'UTF-8');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user