Snort mailing list archives

Re: searching for " in content


From: Alex Kirk <akirk () sourcefire com>
Date: Mon, 10 Jan 2011 13:49:20 -0500

Yes, you want hex escapes. For this particular case, you'd have:

content:"|22|test|22|"; nocase;...

man ascii(7) is your friend here.

On Mon, Jan 10, 2011 at 1:45 PM, Don Florence <daflore () yahoo com> wrote:

Is there a way to search for a double quote in the content of a payload?

For example, I want to find this exact string:  "test"

That includes the double quotes around the word test:

rule snippet:  ... flow:to_server,established; content:""test""; nocase;
...

Is there some sort of escape character for the double quote around the
string?

Thanks.



------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any
company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users




-- 
Alex Kirk
AEGIS Program Lead
Sourcefire Vulnerability Research Team
+1-410-423-1937
alex.kirk () sourcefire com
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Current thread: