
WinRM 이중 홉 기술을 통해 원격 호스트에서 PowerShell 명령을 실행하기 위해 PowerShell Remoting / WinRM을 사용하는 도구
이 도구는 WinRM 이중 홉 기술을 통해 원격 호스트에서 PowerShell 명령을 실행하기 위해 PowerShell Remoting/WinRM을 사용하는 것을 돕기 위한 것입니다.
이 도구는 내부 네트워크 및 CLI 접근 권한이 있다고 가정합니다.
doublehop Usage():
-c string
Command we are executing.
-j string
Host we are executing command against.
-l string
Inital host we are jumping from.
-m string
Add hosts comma seperated. FORMAT: 'host1,host2'
-p string
Password for user
-u string
FORMAT: 'DOMAIN\USER' we are authenticating with.
# Execute against single host:
doublehop.exe -u "acme.local\pwneduser" -p "MySecurePass" -l wks01.acme.local -j server1.acme.local -c ipconfig
# Execute against multiple jump systems:
doublehop.exe -u "acme.local\pwneduser" -p "MySecurePass" -l wks01.acme.local -m "server1.acme.local,server2.amce.local" -c ipconfig