Skip to content

A Tool to use PowerShell Remoting / WinRM to execute PowerShell commands on remote hosts through WinRM double hop technique.

License

Notifications You must be signed in to change notification settings

an00byss/doublehop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doublehop

This tool aims to assist in using PowerShell Remoting / WinRM to execute PowerShell commands on remote hosts through WinRM double hop technique.

This tool assumes you have internal network and CLI access.

Usage

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.

Example

# 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

About

A Tool to use PowerShell Remoting / WinRM to execute PowerShell commands on remote hosts through WinRM double hop technique.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published