-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an API for PoshC2 #208
Comments
Hi b4, so ultimately all the operations of PoshC2 on the server side are controlled via its database, be that in the sqlite version or the postgres one. So long as the C2Server.py is running and polling data, you can achieve what you need by making a basic SQL query in most cases. There's no API as such at present exposing simple endpoints to perform tasks and no idea if its on the timeline, that's a question for @m0rv4i and @benpturner. I could totally see it being a sensible enhancement request to at least expose some more trivial server side endpoints to it. Say Get Tasks, Get Implants, Set Implant task or similar. If you have something in mind though already and have worked on it, feel free to submit a pull request for review. Leaving open in-case @m0rv4i or @benpturner want to comment :) |
Thanks @Console. Unfortunately there's no API at present but it's something that's on our radar, I'll edit this issue to make it a feature request that people can vote on. If you have a particular use case or example feel free to comment or ping me on slack and we can see if we can figure out a workaround for you in the mean time! |
Thank you all for your answers. |
Hello,
I can't found in the doc if we can interact with PoshC2 using a script of something like it? So a 3rd part sofware can interacte with it like an API or something.
Thank you :)
The text was updated successfully, but these errors were encountered: