Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 02:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE]Advanced Registration Script (ASP.NET)

Discussion on [RELEASE]Advanced Registration Script (ASP.NET) within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,460
[RELEASE]Advanced Registration Script (ASP.NET)

This script was actually never going to be released and probably die on my HDD as I am primarily a PHP coder not a ASP.NET coder. But due to some pushing from friends and Tatsuya stickying the wrong Regi thread I have decided w/ permission of Xijezu to release this.

Some Info:
Code:
- This script uses ASP.NET (required)
- This script uses .NET 4.0 Integrated (required)
- This script uses IIS(Internet Information Services) 7.5+ (required)
A couple warnings:
Code:
[B][SIZE="3"][COLOR="red"]- I will NOT be held responsible for your failure to implement or use this script correctly.

- I will NOT be held responsible for your failure to adapt and properly secure your server at ANY point in time.

- I will NOT provide support for this release (It's pretty self-explanatory)[/COLOR][/SIZE][/B]
Features:
Code:
- Non-Standard Age, Email inputs (Was going to add ip but never did)

- Automatic Errors (No more click "Create" to get "Passwords Do Not Match" or "Symbols Detected in Password" These errors are displayed under "Log" and until corrected the create button is unclickable.

- All Field Escaped 

- All Field are Symbol Sensitive (They will know if you're entering in symbols)
Credits:
Code:
<!-- 
Original Script By: Xijezu
Age, Email Inputs, Field Escaping, Error Checking By: iSmokeDrow
-->
Screenshot:



How-To-Use:
Code:
Create a new folder in your website e.g. /register/ or /regi/ and place all files inside of this folder, using your favorite text-editor load the web.config file and change the info between REGISTERSCRIPT - CONFIG and REGISTERSCRIPT - CONFIG - END:

[code]
  <!--- - - - - - - - - - - - - - - - - - - - -  REGISTERSCRIPT - CONFIG - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  <add key="sDbIP" value="localhost" />           <!-- Your Server-IP or SQL-Instanz: e.g. (local)\RAPPELZ, 127.0.0.1, localhost [...] -->
  <add key="sDbDatabase" value="Auth" />          <!-- Your Auth-Database (usually Auth) -->
  <add key="sDbUser" value="sa" />                <!-- Your SQL-Username (usually sa) -->
  <add key="sDbPassword" value="password" />      <!-- Your SQL-Password -->
  <add key="bUseWindowsLogin" value="1" />        <!-- If you want to create a connection without using Username & Password (ONLY WORKS LOCAL!), set this to 1, else set it to 0-->
  <add key="sMD5Key" value="2011" />              <!-- Your MD5-Key. Default is 2011 -->
  <!-- - - - - - - - - - - - - - - - - - - - -  REGISTERSCRIPT - CONFIG - END - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
Now save the web.config file with the information updates and you should have a working Advanced Registration Script.
[/code]

If you are incapable of making such a simple thing work, unable to google how to make such a simple thing work. Don't even think you can ask me how to make it work, if you enjoyed or found this post useful. Be a sport, click thanks.
Attached Files
File Type: rar advanced_asp_regiscript.rar (1.33 MB, 1584 views)
ismokedrow is offline  
Thanks
21 Users
Old 01/15/2013, 11:08   #2
 
Mslolita's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 102
Received Thanks: 4
nice !

btw is there a way to insert a Ip bann function? like you said in the previous topic Ip adress will be insert into the ip_field and a limit account creator so any person is allowed to make max 3 accounts , this is because people will create unlimited accounts so you can't stop them if you bann their current account.

it should be very usefull to any private server out there not having this secured option
Mslolita is offline  
Old 01/16/2013, 23:04   #3
 
elite*gold: 0
Join Date: Jun 2011
Posts: 73
Received Thanks: 37
Actually everybody can simply use a Proxy to change/hide his IP , what makes an IP-Bann useless. Although many People have dynamic IP Addresses, meaning their IP-Address changes daily. So your Bann would only work for 1 Day and the poor Guy getting this IP is banned from registering...

I would recommed you using Cookies to ban them ( Okay, i know, everyone knows how to delete Cookies too, but it's better then IP Banning :P )


@ismokedrow
Nice Script,
(sorry i don't know ASP that good, maybe i'm wrong )
Isn't there a little Security Issue?
Code:
SqlDataReader dr = new SqlCommand(string.Format("SELECT login_name FROM Accounts WHERE login_name = '{0}'", tbUser.Text), sqlConn).ExecuteReader();
In this Command you simply insert the Username while some Lines later
Code:
 if (CheckInput(tbUser.Text) && CheckInput(tbPass.Text) && CheckInput(tbPassConf.Text) && CheckInput(tbAge.Text))
                    {
                        if (CheckLength(tbUser.Text) && CheckLength(tbPass.Text))
                        {
you start to verify it.

Means when i insert a nice Username like this ') GO DROP DATABASE Telecaster GO --
your Telecaster DB says Goodbye forever :P
Yeah normally your Client-Side should prevent this, but it shouldn't be too hard bypassing this.

Your Turtle
Turtlefight is offline  
Old 01/17/2013, 00:36   #4
 
elite*gold: 0
Join Date: Aug 2011
Posts: 532
Received Thanks: 234
Quote:
- All Field are Symbol Sensitive (They will know if you're entering in symbols)
...
marekrndr is offline  
Old 01/17/2013, 01:48   #5
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,460
He is technically right, but let me point something out to your turtle:

Quote:
Originally Posted by ismokedrow
- I will NOT be held responsible for your failure to adapt and properly secure your server at ANY point in time.
This script isn't mean't for noobs, if you don't know how to fix it then leave it alone. I do not personally use this script and only released it for a friend.



Unless you're offering a way of fixing the vulnerability and or releasing a fixed version; please refrain from posting in this thread. Thank you.
ismokedrow is offline  
Old 01/17/2013, 11:21   #6
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,606
Received Thanks: 1,210
Quote:
Originally Posted by Turtlefight View Post
Actually everybody can simply use a Proxy to change/hide his IP , what makes an IP-Bann useless. Although many People have dynamic IP Addresses, meaning their IP-Address changes daily. So your Bann would only work for 1 Day and the poor Guy getting this IP is banned from registering...

I would recommed you using Cookies to ban them ( Okay, i know, everyone knows how to delete Cookies too, but it's better then IP Banning :P )


@ismokedrow
Nice Script,
(sorry i don't know ASP that good, maybe i'm wrong )
Isn't there a little Security Issue?
Code:
SqlDataReader dr = new SqlCommand(string.Format("SELECT login_name FROM Accounts WHERE login_name = '{0}'", tbUser.Text), sqlConn).ExecuteReader();
In this Command you simply insert the Username while some Lines later
Code:
 if (CheckInput(tbUser.Text) && CheckInput(tbPass.Text) && CheckInput(tbPassConf.Text) && CheckInput(tbAge.Text))
                    {
                        if (CheckLength(tbUser.Text) && CheckLength(tbPass.Text))
                        {
you start to verify it.

Means when i insert a nice Username like this ') GO DROP DATABASE Telecaster GO --
your Telecaster DB says Goodbye forever :P
Yeah normally your Client-Side should prevent this, but it shouldn't be too hard bypassing this.

Your Turtle
This won't happen if the user which is executing the query don't have the rights to do something like this^^ This user is only supposed to insert data into the account table. Normally this user shouldn't be able to do something else...

Everyone providing an user with full rights or something like this in the web.config is an idiot and should close his server directly^^
c1ph3r is offline  
Old 01/21/2013, 15:33   #7
 
elite*gold: 0
Join Date: Feb 2012
Posts: 11
Received Thanks: 0
i did as u written but when i open the page

i see the files of regi file

im using xampp 1.8
.....
slman890 is offline  
Old 01/21/2013, 15:44   #8
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,460
Quote:
Originally Posted by slman890 View Post
i did as u written but when i open the page

i see the files of regi file

im using xampp 1.8
.....
I think you need to read the first post again.
ismokedrow is offline  
Old 01/21/2013, 18:29   #9
 
elite*gold: 0
Join Date: Feb 2012
Posts: 11
Received Thanks: 0
Quote:
Originally Posted by ismokedrow View Post
I think you need to read the first post again.

thnx

i did every thing u posted

u may mean these post:

<!--- - - - - - - - - - - - - - - - - - - - - REGISTERSCRIPT - CONFIG - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<add key="sDbIP" value="localhost" /> <!-- Your Server-IP or SQL-Instanz: e.g. (local)\RAPPELZ, 127.0.0.1, localhost [...] -->
<add key="sDbDatabase" value="Auth" /> <!-- Your Auth-Database (usually Auth) -->
<add key="sDbUser" value="sa" /> <!-- Your SQL-Username (usually sa) -->
<add key="sDbPassword" value="password" /> <!-- Your SQL-Password -->
<add key="bUseWindowsLogin" value="1" /> <!-- If you want to create a connection without using Username & Password (ONLY WORKS LOCAL!), set this to 1, else set it to 0-->
<add key="sMD5Key" value="2011" /> <!-- Your MD5-Key. Default is 2011 -->
<!-- - - - - - - - - - - - - - - - - - - - - REGISTERSCRIPT - CONFIG - END - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


these post:

<add key="sDbIP" value="localhost" />

am i need only ip for db?

or ip and pc name?

frankly i did all of them but no banafet
slman890 is offline  
Old 01/21/2013, 18:44   #10
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,460
I mean reading that this script will only work on IIS
ismokedrow is offline  
Old 01/21/2013, 18:56   #11
 
elite*gold: 0
Join Date: Jul 2012
Posts: 227
Received Thanks: 65
Thanks drow for this script it is realy helpful and it worked with iis 8 express
eziorav is offline  
Old 01/21/2013, 20:46   #12
 
elite*gold: 0
Join Date: Feb 2012
Posts: 11
Received Thanks: 0
Quote:
Originally Posted by ismokedrow View Post
I mean reading that this script will only work on IIS
i've pv server at France and the os is w7

then i put files on C:\xampp\htdocs\regi

and change it to my pv server info<<< as u syed

then :



im using Apache if that problem so how can i change it to iis

slman890 is offline  
Old 01/21/2013, 21:09   #13
 
elite*gold: 0
Join Date: Jul 2012
Posts: 227
Received Thanks: 65
Quote:
Originally Posted by slman890 View Post
i've pv server at France and the os is w7

then i put files on C:\xampp\htdocs\regi

and change it to my pv server info<<< as u syed

then :



im using Apache if that problem so how can i change it to iis

He told you to use iis not xampp
the way how to install u can find it in google
eziorav is offline  
Old 01/22/2013, 00:06   #14
 
elite*gold: 0
Join Date: Feb 2012
Posts: 11
Received Thanks: 0
Quote:
Originally Posted by eziorav View Post
He told you to use iis not xampp
the way how to install u can find it in google
oh!

thnks man i got it
slman890 is offline  
Old 01/23/2013, 00:44   #15
 
elite*gold: 0
Join Date: Feb 2012
Posts: 11
Received Thanks: 0
frankly we want something enplane that

video or URL for it

thank u
slman890 is offline  
Reply


Similar Threads Similar Threads
[RELEASE] Secure PHP Web Registration Script
10/08/2019 - Shaiya PServer Guides & Releases - 208 Replies
This is technically obsolete now, and I'd recommend using my newer script instead. This is a secure registration script meant for Shaiya private servers. I noticed a lot of private servers were using sandolkakos's registration script, which is very dangerous since it is vulnerable to SQL injection. Ideally your UserUID column in the table PS_UserData.dbo.Users_Master should be set to auto-increment. If this is not the case, you will need to adjust this script, or ideally fix your...
[ADVANCED] Registration Script / SQLSRV
01/06/2014 - Rappelz Private Server - 30 Replies
-- Forewarning -- The following is in no way shape or form intended for the use of beginners and requires basic and intermediate skill levels to apply and use. -- Features -- Username Check Password Confirm Password MD5 Encryption Age Field (For Server using; Adult Server)
[release] Advanced register script
05/10/2011 - EO PServer Hosting - 9 Replies
hi all time for the second advanced release this is a register script but with email verification the script itself can work with 2 databases or with a single database ( i wrote it for 2 databases) what does it do ?? let the user register as normal
[RELEASE]Registration Script (ENG)
05/16/2009 - Dekaron Private Server - 12 Replies
I just created this registration script so enjoy. Unlike the others that are posted around, this one is built from the ground up by me. Enjoy and dont forget to say thanks! Uses mssql(); Please post your comments and suggestions!!!! Ill have more tools on the way. ~Quick tut to get it working~ 1. Download the rar 2. Extract it to a place where you can easily edit the files 3. Open up includes/db.php 4. Edit your information for your SQL server 5. Save and upload to a directory inside...



All times are GMT +1. The time now is 02:39.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.