Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
The expecti_to action scans the packet being inspect for the specified string, ignoring the case of any letters. The scan starts at the current $offset and continues to the end of the packet.
If the string is found before hitting the end of the packet, then the characters traversed during the scan (including the matched string) are returned. If the string is not found, the script is terminated with a no status.
For example:
"</a>" expecti_to
scans the buffer for the first occurance of the string "</a>" or "</A>".
Note - the expect_to does the same thing but does not ignore the case of the characters being scanned.
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]