EUNICE
D385 - Software Security Testing WITH 100% SURE
ANSWERS
Terms in this set (34)
Which is best for input validation? type()
Which Python function is prone to a eval()
potential code injection attack?
prevent log injection validate()
What are two common defensive coding Check functional and preconditions and postconditions
techniques?
Checking functional and preconditions and Defensive Coding
postconditions is best practice for?
An attacker exploits a cross-site scripting Access User's data
vulnerability
A user masquerades as other users, what Cross Site Scripting
type of attack was used?
Which method is used for a SQL injection Exploiting query parameters
attack?
Exploiting query parameters causes what SQL injection
attack?
What is returned when using returns the raw binary content of the HTTP response as bytes.
response.content
Which response method, when sent a response.content
request, returns information about the
server's response and is delivered back to
the console?
What can an attacker do with a log Injection of commands a parser can execute
injection attack
What is the primary defense against log Sanitize outbound log messages
injection attacks?
Which package is meant for internal use by test
Python for regression testing?
1/3
D385 - Software Security Testing WITH 100% SURE
ANSWERS
Terms in this set (34)
Which is best for input validation? type()
Which Python function is prone to a eval()
potential code injection attack?
prevent log injection validate()
What are two common defensive coding Check functional and preconditions and postconditions
techniques?
Checking functional and preconditions and Defensive Coding
postconditions is best practice for?
An attacker exploits a cross-site scripting Access User's data
vulnerability
A user masquerades as other users, what Cross Site Scripting
type of attack was used?
Which method is used for a SQL injection Exploiting query parameters
attack?
Exploiting query parameters causes what SQL injection
attack?
What is returned when using returns the raw binary content of the HTTP response as bytes.
response.content
Which response method, when sent a response.content
request, returns information about the
server's response and is delivered back to
the console?
What can an attacker do with a log Injection of commands a parser can execute
injection attack
What is the primary defense against log Sanitize outbound log messages
injection attacks?
Which package is meant for internal use by test
Python for regression testing?
1/3