PT0-002 · Question #609
PT0-002 Question #609: Real Exam Question with Answer & Explanation
The correct answer is C: session -u l. To promote a basic reverse shell session to a more powerful Meterpreter session in Metasploit, the 'sessions -u' command is used.
Question
A penetration tester uses Metasploit Framework and obtains a reverse shell session: Which of the following commands should the penetration tester run at Metasploit to promote this shell to a Meterpreter session?
Options
- Asession -t l
- Bsession -i l
- Csession -u l
- Dsession -k l
Explanation
To promote a basic reverse shell session to a more powerful Meterpreter session in Metasploit, the 'sessions -u' command is used.
Common mistakes.
- A. The
-tflag is not used for upgrading sessions in Metasploit; it is typically associated with listing or filtering session types. - B. The
-iflag is used to interact with an existing session, not to upgrade it to a different type of session. - D. The
-kflag is used to kill or terminate an existing session, which is the opposite action of promoting it.
Concept tested. Metasploit session management (upgrading to Meterpreter)
Reference. https://docs.metasploit.com/docs/using-metasploit/basic-msf-usage/handling-sessions.html
Topics
Community Discussion
No community discussion yet for this question.