Comments (1)
Hi @mk4no1 ! Thanks for opening this issue.
The error is pretty clear: there is a version mismatch. The docker API you are attempting to attack uses v1.37 while Gorsair expects the v1.39.
This can be fixed by passing the argument 1.37
instead of 1.39
in the calls to client.NewClientWithOpts
.
Feel free to implement this feature if you'd like, or I can leave this as a feature ticket to be taken by whoever is interested. It's pretty simple, the tasks would be:
- Add a CLI flag called
--docker-version
that is v1.39 by default but can be set to whatever - Pass this flag to the call(s) to
client.NewClientWithOpts
It should be quite fast and easy to implement, however I do not have time to work on Gorsair at the moment unfortunately.
from gorsair.
Related Issues (14)
- Dockerize Gorsair HOT 1
- Add CI
- Add options for stealth
- Add docker API integration to exploit docker socket HOT 1
- Install error HOT 4
- Fail when downloading Gorsair: syntax error near unexpected token `<' HOT 2
- Are you trying to connect to a TLS-enabled daemon without TLS? HOT 2
- Integrate Disgo
- Dependabot can't parse your go.mod
- Dependabot can't parse your go.mod
- Dependabot can't resolve your Go dependency files
- 同学,您这个项目引入了191个开源组件,存在7个漏洞,辛苦升级一下 HOT 1
- assignment mismatch: 2 variables but scanner.Run returns 3 values HOT 1
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 gorsair.