Jump to content
MakeWebGames

V2 Staff password with admin function


Delete-please

Recommended Posts

ok lets get started :P run the following SQL

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Change the 19 to the next number of spare table example i have 18 tables in my settings so i run 19 to insert the table the current password for the login is "default". Ok next step

find in staff.php:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

under add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

now create a file called stafflogin.php

put this inside

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Now create a file called staffl.php and put this inside

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Open sglobals and find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Above add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

And thats all +1 me if you found this helpfull

Link to comment
Share on other sites

Re: V2 Staff password with admin function

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

can be

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

its auto increment So. it will update the number for ya :-P

Link to comment
Share on other sites

Re: V2 Staff password with admin function

Yeahh,,, why not make it database.. staff_users table < after in there `staffid`,`staff_name`,`staff_username`,staff_password` then thats done then just make it like normal login with diffrent sessions like mc codes .. ? but include it in game like include_oncee("globals.php");

:P

Link to comment
Share on other sites

Re: V2 Staff password with admin function

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

can be

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

its auto increment So. it will update the number for ya :-P

or..

VALUES ( NULL, 'game_pass', 'default' )

or just leave that field out.

Link to comment
Share on other sites

  • 2 weeks later...
Guest Anonymous

Re: V2 Staff password with admin function

 

sql is always a bad idea with passwords to staff panel...

why not built in password

Not sure how you draw that conclusion. Commercially, and personally, I use an ACL layer authenticated against an SQL back end with no problems. No issue with brute force either, unlike a static password (assuming no predictive layer).

Link to comment
Share on other sites

Re: V2 Staff password with admin function

not everyone is security cautious specially people on this forum, therefore a existing password with maybe a simple anti brute logger would be sufficient since on MC games with the right amount of knowledge you could access it on the db easier than bruting it...

I'm sure you could knock up a quick example Nyna and show me where i am wrong

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...