Skip to Main Content
Hack Proofing Your Web Applications
book

Hack Proofing Your Web Applications

by Syngress
June 2001
Intermediate to advanced content levelIntermediate to advanced
512 pages
18h 49m
English
Syngress
Content preview from Hack Proofing Your Web Applications
Securing ColdFusion • Chapter 10 423
This code sample uses regular expressions to detect if the pattern we
want exists.The REFind function says to use regular expressions with
the first attribute being the expression and the second being the string
to check.The regular expression here says to look for a pipe followed by
one or more characters that are not pipes, followed by another pipe. If a
single pipe exists in the string, no error will be thrown. If two pipes
exist one after the other, no error will be thrown either.This is a check,
but it can easily enough be used as a “sweeper.”This would be done as
shown in Figure 10.24.
Figure 10.24 Using Regular ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developer's Guide to Web Application Security

Developer's Guide to Web Application Security

Michael Cross
The CERT® Oracle® Secure Coding Standard for Java™

The CERT® Oracle® Secure Coding Standard for Java™

Fred Long, Dhruv Mohindra, Robert C. Seacord, Dean F. Sutherland, David Svoboda
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 9781928994312