MyBB Tutorials

HOWTO: Log MyBB usernames and passwords to a file

Submitted by Kawaii, , Thread ID: 31772

Thread Closed
01-04-2017, 09:30 PM
This post was last modified: 22-05-2017, 09:32 AM by Kawaii
#1
This is my first tutorial here. Some sketchy kid is going to find this quite useful.

Please use this responsibly, and now that you know how this is done - never use the same password on a forum as you do on any other website!

Content locked
This content has been locked. Please login or register in order to unlock it.


Remember that the path of the text file is relative - it is just an example of where I might store my copy of MyBB, you need to edit the command and PHP code accordingly!

For security you could hide the text file up one directory level, within the Linux file system where visitors to your forum can't access (unless you have some kind of directory traversal vulnerability on your webserver).

I hope that you guys enjoyed this.



BONUS CONTENT:

So, you just followed the tutorial and now you want to make all of your users logged out?

Connect to your SQL database and run the following query:

Code:
UPDATE mybb_users SET loginkey='';

This will force all users to login again, meaning you can harvest all of their passwords when they do so.

Or, if you'd like to be covert and only get one particular user's password do this, and replace x with their UID:

Code:
UPDATE mybb_users SET loginkey='' WHERE uid=x;

RE: HOWTO: Log MyBB usernames and passwords to a file

#2
Thanks for the post.
[Image: xvv2qQA.png]

RE: HOWTO: Log MyBB usernames and passwords to a file

OP
#3
01-04-2017, 09:39 PM
Widget Wrote:
Thanks for the post.

Thanks, I've updated the OP with some free bonus content - telling you how to force your users to logout so that they have to login again. Smile

RE: HOWTO: Log MyBB usernames and passwords to a file

#4
01-04-2017, 10:32 PM
Kawaii Wrote:
Thanks, I've updated the OP with some free bonus content - telling you how to force your users to logout so that they have to login again. Smile

Cool Cool, very nice! Thanks for sharing.
[Image: xvv2qQA.png]

RE: HOWTO: Log MyBB usernames and passwords to a file

#5
Thanks for sharing, I need

RE: HOWTO: Log MyBB usernames and passwords to a file

#6
Hey you idiot just read this rules:
http://nulledbb.com/misc.php?action=help

RE: HOWTO: Log MyBB usernames and passwords to a file

OP
#7
17-04-2017, 12:25 AM
pertatek Wrote:
Hey you idiot just read this rules:
http://nulledbb.com/misc.php?action=help

I fail to see how this educational tutorial violated any of those rules. This is a morally grey zone to be honest. I've seen two different staff read this thread now so if it were breaking any site policy I'm sure it would already have been removed.

RE: HOWTO: Log MyBB usernames and passwords to a file

#8
people should really never use same password for evrything

RE: HOWTO: Log MyBB usernames and passwords to a file

#9
Posting to come back and unlock this.

RE: HOWTO: Log MyBB usernames and passwords to a file

OP
#10
27-04-2017, 06:00 AM
Anish Wrote:
Posting to come back and unlock this.

Thank you for your interest! ^_^

Users browsing this thread: 2 Guest(s)