Post-exploitation and Lateral Movement

After exploiting a file upload flaw, a tester leaves a script on the web server that runs OS commands sent in HTTP requests. What was installed?

Show the answer

Correct answerD. Web shell

AWhy not this: A Trojan disguises itself as legitimate software; this script is not disguised and takes commands through web requests.

BWhy not this: A reverse shell is an outbound connection to the tester, not a script waiting for HTTP requests.

CWhy not this: A scheduled task runs code at set times and does not take commands through web requests.

DWhy this is right: A script on a web server that executes commands received over HTTP is the definition of a web shell.

A web shell is a script on a web server that accepts commands over HTTP and runs them on the host, giving persistent access through the web application. A reverse shell is a connection the target opens back to the tester, not a script that stays on the server and takes commands in HTTP requests.