Computer Hacking Forensic Investigator (CHFI v10) — Question 23

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because the expression `[a-zA-Z0-9"]+` matches alphanumeric characters, which includes both upper and lower-case letters and numbers, as well as their hexadecimal representations. Options B, C, and D are incorrect as they refer to specific HTML elements and their encodings that are not represented by the given regex expression.