Jump to content


lebalusch's Content

There have been 6 items by lebalusch (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#262024 [solved] Bug in Code, Please Help (user creation)

Posted by lebalusch on 19 November 2016 - 11:33 PM in Ask a Pro

Hi Guys thank you for your help i have got it to work now and you can find the code at:

http://pastebin.com/Vr8tYMP8

http://www.computerc...ng-and-salting/



#262022 Password File Creator (hashing and Salting)

Posted by lebalusch on 19 November 2016 - 11:09 PM in Programs

Hi Guys,

So Here is a basic Password File Creator.
http://pastebin.com/Vr8tYMP8

-- Program: MkUser
-- Version: 0.1
-- Author: LebaLusch
-- Created: 19/11/16 -uk date style

-- Use: This will Check a password file (if not Present it will create it) for a user Name if not present it will store the name and Password. The password will be Hashed and Salted.

-- Features i want to add:
Removal of users.
Auto Add a Admin user.

This is my variation of CompuTech's user maker Whos code can be found at page (How to Securely Store Passwords).
This can be found at http://www.computerc...768#entry260768

Change the fileName for your password file on line 56 (local fileName = "AnythingYouWant")
CODE
Spoiler



#261633 [solved] Bug in Code, Please Help (user creation)

Posted by lebalusch on 10 November 2016 - 12:47 AM in Ask a Pro

Hi guys

so i have been trying to make a User create based on the one on this page:

How to Securely Store Passwords by computech

http://www.computerc...768#entry260768

as you can see i have posted my code there and awaited for some help but no response.

Cant seem to be able to get it to write users to the file and debug other bits. And now stuck. Thanks for your help if you can in advance.

code:-
Spoiler



#260768 How to Securely Store Passwords

Posted by lebalusch on 18 October 2016 - 11:06 PM in Tutorials

i got it working again and now its stopped.
Spoiler

i would like in the end to hash the user names as well so its totally unreadable whos hash is whos.


I have done a first version of mine you can find it here.

http://www.computerc...ng-and-salting/

http://pastebin.com/Vr8tYMP8



#260752 How to Securely Store Passwords

Posted by lebalusch on 17 October 2016 - 10:06 PM in Tutorials

Hi guys its happening again.

the User creation script seems to not find the passwords i guess as it keeps crashing when it gets to this line.

line15
if not usrs[u] then

giving a MkUser:15: attempt to index ? (a nil value)

any ideas? was running fine all night then with a reset of the server its back to not working right.



#260738 How to Securely Store Passwords

Posted by lebalusch on 16 October 2016 - 10:34 PM in Tutorials

SOLVED IGNORE

Hi Im finding the User creation script to not be working for me correctly. I got the "sha" file and also the "passwords" file at the normal root (new pc and just edit off the main screen) So guessing i has to change Ln 7 to "passPath = "/passwords"

so i run the userMaker. enter the user name, then password and then it crashes. "UserMaker:11:attept to index ? (a nil value)

any ideas where i have got it wrong or if these scripts above are not working right.

cheers guys