Complete the code to print the name of a popular open-source security testing tool.
tool = "[1]" print(tool)
Nmap is a popular open-source tool used for network security scanning.
Complete the code to assign the correct type of security testing tool to the variable.
tool_type = "[1]" # Tool used for finding vulnerabilities in web applications
Dynamic Analysis tools test running applications to find security vulnerabilities.
Fix the error in the code to correctly import and use a security testing tool library.
import [1] scanner = [1].PortScanner() scanner.run()
The 'nmap' library is used for network scanning in security testing.
Fill both blanks to create a dictionary mapping tool names to their testing types.
security_tools = {
"[1]": "Static Analysis",
"[2]": "Dynamic Analysis"
}SonarQube is used for static code analysis, while OWASP ZAP is a dynamic analysis tool for web apps.
Fill all three blanks to create a list of tools categorized by their primary security testing focus.
tools = {
"network_scanning": "[1]",
"web_app_testing": "[2]",
"code_analysis": "[3]"
}Nmap is for network scanning, OWASP ZAP for web app testing, and SonarQube for code analysis.