Attacks and Exploits

A tester uploads a script that runs operating system commands sent to it in HTTP requests. What is this script called?

Show the answer

Correct answerD. Web shell

AWhy not this: Remote file inclusion is a flaw that loads an external file, not the uploaded script itself.

BWhy not this: A deserialization gadget is a code chain triggered by rebuilding objects, not an uploaded script.

CWhy not this: A stored XSS payload runs in visitors' browsers, not as OS commands on the server.

DWhy this is right: A web shell is a server-side script that takes commands through HTTP requests and executes them.

A web shell is a script placed on a web server that accepts commands over HTTP and runs them on the host. Remote file inclusion is a different flaw: it makes the application load an externally hosted file rather than relying on an uploaded script.