Hi all,
I was looking for a way to scan for bad code in user submitted forms.
It needs more testing, but this is the regex i came up with:
$CFG["regex"]["ForbiddenEntries"]="(.)<([\?%/]|([\?%/] ))?([a-zA-Z]+)( .)?>(.*)$";
The goal:
trace for code like: html, javascript, php and vb
any comments or someone knows a better one?
bye cya 🙂