Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

Looking for help with XSS w/ RegEx, VBScript (ASP) -- I'm New! :P

  •  08-26-2010, 9:09 PM

    Looking for help with XSS w/ RegEx, VBScript (ASP) -- I'm New! :P

    Hey everyone.  Seems like these days there is a subculture for EVERYTHING! Im glad I found this one... however, I am just starting. So please have mercy.

     Basically, here is my pickle. Our windows server got hacked/injected etc etc.  We had user input sanitation in place, but obviously it wasn't "smart" enough.

     So I am trying to get a regular expression going using VBScript.  But I can't seem to get it right.

     The only stuff we ever ask from the user are a) create a username and password for yourself b) your email address and c) dates in the xx/xx/xx format.....

     Now, so far, I have been able to research for my pattern is this: [^0-9a-zA-Z\s] . Yea... basic... I know.. lol...however, this is the only thing that I have gotten RIGHT.

     I am having trouble with the syntax of allowing special characters for passwords and stuff, and also allowing the / forward slash (since it is a "reserved escape" or whatever.

     Can someone please point me in the right direction, I would be more than grateful. 

    Filed under: , ,
View Complete Thread