Comments (5)
from sliver.
Alright finally found the issue:
sliver/server/assets/assets.go
Lines 182 to 187 in f2a3915
We need to use path.Join()
instead of filepath.Join()
here because embed.fs
doesn't care about platform specific paths, and uses Unix notation. So we end up looking for Windows paths in the embedded filesystem, and since they don't exist we return an error. I'll need to check other places where we do that before pushing a fix, but TL;DR is it's Windows specific.
from sliver.
Also, this one seems to be a duplicate of #902 now that I think of it.
from sliver.
Looks like there's another bug with GOPATH
not being set on Windows:
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:164] go cmd: 'C:\Users\lab\.sliver\go\bin\go tool dist list'
INFO[2023-08-04T13:03:57-07:00] [sliver/server/rpc/rpc-client-logs.go:117] Received 22 bytes of client console log data for stream asciicast
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:167] --- env ---
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] CC=
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] CGO_ENABLED=
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] GOOS=
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] GOARCH=
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] GOPATH=
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] GOCACHE=C:\Users\lab\.sliver\go\cache
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] GOMODCACHE=C:\Users\lab\.sliver\go\modcache
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] GOPROXY=
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] HTTP_PROXY=
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] HTTPS_PROXY=
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:169] PATH=C:\Users\lab\.sliver\go\bin:C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\lab\AppData\Local\Microsoft\WindowsApps;C:\Users\lab\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\lab\.dotnet\tools
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:171] --- stdout ---
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:172] --- stderr ---
go tool dist: mkdir C:\Windows\go-tool-dist-3250880400: Access is denied.
INFO[2023-08-04T13:03:57-07:00] [sliver/server/gogo/go.go:173] exit status 1
from sliver.
So much this lol, I raged quit this afternoon honestly. I'll have another look next week.
from sliver.
Related Issues (20)
- `procdump` crashes inconsistently HOT 1
- QUESTION. How to run BOF Files with Coff-loader. HOT 1
- Run on load not working HOT 6
- Generate error on Windows server HOT 2
- Readline lib eats backslash characters HOT 2
- i am facing armory extension installation error in linux HOT 1
- Error: rpc error: code = Unknown desc = exit status 1 - Please make sure Metasploit framework >= v6.2 is installed and msfvenom/msfconsole are in your PATH HOT 2
- No UserAgent on windows implants
- DNS Issues with resolvers using DNS-0x20 encoding HOT 12
- QUESTION: how to execute implant without popping CMD window on Windows? HOT 1
- Add homepage option to websites
- Named pipe stager error HOT 1
- winrm extension issue with WSL
- sideload does not parse well the blank spaces HOT 2
- Multiplayer Mode not functioning (context deadline exceeded) HOT 8
- Beacons renaming HOT 1
- Postgres FK constraint errors with fresh install HOT 3
- [!] Error: rpc error: code = Unknown desc = Invalid format: shellcode - Please make sure Metasploit framework >= v6.2 is installed and msfvenom/msfconsole are in your PATH HOT 3
- DNS still not working in latest sliver
- `armory install` drives me crazy with repetition of `? Overwrite current install (y/N)` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sliver.