Forum Discussion
Marc_Bergeron_5
Nimbostratus
Aug 15, 2007Process POST data
I'm looking to patch a security issue in our application until our developers have time to do their thing, and I'm hoping to do it with iRules.
What I have is a log-in page, login.asp, that ...
hoolio
Cirrostratus
Aug 16, 2007Here is a regex that will match just the password parameter value:
(?<=password=).*?(?=&|$)
It starts matching after "password=" and stops matching at a literal ampersand or the end of line.
It matches the bolded section of the following strings:
param=value&password=1234
param=value&password=1234¶m=value
password=1234¶m=value
You wouldn't need to use the backreferences with this either.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects