jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.26k stars 232 forks source link

Suggest:the windows version of the agent #23

Closed Error996 closed 3 years ago

Error996 commented 3 years ago

I have try to build,But there are bugs:

Use cached CC address (fuckyou.com)? [Y/n] 
Use cached CC indicator (https://fuckyou.com/status.txt)? [Y/n] 
Use cached 432 bytes of guardian shellcode (%temp%)? [Y/n] 
 Copy ./tls/emp3r0r-key.pem to ./build
 Copy ./tls/emp3r0r-cert.pem to ./build
GO BUILD starts...
# github.com/vishvananda/netns
/root/go/pkg/mod/github.com/vishvananda/netns@v0.0.0-20191106174202-0a2b9b5464df/netns.go:27:13: undefined: syscall.Stat_t
/root/go/pkg/mod/github.com/vishvananda/netns@v0.0.0-20191106174202-0a2b9b5464df/netns.go:28:12: undefined: syscall.Fstat
/root/go/pkg/mod/github.com/vishvananda/netns@v0.0.0-20191106174202-0a2b9b5464df/netns.go:31:12: undefined: syscall.Fstat
/root/go/pkg/mod/github.com/vishvananda/netns@v0.0.0-20191106174202-0a2b9b5464df/netns.go:39:8: undefined: syscall.Stat_t
/root/go/pkg/mod/github.com/vishvananda/netns@v0.0.0-20191106174202-0a2b9b5464df/netns.go:43:12: undefined: syscall.Fstat
/root/go/pkg/mod/github.com/vishvananda/netns@v0.0.0-20191106174202-0a2b9b5464df/netns.go:52:8: undefined: syscall.Stat_t
/root/go/pkg/mod/github.com/vishvananda/netns@v0.0.0-20191106174202-0a2b9b5464df/netns.go:56:12: undefined: syscall.Fstat
/root/go/pkg/mod/github.com/vishvananda/netns@v0.0.0-20191106174202-0a2b9b5464df/netns.go:70:29: cannot use int(*ns) (type int) as type syscall.Handle in argument to syscall.Close
# github.com/zcalusic/sysinfo
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/kernel.go:24:12: undefined: syscall.Utsname
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/kernel.go:25:12: undefined: syscall.Uname
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:78:15: undefined: syscall.Mmap
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:78:56: undefined: syscall.PROT_READ
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:78:75: undefined: syscall.MAP_SHARED
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:82:9: undefined: syscall.Munmap
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:99:14: undefined: syscall.Mmap
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:99:58: undefined: syscall.PROT_READ
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:99:77: undefined: syscall.MAP_SHARED
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:103:8: undefined: syscall.Munmap
/root/go/pkg/mod/github.com/zcalusic/sysinfo@v0.0.0-20200820110305-ef1bb2697bc2/memory.go:103:8: too many errors
GO BUILD ends...
go build failed

build.py: /dev/shm/.{rand_str(random.randint(3, 9))} ---> %temp% just suggest :)

Error996 commented 3 years ago

but we can run shellcode on win so close it?

jm33-m0 commented 3 years ago

I have try to build,But there are bugs:

It's not bugs, emp3r0r doesn't support Windows platform yet, the code base is heavily Linux oriented.