MD5 encrypt secret pin

by linkzy - 18-11-2015, 01:49 PM
لا إله إلا الله‎
Posts:
6,328
Joined:
Jan 2015
Likes:
301
Credits:
363
Reputation:
162
2 Years of Service
#1
OP
Posted: 18-11-2015, 01:49 PM
- 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- Best forever .. | v4hl - ;) | Addicted | Senpai | Nyan | Sensei | H | fdigl |
[Image: gZD4Fba.png]

./Creed
28-11-2015, 11:45 AM
Kill
18-11-2015, 02:06 PM
nostafu
18-12-2015, 02:56 PM
@Believer rocks
Paradigm
Posts:
1,311
Joined:
May 2015
Likes:
46
Credits:
6
Reputation:
45
2 Years of Service
#2
Posted: 18-11-2015, 02:06 PM
+1, nice share linkzy !
لا إله إلا الله‎
Posts:
6,328
Joined:
Jan 2015
Likes:
301
Credits:
363
Reputation:
162
2 Years of Service
#3
OP
Posted: 18-11-2015, 02:10 PM
(18-11-2015, 02:06 PM)Kill Wrote: +1, nice share linkzy  !

thank you mate Smile
| A- Best forever .. | v4hl - ;) | Addicted | Senpai | Nyan | Sensei | H | fdigl |
[Image: gZD4Fba.png]

./Creed
28-11-2015, 11:44 AM
Closed Account
Posts:
6
Joined:
Nov 2015
Likes:
0
Credits:
7
Reputation:
0
1 Year of Service
#4
Posted: 28-11-2015, 11:44 AM
thank you sir, now I feel safe MyBB. +1 From me ..
لا إله إلا الله‎
Posts:
6,328
Joined:
Jan 2015
Likes:
301
Credits:
363
Reputation:
162
2 Years of Service
#5
OP
Posted: 30-11-2015, 03:28 PM
(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- Best forever .. | v4hl - ;) | Addicted | Senpai | Nyan | Sensei | H | fdigl |
[Image: gZD4Fba.png]

Member
Posts:
138
Joined:
Sep 2015
Likes:
3
Credits:
3
Reputation:
5
2 Years of Service
#6
Posted: 04-12-2015, 07:51 AM
Thanks mate..
Nice one.
Novice
Posts:
27
Joined:
Dec 2015
Likes:
1
Credits:
54
Reputation:
0
1 Year of Service
#7
Posted: 18-12-2015, 02:56 PM
Nice tips, i am using secret pin by default Smile
sorry for my bad english  :noh:
i need feedback for my website -snip-
Novice
Posts:
26
Joined:
Aug 2016
Likes:
0
Credits:
0
Reputation:
0
1 Year of Service
#8
Posted: 13-01-2017, 02:20 PM
thanks for the share , amazing help
Newbie
Posts:
14
Joined:
Jan 2017
Likes:
0
Credits:
15
Reputation:
0
1/2 Year of Service
#9
Posted: 04-02-2017, 04:47 PM
Awesome post. I've been looking for something like this.
Newbie
Posts:
15
Joined:
Jun 2017
Likes:
0
Credits:
15
Reputation:
0
#10
Posted: 22-06-2017, 12:27 PM
(18-11-2015, 02:10 PM)linkzy Wrote: thank you mate Smile
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)