Question: This problem is similar to Problem W 4 . 1 . , except that the hash value is not calculated inside the SQLstatement; it is
This problem is similar to Problem W except that the hash value is not calculated
inside the SQLstatement; it is calculated in the PHP code using PHPs hashfunction
Does this modified program have a SQL injection problem?
$hashedeid hashsha $eid;
$hashedpasswd hashsha $passwd;
$sql "SELECT FROM employee
WHERE eid$hashedeid and password$hashedpasswd;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
