code-scan starred goWMIExec
2021-04-21 16:44:10 Author: github.com(查看原文) 阅读量:158 收藏

master
Switch branches/tags

1 branch 2 tags

Go to file

Code

Clone

Use Git or checkout with SVN using the web URL.

Latest commit

Files

Permalink

Failed to load latest commit information.

Type

Name

Latest commit message

Commit time

:(

Feb 26, 2020

Jan 24, 2020

Feb 26, 2020

Oct 15, 2019

Feb 26, 2020

README.md

Based on https://github.com/checkymander/Sharp-WMIExec/blob/master/Sharp-InvokeWMIExec/Program.cs

Which is based on https://github.com/Kevin-Robertson/Invoke-TheHash/blob/master/Invoke-SMBExec.ps1

Currently a (functional) work in progress.

Features:

  • Can authenticate using hash-only
  • Don't need to install impacket
  • Native go and byte bashing on TCP sockets, no need to run on Windows

Limitations:

  • Lots of static bytes. Future development will turn these into proper structures, and hopefully allow for other DCOM/COM methods to be used
  • Long commands won't work. Make them shorter, or create a PR to implement fragments in the Exec method.

Example: goWMIExec -target "172.16.50.202:135" -username "vagrant" -hash "e02bc503339d51f71d913c245d35b50b" -command 'C:\Windows\system32\cmd.exe /c echo test > C:\test.txt'

About

Really stupid re-implementation of invoke-wmiexec

Resources

Readme

Packages

No packages published

Languages


文章来源: https://github.com/C-Sto/goWMIExec
如有侵权请联系:admin#unsafe.sh