Statistik |
Beiträge: 144.530 (Täglich: 19,19 )
Themen: 16.700
Mitglieder: 13.209
Neuestes Mitglied: zitronentee.
Ausl. d. letzten Minute: 402%
Ausl. d. letzten 5 Minuten: 387%
Ausl. d. letzten 15 Minuten: 367%
Aktulle Uhrzeit: 14:10
Freier Webspace: 4.04 TB
PHP-Version: 7.4.33
|
|
|
|
|
Frage/Problem CT Security System? |
Shorty1968
Haudegen
Dabei seit: 10.10.2017
Beiträge: 605
0 Filebase-Einträge
wBB-Version: wBB2.3 PHP-Version: 5.6,7.4 MySQL-Version: Maria DB Wo bist du gehostet?: Eigener vServer by Prepaid Hoster
Bewertung:
Level: 38 [?]
Erfahrungspunkte: 1.428.430
Nächster Level: 1.460.206
|
|
Frage/Problem CT Security System? |
|
Hallo ich bekomme bei dem Security Hack Folgende Fehler und hoffe das ihr mir helfen könnt sie weg zu bekommen?
code: |
1:
2:
3:
|
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 74
|
|
Zeile 73-80:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
if ($ct_mysql_option == 1 && $filename != "memberslist.php") {
foreach ($mysqlliste as $m) {
if (@strpos ($querystring, $m) !== false) {
$block = true;
$infoblock = "MySQL";
}
}
}
|
|
und
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
|
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 34
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 73
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 89
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 89
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 89
purzelbaum
|
|
Zeile 33-37:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
|
if ($report_loggen == 1) {
if ($filename == "index.php") {
if ($wbbuserdata['userid'] == 0 && $querystring != "action=error404" && $querystring != "page_shout=chat" && $querystring != "sortby=lastactivity&order=DESC" && $querystring != "page_shout=chat&setting=&comment=" && $cuseragent != "ichiro/2.0 (http://help.goo.ne.jp/door/crawler.html)"
&& $cuseragent != "msnbot/1.0 (+http://search.msn.com/msnbot.htm)" && $cuseragent !="msnbot/0.9 (+http://search.msn.com/msnbot.htm)" && $cuseragent != "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"
&& $cuseragent != "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" && $cuseragent != "Francis/2.0 (francis@neomo.de http://www.neomo.de/)"
[/code)
Zeile 73-80:
[code]
if ($ct_mysql_option == 1 && $filename != "memberslist.php") {
foreach ($mysqlliste as $m) {
if (@strpos ($querystring, $m) !== false) {
$block = true;
$infoblock = "MySQL";
}
}
} |
|
Zeile 89-105:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
|
if ($spyware_option == 1 && $filename == "index.php" || $filename == "jgs_portal.php" || $filename == "hmportal.php") {
foreach ($spywareliste as $s) {
if (strpos ($cuseragent, $s) !== false) {
$spyblock = true;
$varnum = 0;
$counternamespy = "./ct_spy.txt";
$count_valuespy = @file_get_contents($counternamespy);
$count_valuespy++;
usleep(100);
$fp = fopen ("./ct_spy.txt", "a");
ftruncate($fp, '0');
$counterstring = $count_valuespy;
fwrite ($fp, $counterstring);
fclose ($fp);
}
}
}
|
|
|
|
17.08.2019 13:50 |
|
|
Shorty1968
Haudegen
Dabei seit: 10.10.2017
Beiträge: 605
0 Filebase-Einträge
wBB-Version: wBB2.3 PHP-Version: 5.6,7.4 MySQL-Version: Maria DB Wo bist du gehostet?: Eigener vServer by Prepaid Hoster
Bewertung:
Level: 38 [?]
Erfahrungspunkte: 1.428.430
Nächster Level: 1.460.206
Themenstarter
|
|
Vielen dank aber auch wenn ich die Datei ct_blocker.php mit deinem Inhalt austausche bleibt der Fehler?
|
|
17.08.2019 17:00 |
|
|
|
Du sollst die nicht austauschen Sonden die Abschnitte lesen und abändern
__________________ Cu,
Slugger
|
Zitat: Egal wie du es machst, du machst es falsch! Also mache es einfach. |
|
|
|
|
17.08.2019 17:35 |
|
|
Shorty1968
Haudegen
Dabei seit: 10.10.2017
Beiträge: 605
0 Filebase-Einträge
wBB-Version: wBB2.3 PHP-Version: 5.6,7.4 MySQL-Version: Maria DB Wo bist du gehostet?: Eigener vServer by Prepaid Hoster
Bewertung:
Level: 38 [?]
Erfahrungspunkte: 1.428.430
Nächster Level: 1.460.206
Themenstarter
|
|
Ah sorry habe ich dann falsch verstanden nun hat es für die eine Meldung geklappt,aber für diese die noch besteht konnte ich leider nichts finden.
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
|
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 35
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 74
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 91
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 91
Notice: Undefined variable: filename in /var/www/vhosts/have-fun-community.de/httpdocs/ct_blocker.php on line 91
purzelbaum
unsere besten emails
|
|
Zeile 91-107:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
|
if ($spyware_option == 1 && $filename == "index.php" || $filename == "jgs_portal.php" || $filename == "hmportal.php") {
foreach ($spywareliste as $s) {
if (strpos ($cuseragent, $s) !== false) {
$spyblock = true;
$varnum = 0;
$counternamespy = "./ct_spy.txt";
$count_valuespy = @file_get_contents($counternamespy);
$count_valuespy++;
usleep(100);
$fp = fopen ("./ct_spy.txt", "a");
ftruncate($fp, '0');
$counterstring = $count_valuespy;
fwrite ($fp, $counterstring);
fclose ($fp);
}
}
}
|
|
|
|
17.08.2019 17:55 |
|
|
Shorty1968
Haudegen
Dabei seit: 10.10.2017
Beiträge: 605
0 Filebase-Einträge
wBB-Version: wBB2.3 PHP-Version: 5.6,7.4 MySQL-Version: Maria DB Wo bist du gehostet?: Eigener vServer by Prepaid Hoster
Bewertung:
Level: 38 [?]
Erfahrungspunkte: 1.428.430
Nächster Level: 1.460.206
Themenstarter
|
|
Hallo vielen dank Funktioniert wie es soll.
|
|
17.08.2019 21:55 |
|
|
|
|
|
|