MyBB Tutorials

MD5 encrypt secret pin

Submitted by linkzy, , Thread ID: 12888

Thread Closed
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 |


RE: MD5 encrypt secret pin

#2
+1, nice share linkzy !

RE: MD5 encrypt secret pin

OP
#3
18-11-2015, 02:06 PM
Kill Wrote:
+1, nice share linkzy !

thank you mate Smile
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: MD5 encrypt secret pin

#4
thank you sir, now I feel safe MyBB. +1 From me ..

RE: MD5 encrypt secret pin

OP
#5
28-11-2015, 11:44 AM
./Creed Wrote:
thank you sir, now I feel safe MyBB. +1 From me ..

lol np. This is why i say not to leech
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: MD5 encrypt secret pin

#6
Thanks mate..
Nice one.

RE: MD5 encrypt secret pin

#7
Nice tips, i am using secret pin by default Smile
sorry for my bad english :noh:
i needfeedback for my website -snip-

RE: MD5 encrypt secret pin

#8
thanks for the share , amazing help

RE: MD5 encrypt secret pin

#9
Awesome post. I've been looking for something like this.

RE: MD5 encrypt secret pin

#10
18-11-2015, 02:10 PM
linkzy Wrote:
thank you mate Smile

Users browsing this thread: 4 Guest(s)