Forum Discussion
F5Hopper_28651
Sep 27, 2012Nimbostratus
Regex in iRule
Im making a rule to catch bad code being in HTTP POST.
for some reason we have some sites trying to do some sort of XSS attack, but posting URL strings in the POST and then they get a 500error. ...
Kevin_Stewart
Sep 27, 2012Employee
I'm specifically asking how you're testing the iRule. You wouldn't be able to just send a greater-than sign in the URI without encoding it, and the "Step" examples don't contain any greater-than signs.
In case you're just waiting for external requests with bad data, you can test locally with cURL:
curl -v http://www.example.com?test=%3cscript%3e -d "test=1234"
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