removed some stuff
This commit is contained in:
parent
2f8514bc30
commit
808dd4960f
@ -4,3 +4,4 @@ set_time_limit = 0
|
||||
display_errors = 0
|
||||
max_input_time = 50000
|
||||
default_socket_timeout = 50000
|
||||
exif.encode_unicode = UTF-8
|
||||
@ -8,6 +8,10 @@ May 2017 - v4.0.3
|
||||
|
||||
TODO:
|
||||
|
||||
- beautify the code
|
||||
- move fingerprints to database
|
||||
- ditch as much bash code as possible
|
||||
- add more CMS fingerprints
|
||||
- clear error logs & garbage files
|
||||
- add chown
|
||||
- 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>
|
||||
<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">
|
||||
<style type="text/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>
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -217,8 +196,8 @@ Order Deny,Allow
|
||||
Deny from all
|
||||
</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 '*/tmp' -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'`; 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 */
|
||||
// system("for i in `find ./ -type d -path '*/images' -print;`; do echo -e '".$htdata."' >> \$i/.htaccess; done");
|
||||
echo "all patched\n";
|
||||
@ -252,11 +231,6 @@ function cleanPL(){
|
||||
system("./malware.pl");
|
||||
}
|
||||
|
||||
/* Site Transfer Script */
|
||||
function transfer(){
|
||||
system("./transfer.pl");
|
||||
|
||||
}
|
||||
/* EXIF scanner */
|
||||
function checkexif(){
|
||||
ini_set('exif.encode_unicode', 'UTF-8');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user