[FilterScript] Advanced Register System Using Email ;)
#1

At Last I have made it ... Firstly I will give the credits to those who really deserve it !
PHP Code:
Slice For his mailer include the most important thing ;) http://forum.sa-mp.com/showthread.php?t=197755
This whole Thread Whoever Helped Here :- http://forum.sa-mp.com/showthread.php?t=542773
The Poll Which Gave me Idea To make it A TUT FS :- http://forum.sa-mp.com/poll.php?do=showresults&pollid=1201
Everyone Else Who helped me making this 
My Friend Sunny Who supported me 
;) 
KyleSmith My RoleModel Who Actually Inspired me and so Im a scripter 
Of course codeacademy
.com For teaching me PHP As well as HTML So that I have the basic knowledge 
000webhost
.com For the Email Address Which will be working and for hosting the mailer.php 
Introduction:-
Hello There Sampers ! Today I will present you my FS That is a Simple Registration System With a Recovery System .. I decided to release it But Also Teach it So I will also tell you guyz how it works ..
How it Works ? :-
Okay so Now I will just tell you guyz How to use it As well as How it works ... So to use it you will need mailer.php uploaded on your host I know many of you guyz may not be having the host So Everything is set up in the script already Including the sender's email so you basically have nothing to do.. But if you wanna do it by your step's like if you wanna put your email in the sender's email then read customizing Section below .. So it works like .. When a player registers it saves the password of the player in WP_HASH Form (Whirlpool Hash) And Saves a PIN(Personal Identity Number ) Of each player The number is any 3 digit random number And it changes from time to time ... So that cannot be hacked or something .. SO After completing the register dialog you will get a dialog to set up your email ID if you skip that it won't save your email and if you forget your pass you can't do anything ...So if the email is set up on every login dialog there will be a option of Forgot Pass If you click that and you have saved your email then a Mail will be send to you which will be like this
And You just have to follow those instructions and your Pass os resetted Safely

Downloads And Set Up :-
Ok I have attached the .pwn file You can download it from there Or As I and many others prefer Here is the Paste Bin http://pastebin.com/5kjFif0u
If you wanna customize stuff you can see this thread https://sampforum.blast.hk/showthread.php?tid=197755 Or Download Mailer.php Here http://spelsajten.net/dl.php?file=mailer.php
IMPORTANT YOU NEED TO HAVE MAILER INCLUDE TO HAVE THIS WORK DOWNLOAD FROM HEREhttp://spelsajten.net/dl.php?file=mailer.inc
Now it is easy to set up just Add AR.pwn in the filterscripts line of server.cfg And you are ready to go
Also Make a Folder in scriptfiles called User to make it work

Customize it <3 :-
So the customizing part .. You can customize anything you want but at your own risk ... And Please give me credits if you would like to .. if you don't wanna give them its totally okay with me Cuz I'll be happy that I made this myself
BTW You can customize some things like if you wanna upload mailer.php then you can and also you can change some stuff If you wanna do this then just Find for CUSTOM in the script Like CRLT + F --> CUSTOM
About mailer.php :-
I have provided hosting including script that hosts mailer.php But for better usage you can upload it to your own host after you have done that you have to change the following define
PHP Code:
#define MAILER_URL "Your Mailer.php Link here " // This has to be defined BEFORE you include mailer. 
You can also change the message that is send through the email Using the Following
Quote:
Originally Posted by Slice
View Post
Usage
PHP Code:
SendMailto[], sender_email[], sender_name[], subject[], message[] ); 
Stuff Needed :-
I am planning to update it .. I think I will BTW Next Update I will add Login tries Like 5 Tries only .. . Login Timer .. And More Stuff .. If someone wishing to help can PM me
Reply
#2

Awesome , +rep for the hard work
Reply
#3

Thanks .. Planing to update it side by side as my server creation goes on
Reply
#4

Awesome work rock.

Repped.
Reply
#5

Thanks Bro <3
Reply
#6

Good job, will be using it

+raped

Edit:
Quote:

000webhost.com For the Email Address Which will be working and for hosting the mailer.php

Btw if you send more than 14 emails in one minute, 000webhost will suspend your account unless you have paid hosting.
Reply
#7

Quote:
Originally Posted by Zues
View Post
Good job, will be using it

+raped
Thanks LOL Raped ;P
Reply
#8

Those regestering system is cool
Reply
#9

Quote:
Originally Posted by ******
View Post
This "ultra secure" system is possibly the least secure system I've ever seen! I warned you about trying to do security before you released it, you ignored me, and so I waited till you released it to see if my worries were justified - they were! You can't just make up random things like PINs and assume they are secure. There is a whole ton of research done every year in to security best practices - this uses none of them. I can tell you now that I could break in to any account on this server in an average of 15 brute-force attempts. That's not a typo - FIFTEEN ATTEMPTS.

Please, go read some papers on security or something! I can tell that you have tried to be clever when writing this code, that only made it LESS secure!

Edit: My maths was a little off - it's a bit under 60 attempts. Still doable in well under a second.
So What do you prefer then .. Plus I didn't ignore you ... I did what I had to But what more secure you prefer ?
Reply
#10

Cool +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)