Asp Registration Script Not possible to inject.
#1
Posted 29 October 2004 - 06:05 AM
Yeah, it may be just a simple registration script on the outside, but it's probably the most advanced publically available just because of how it works.
- 100% stored procedure based, not possible to inject through input.
- uses post instead of get, not that it matters because it's stored procedure based
- Supports users with the account emu that use MD5 password encryption. Be sure to set the use_md5 setting to 0 if your server doesn't have it enabled.. If I recal, I think I left it to 1 by default so double check!
To change settings, modify config.asp
To change more stuff, modify register.asp (advanced users only)
Use of my sp_ functions are documented in register.asp.
esql.asp is free for anybody to use in your own stuff, but you need to keep the tagline code intact. The sp_ functions are designed not to work without the init and tagline statements in your code.
If you want to use them in your own stuff without the taglines, PM me.
esql.asp currently requires adovbs.asp to be in the same dir as it.
http://asb.groundtac...ablo/aspreg.rar - download
http://asb.groundtactics.com/maldiablo/registrationtest1.jpg
#3
Posted 29 October 2004 - 05:24 PM
This is merely a starter project for me. If the methods I've used prove to be safe from all known injection, then I'll start building a series of tools in asp. I can essentially re-create anything in asp that's done in php. If all is well, my next peoject will be porting the roster manager to asp. Who knows? If Azndragon approves, I may even begin efforts to make a port of ROCP (Aegis only of course ^_^).
**Warning.. Opinionated editorial to follow!!
Why ASP?
Php is a great web scripting platform and all, but only really under apache on a native 'nix platform. My experience tends to prefer IIS to apache when the only available platform is win32, which is the case for a majority of the aegis server admins out there. The reason isn't necessarily performance, but security. Sure, you can harden an apache installation quite well on a 'nix system, but doing so on a win32 system leaves much to be desired. IIS is built to conform to the windows security model right out of the box and while arguably more resource intensive then apache, should likely the better choice for windows users out there. Some of you may also know that IIS can be made to support php as well, but its a nightmare to configure from what I've heard and almost never works the way you want it to. Hopefully this script sparks some interest for others to code stuff in asp. I plan to eventually encapsulate all the aegis stored procedures in easy to use functions like the ones in this script so novice and advanced scripters alike can all dive in and start creating new works with ease in no time and almost no risk of security compromise. Wouldn't it be nice to script web pages for your server as easily as scripting aegis npcs?
The only stored procedures I refuse to make wrapper functions for are any that use the exec statement, as those are known to be injectable.
#4
Posted 07 January 2005 - 05:39 PM
#5
Posted 09 February 2005 - 06:00 PM
#6
Posted 10 February 2005 - 03:53 AM
nice dow if rcop = is asp base
#9
Posted 25 March 2005 - 05:14 AM
*Edit*
How many people have actually been using this? How's it been working? Anybody find a way to inject into it? It would be nice to have some feedback if you like it or if you're having problems with it.
#10
Posted 03 June 2005 - 03:21 AM
#11
Posted 03 June 2005 - 04:02 AM
It may be some config problem in your server.
#12
Posted 03 June 2005 - 11:23 AM
What Server Emulators does it work on???
What do you mean by this lines??:
' Turn on if your database passwords are MD5
use_md5 = What this means
' The ip of your database.. (duh)
db_ip = "What i ip do i put??is it my ip or database(what database?)"
' The port your db listens for connections on (duh.. again)
db_port = What port do i put??
' your database password.
db_pass = "What password(What database)"
Did you mean in this line the MySQL's password,port,ip??
#13
Posted 03 June 2005 - 01:09 PM
2. no emus, its for aegis
3. if you store md5 checksum of your users passes in the database (if you dunno what it is you probably dont do...)
4. ip and port the mssql server listens on
5. password to access the database with the sa user (i think the script uses this user)
#15
Posted 03 June 2005 - 05:52 PM
dunno how well apache performs with asp, if it can use them.
#18
Posted 26 July 2005 - 09:09 PM
but i like more PHP, more stable. !!
@maldiablo
Thanks, this is a good help !!!!
#19
Posted 30 July 2005 - 12:50 AM
In truth, PHP on a 'nix platform may very well blow away asp on a windows platform.
But on a windows platform, apache has had a reputation of being buggy and unstable.
Some will say that IIS sucks.. but most of those people tried to run php scripts in it.. If you want to run PHP, go right ahead, but do it right.. Run it in apache on a 'nix box... If you're going to stick with windows, then recommend you stick with asp.
That's my 3 cents.

Help











