Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

[Snort-users] "uricontent" and "offset" notion

Subject: [Snort-users] "uricontent" and "offset" notion
Date: 21 Dec 2005 01:30:04 -0000
Hi All,
I need a little clarification about "offset" modifier notation in conjuction 
with "uricontent" keyword. Does Snort treats "offset" differently in case of 
"uricontent" keyword.

In case of "uricontent" keyword, does snort treats "offset:0" from the start of 
URI, and not from the start of the payload.

The snort manual says that the "offset" tells how many bytes to skip before 
starting looking for the specified "content" keyword and "offset" is calculated 
from the start of payload.

For example: 
content: ".html"; offset:4; would mean start looking for ".html" after 4 bytes.

However, in case of "uricontent" keyword

Will uricontent: ".html"; offset:0; depth:5; would mean start looking for start 
of URI and in next 5 characters. Or it will mean, start looking for ".html" in 
first 5 bytes of payload.


Any help will be appricated.

Thanks,

-IntruSec
<Prev in Thread] Current Thread [Next in Thread>
  • [Snort-users] "uricontent" and "offset" notion, Intru Defender <=