site gives me errors

Everything technical and nerdy stuff here plz !

site gives me errors

Postby zietsh » 05.29.13

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4741: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/hooks/index.php:253)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4743: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/hooks/index.php:253)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4744: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/hooks/index.php:253)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4745: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/hooks/index.php:253)


Well this is what I get. I am a total php noob so I have no clue what to do with this, though my low technical skills assume I got to blame the server(?).
Forum is zoomed in for me an, well surprise the header is agfworgaerarjifagbqa.


EDIT:

Now I also got this:

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/dswp.de/htdocs/old/includes/hooks/index.php:253) in /var/www/virtual/dswp.de/htdocs/old/includes/functions.php on line 4741

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/dswp.de/htdocs/old/includes/hooks/index.php:253) in /var/www/virtual/dswp.de/htdocs/old/includes/functions.php on line 4743

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/dswp.de/htdocs/old/includes/hooks/index.php:253) in /var/www/virtual/dswp.de/htdocs/old/includes/functions.php on line 4744

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/dswp.de/htdocs/old/includes/hooks/index.php:253) in /var/www/virtual/dswp.de/htdocs/old/includes/functions.php on line 4745


.... my tummy tells me here that this is my fault somehow...
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----tdm:  
nick: [dswp]zietsh
skill: 991.948
kills: 11203
deaths: 8618
ratio: 1.29
-----bomb:  
nick: [dswp]zietsh
skill: 1056.62
kills: 18077
deaths: 14755
ratio: 1.22

Re: site gives me errors

Postby wurst » 05.30.13

sry, an ftp account was hacked/spied, someone changed huge amount of files.

these lines helped me alot:

Code: Select all
find ./ -type f -name *.htm* | xargs sed -i 's/<!--da6a49-->.*<!--\/da6a49-->//'
find ./ -type f -name *.js | xargs sed -i '/*da6a49*/,/da6a49*/d'
find ./ -type f -name *.php | xargs sed -i '/#da6a49#/,/da6a49#/d'


the added code looked like this:
maicious_js.txt
(5.02 KiB) Downloaded 1217 times


found 1 notebook with a filezilla ftp client which contained all the hacked sites ftp accounts.
reinstall tomorrow (:

Ah. I have 3 IPs @ Wed May 29 13:31:21 2013 CEST

194.24.242.15
195.93.201.113
92.243.20.41
Image
User avatar
wurst
Godlike
 
Posts: 4648
Joined: 07.15.08
Location: Behind U
-----tdm:  
nick: [dswp]GewitterOma
skill: 1122.83
kills: 25960
deaths: 19847
ratio: 1.30
-----bomb:  
nick: [dswp]GewitterOma
skill: 812.172
kills: 3885
deaths: 3541
ratio: 1.09


Who is online

Users browsing this forum: No registered users and 2 guests

Misc

cron