Jump to content

[SOLVED] Strange code...


kona72

Recommended Posts

Hi All,

 

I just 'inherited' a site and there is some strange code generating a bunch of even stranger links. This is the code in question...

 

<? include('/mnt/Target01/339371/www.alluring-gifts.com/web/content/images/gift/giftcert-x30.png'); ?>
<? include('/tmp/session_8a4ffd99.sess'); ?>

 

This is the live site right now.

 

www.microagesask.com

 

If you look at the source on the index.php page you will see the issue...

 

I know that I can simply remove the two includes but i am trying to get an explanation of what they are doing?

 

Can anyone help?? I would really appreciate it!!!

Link to comment
https://forums.phpfreaks.com/topic/132498-solved-strange-code/
Share on other sites

yes i do have the error reports..

 

Warning: include() [function.include]: Unable to access /mnt/Target01/339371/www.alluring-gifts.com/web/content/images/gift/giftcert-x30.png in /home/.sites/12/site205/web/microagetest/index.php on line 1

Warning: include(/mnt/Target01/339371/www.alluring-gifts.com/web/content/images/gift/giftcert-x30.png) [function.include]: failed to open stream: No such file or directory in /home/.sites/12/site205/web/microagetest/index.php on line 1

Warning: include() [function.include]: Unable to access /mnt/Target01/339371/www.alluring-gifts.com/web/content/images/gift/giftcert-x30.png in /home/.sites/12/site205/web/microagetest/index.php on line 1

Warning: include(/mnt/Target01/339371/www.alluring-gifts.com/web/content/images/gift/giftcert-x30.png) [function.include]: failed to open stream: No such file or directory in /home/.sites/12/site205/web/microagetest/index.php on line 1

Warning: include() [function.include]: Failed opening '/mnt/Target01/339371/www.alluring-gifts.com/web/content/images/gift/giftcert-x30.png' for inclusion (include_path='.:/home/php/lib/pear') in /home/.sites/12/site205/web/microagetest/index.php on line 1

Warning: include() [function.include]: Unable to access /tmp/session_8a4ffd99.sess in /home/.sites/12/site205/web/microagetest/index.php on line 2

Warning: include(/tmp/session_8a4ffd99.sess) [function.include]: failed to open stream: No such file or directory in /home/.sites/12/site205/web/microagetest/index.php on line 2

Warning: include() [function.include]: Unable to access /tmp/session_8a4ffd99.sess in /home/.sites/12/site205/web/microagetest/index.php on line 2

Warning: include(/tmp/session_8a4ffd99.sess) [function.include]: failed to open stream: No such file or directory in /home/.sites/12/site205/web/microagetest/index.php on line 2

Warning: include() [function.include]: Failed opening '/tmp/session_8a4ffd99.sess' for inclusion (include_path='.:/home/php/lib/pear') in /home/.sites/12/site205/web/microagetest/index.php on line 2

 

I have put a copy of the site on my server as a subdomain of my site when i get these errors.

 

If you look at the source code though a bunch of the links are going to cialis, prozac, viagra, testosterone... all kinds of junk you see on spam.

 

Is it possible that this is being used as a spam engine of sorts??

 

 

Link to comment
https://forums.phpfreaks.com/topic/132498-solved-strange-code/#findComment-689017
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.