Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editing MyBB: ModCP Rigging
#1
Ever wanted to make yourself an account on your own forum without the mods(or hackers) knowing? Well now you can, by adding this 4-line code to the modcp.php file!

First, open your FTP Manager and go to the directory with the modcp.php file.

Second, open up modcp.php

Third, press CTRL+F and search for:
Quote:['action'] == "ipsearch"

Fourth, after the add_breadcrumb line, type this code:
PHP Code:
$ip "127.0.0.1" //Replace 127.0.0.1 with your IP
        
if($mybb->input['ipaddress'] == "$ip"){
        
Header('Location: modcp.php');
    } 

Now try looking up your IP, it should take you back to the modcp.php file!
Reply
#2
If they couldn't look up your IP though, they would know something was up... it's like on a minecraft CTF server I went to, when you tried to view the admin's stats he got an error. Obviously he edited his points and didn't want anyone to know.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)