
Uno strumento per utilizzare PowerShell Remoting / WinRM per eseguire comandi PowerShell su host remoti tramite la tecnica del doppio salto WinRM.
Questo strumento ha lo scopo di assistere nell'utilizzo di PowerShell Remoting / WinRM per eseguire comandi PowerShell su host remoti attraverso la tecnica del double hop WinRM.
Questo strumento presuppone che tu abbia accesso alla rete interna e alla 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