Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A website contains the following code which sends a message, user name and password to a server: 1 c form action = message . php
A website contains the following code which sends a message, user name and password to a server: c form actionmessagephp methodgetc pMessage: input typetext namemessagepc pUsername: input typetext nameuserpc pPassword: input typetext namepasspc pinput typesubmitp and on the server the message.php page processes this data: s php s $user $REQUESTuser; s $pass $REQUESTpass; s $message $REQUESTmessage; s $result mysqlimultiquery$con,UPDATE messages SET s message$message. WHERE user$user.; s $row mysqlifetcharray$result; s if empty$rows echo Your message: $message. has been added; s s Describe four security weaknesses in this website, how they might be exploited and rank them in order of severity. marks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started