powershell-reverse-http icon indicating copy to clipboard operation
powershell-reverse-http copied to clipboard

error creating powershell-reverse.exe

Open ghost opened this issue 9 years ago • 16 comments
trafficstars

hi sir, when i try to create powershell-reverse.exe it gives me this error no buildable Go source files in /usr/lib/go/src/src/golang.org/x/sys/windows/svc!!!

ghost avatar Aug 18 '16 22:08 ghost

Sorry, my fault! You need the golang.org/x/sys/windows:

go get golang.org/x/sys/windows

mauri870 avatar Aug 18 '16 22:08 mauri870

ok i'll give it a try thanks for help

ghost avatar Aug 18 '16 22:08 ghost

the same error here:

main.go:11:2: no buildable Go source files in /usr/lib/go/src/src/golang.org/x/sys/windows/svc !!

ghost avatar Aug 18 '16 22:08 ghost

What your OS?

mauri870 avatar Aug 18 '16 22:08 mauri870

kali linux 2016.1 32 bits

ghost avatar Aug 18 '16 22:08 ghost

On my windows 10 test machine works fine, but when I try build on my main linux machine I see the same error. Seems like you can build only for windows(a .exe binary). For this, you can try set the GOOS env to windows

env GOOS=windows go build

mauri870 avatar Aug 18 '16 22:08 mauri870

the same error again on kali liux, i guess i will try it on my windows..thanks

ghost avatar Aug 18 '16 22:08 ghost

$ go build main.go:11:2: no buildable Go source files in home/mauri870/gopath/src/golang.org/x/sys/windows/svc $ env GOOS=windows go build $ ls | grep .exe powershell-reverse-http.exe

:confused:

mauri870 avatar Aug 18 '16 22:08 mauri870

wow it's working like charm thanks a lot

ghost avatar Aug 18 '16 22:08 ghost

can i use my no-ip or my dns for an external hacking in the exploit.go to modify my lhost!

ghost avatar Aug 18 '16 22:08 ghost

I 've never tested it, but I think so

mauri870 avatar Aug 18 '16 23:08 mauri870

use have used powersploit to invoke shellcode right!

ghost avatar Aug 18 '16 23:08 ghost

Yes :smile: But an older fork version, because the latest versions dropped the support for metasploit

mauri870 avatar Aug 18 '16 23:08 mauri870

this attack just bypassed KASPERSKY TOTAL SECURITY 2017 AND AVIRA INTERNET SECURITY 2017,you've done a great work man....i will try it now on ESET NOD 32 and AVAST Premier edition 2017 ok bravo

ghost avatar Aug 18 '16 23:08 ghost

I will keep this issue open, thanks for testing

mauri870 avatar Aug 18 '16 23:08 mauri870

Hi,Mauri how to work

Gembeltz avatar Aug 31 '18 06:08 Gembeltz