During an investigation of an XSS attack, the investigator comes across the term `[a-zA-Z0-9\%]+` in analyzed evidence details. What is the expression used for?
A.
Checks for upper and lower-case alphanumeric string inside the tag, or its hex representation
B.
Checks for forward slash used in HTML closing tags, its hex or double-encoded hex equivalent
C.
Checks for opening angle bracket, its hex or double-encoded hex equivalent
D.
Checks for closing angle bracket, hex or double-encoded hex equivalent
Answer is A. CHFI v10 manual pg 650. "[a-zA-Z0-9\%]+: It searches for upper and lower-case alphanumeric strings inside the tag, or their hex equivalent"
A. Checks for upper and lower-case alphanumeric string inside the tag, or its hex representation
The regular expression [a-zA-Z0-9\%]+ is used to match an alphanumeric string (upper and lower case) or the percent sign ("%") inside the tag. This regular expression is often employed in the context of analyzing input data for potential Cross-Site Scripting (XSS) attacks.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
jjweust
Highly Voted 2 years, 1 month agoChaoticda
Highly Voted 2 years, 5 months agotopbarry
Most Recent 6 months, 2 weeks agosampb
2 years ago