Comments (1)
is there a way to load .o extensions directly using coff-loader, or if I need to import the extension using extensions.json, how can I do it?
Yes, but it's tedious. coff-loader
being an extension itself, it expects arguments being passed in a certain way. The arguments are packed using the same argument parser than the BOFs use (see here). These arguments are (in order):
- the name of the export to call in the COFF file
- the COFF file data itself
- the packed arguments for the BOF
As I said, this is tedious, hence why the sliver-client
does that for you when you register a new extension. The coff-loader
command in the client was never intended to be used directly, and afaik, there's no way to make it work properly due to how you need to pass arguments to it (I'll probably mask it in v1.6).
Now, what you want to do is to add your custom extension. To do so, you can either use extension load
and extension install
, or just drop your extension files in a new folder in ~/.sliver-client/extensions/YOUR_EXTENSION_NAME
. Be mindful that the YOUR_EXTENSION_NAME
needs to match the command name in the manifest file (extension.json
). So in your case, it should be named etw-test
.
from sliver.
Related Issues (20)
- New version of mingw seems to break implants HOT 6
- Free automatic execution HOT 2
- Sliver DNS C2 HOT 1
- How to StartW a implant reflectively injected HOT 2
- Shikataganai not available in New Profiles HOT 4
- failed to perform armory install on windows HOT 3
- migrate : `record not found` HOT 6
- Error when starting Listener In http with new profile HOT 1
- DNS C2 still broken? HOT 2
- QUESTION. Is it a way to work arround memory scanner with a sliver implant. HOT 4
- DNS implant beacon interval without function?
- Sliver rpc error: code = Unknown desc = exit status 1 (Attempting to Generate Wireguard Implant) HOT 5
- `procdump` crashes inconsistently 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
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.