PT0-002 · Question #13
A penetration tester finds a PHP script used by a web application in an unprotected internal source code repository. After reviewing the code, the tester identifies the following: Which of the…
The correct answer is B. Netcat and cURL. It’s shell exec, not all web app host databases. Burp is a great tool for enumeration and intercepting http requests but that line of code (shell exec) is telling us we could place a reverse shell, trigger it with curl and receive the incoming connection via net at.
Question
A penetration tester finds a PHP script used by a web application in an unprotected internal source code repository. After reviewing the code, the tester identifies the following:
Which of the following tools will help the tester prepare an attack for this scenario?
Options
- AHydra and crunch
- BNetcat and cURL
- CBurp Suite and DIRB
- DNmap and OWASP ZAP
How the community answered
(51 responses)- A6% (3)
- B71% (36)
- C16% (8)
- D8% (4)
Explanation
It’s shell exec, not all web app host databases. Burp is a great tool for enumeration and intercepting http requests but that line of code (shell exec) is telling us we could place a reverse shell, trigger it with curl and receive the incoming connection via net at.
Topics
Community Discussion
No community discussion yet for this question.