
Ein Tool zur Nutzung von PowerShell-Remoting / WinRM, um PowerShell-Befehle auf entfernten Hosts mittels der WinRM-Double-Hop-Technik auszuführen.
Dieses Tool soll dabei helfen, PowerShell Remoting / WinRM zu verwenden, um PowerShell-Befehle auf entfernten Hosts mithilfe der WinRM-Double-Hop-Technik auszuführen.
Das Tool setzt voraus, dass Sie Zugriff auf das interne Netzwerk und die CLI haben.
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