Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Costum IP - Hide yourself
#1
Hello there Smile


I was wondering, can I totally fake my IP address by modifying the get_ip(); function in /inc/functions.php ? (the related file: https://github.com/mybb/mybb/blob/master....php#L3000 )

I tried to add this in the bottom of the get_ip(); function (just before the "return $ip;" )

if($mybb->user['uid'] == '3456')
{
	$ip = '64.233.184.94';
}

where 3456 is my user identifiant, and 64.233.184.94 a fake IP address, I want to replace the real one only for me...


But it doesn't work... (of course I have added the line "global $db;" at the top of the function get_ip(); )

Can you help me please ? Big Grin

Mybb 1.6.15


Messages In This Thread
Costum IP - Hide yourself - by Nitrome - 2015-08-26, 09:47 PM
RE: Costum IP - Hide yourself - by Sazze - 2015-08-27, 03:50 AM
RE: Costum IP - Hide yourself - by Nitrome - 2015-08-27, 06:53 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)