Question: Consider the following code fragment within an authentication program: username = readUsername(); password = readPassword(); if (username == lone_wolf) { return ALLOW_LOGIN; } if (checkCredentials(username,
Consider the following code fragment within an authentication program:
username = readUsername(); password = readPassword(); if (username == "lone_wolf") { return ALLOW_LOGIN; } if (checkCredentials(username, password) == VALID_CREDENTIALS) { return ALLOW_LOGIN; } else { return DENY_LOGIN; }
What type of malware is this?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
