Reconnaissance and Enumeration
A tester sniffing unencrypted traffic captures the header Authorization: Basic dGVzdDpQQHNzdzByZA==. What should the tester do to obtain the password?
Show the answer
Correct answerB. Base64-decode the value to reveal the username and password
AWhy not this: Rainbow tables reverse hashes, but this value is a reversible encoding, not a hash.
BWhy this is right: Basic authentication only Base64-encodes username:password, so decoding reveals the password directly.
CWhy not this: JWTs are three dot-separated parts used as bearer tokens; a Basic header is not one and carries no signing secret.
DWhy not this: The value is encoded, not hashed, so cracking is unnecessary and the wrong technique.
HTTP Basic authentication sends username:password encoded with Base64, which is reversible without cracking. A JWT has a different structure, and the value is not a hash, so cracking or rainbow tables do not apply.