MyBB Tutorials

MD5 encrypt secret pin

Submitted by linkzy, , Thread ID: 12888

Thread Closed
linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
18-11-2015, 01:49 PM
#1
- Open /admin/index.php find


PHP Code:
if(!empty($config['secret_pin']) && (empty($mybb->input['pin']) || $mybb->input['pin'] != $config['secret_pin'])) 
replace it with


PHP Code:
if(!empty($config['secret_pin']) && (empty($mybb->input['pin']) || md5($mybb->input['pin']) != $config['secret_pin'])) 
- Open /inc/config.php find

PHP Code:
$config['secret_pin'] = 'secret pin'
- replace secret pin with md5 encrypt secret pin
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |



Users browsing this thread: 1 Guest(s)