Coder Social home page Coder Social logo

gowmiexec's People

Contributors

c-sto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gowmiexec's Issues

panic: Got an unexpected response. Wanted 0x02 got 3

1.6167636056505682e+09 info wmiexec/wmiexec.go:176 Successfully connected to host and sent an RPC request packet
panic: Got an unexpected response. Wanted 0x02 got 3

goroutine 1 [running]:
main.main()
/home/runner/work/goWMIExec/src/github.com/C-Sto/goWMIExec/main.go:43 +0x65c

Auth successful,Execution command error

goWMIExec_win_v0.0.1-dev-e.exe -target "192.168.13.103:135" -username "administrator" -hash 976b0b02b3e232e15f934c78b87402ac -command "C:\Windows\system32\cmd.exe /c whoami"
1.6061078325528357e+09 info wmiexec/wmiexec.go:176 Successfully connected to host and sent an RPC request packet
1.6061078325528357e+09 info wmiexec/wmiexec.go:188 Resolved names, all network string bindings for host:
1.606107832553833e+09 info wmiexec/wmiexec.go:197 WIN-MLS4E80HOTO
1.6061078325571969e+09 info wmiexec/wmiexec.go:197 192.168.13.103
1.6061078325571969e+09 info wmiexec/wmiexec.go:205 Using first value as target hostname: WIN-MLS4E80HOTO
1.6061078325601912e+09 info wmiexec/wmiexec.go:300 WMI Access possible!
1.6061078325601912e+09 info wmiexec/wmiexec.go:340 Connecting to 192.168.13.103:49154
1.6061078325641837e+09 error wmiexec/wmiexec.go:476 Error: 2147944183
github.com/C-Sto/goWMIExec/pkg/wmiexec.(*wmiExecer).Exec
/home/runner/work/goWMIExec/src/github.com/C-Sto/goWMIExec/pkg/wmiexec/wmiexec.go:476
github.com/C-Sto/goWMIExec/pkg/wmiexec.WMIExec
/home/runner/work/goWMIExec/src/github.com/C-Sto/goWMIExec/pkg/wmiexec/wmiexec.go:786
main.main
/home/runner/work/goWMIExec/src/github.com/C-Sto/goWMIExec/main.go:41
runtime.main
/opt/hostedtoolcache/go/1.x/x64/src/runtime/proc.go:203
panic:

goroutine 1 [running]:
main.main()
/home/runner/work/goWMIExec/src/github.com/C-Sto/goWMIExec/main.go:43 +0x65c

test error

1.599615871744067e+09 info wmiexec/wmiexec.go:68 Hostname too long (over 16 chars). Using first 15 chars: APPLEDEMACBOOK-
1.599615871774055e+09 info wmiexec/wmiexec.go:176 Successfully connected to host and sent an RPC request packet
1.5996158717741098e+09 info wmiexec/wmiexec.go:188 Resolved names, all network string bindings for host:
1.599615871774127e+09 info wmiexec/wmiexec.go:197 vagrant-pc
1.5996158717741382e+09 info wmiexec/wmiexec.go:197 192.168.3.120
1.59961587177415e+09 info wmiexec/wmiexec.go:205 Using first value as target hostname: vagrant-pc
1.599615871833118e+09 info wmiexec/wmiexec.go:299 WMI Access possible!
panic: runtime error: slice bounds out of range [:33] with capacity

nca_s_fault_access_denied

i don't know why but i always get this error
panic: nca_s_fault_access_denied,
.\GO-WMIEXEC.exe -target "192.168.152." -username "" -password "*****" -command "whoami"
1.661889712004783e+09 info wmiexec/wmiexec.go:188 Getting network bindings from remote host
1.6618897120142725e+09 info wmiexec/wmiexec.go:193 Resolved names, all network string bindings for host:
1.6618897120152485e+09 info wmiexec/wmiexec.go:195 WinDev2208Eval
1.6618897120152485e+09 info wmiexec/wmiexec.go:195 192.168.152.129
1.6618897120160189e+09 info wmiexec/wmiexec.go:195 192.168.78.128
1.661889712026315e+09 info wmiexec/wmiexec.go:197 Using first value as target hostname: WinDev2208Eval
1.6618897120369613e+09 error wmiexec/wmiexec.go:287 Error: nca_s_fault_access_denied 5
GO-WMIEXEC/pkg/wmiexec.(*wmiExecer).Auth

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.