Using forge commands in scripting #461
-
|
Hey all, is there a way to use registered forge commands in scripting? Hier some example: While this is possible for buildin callback commands whenever I use a forge command I get: Rubeus is registered an works when tasking the callback directly in the browser. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
Ah, yup, you can't currently. Right now, Mythic is looking for the |
Beta Was this translation helpful? Give feedback.
-
|
If you use scripting version v0.2.6 then you should be able to specify a new field, |
Beta Was this translation helpful? Give feedback.
-
|
Hey, how can I update to scripting version v0.2.6? I did a clean install. I purged containers/volumes via system prune. I can see the
in the jupyter-docker/Dockerfile - but all I see in mythic event EventFeed is:
Sorry docker noob, |
Beta Was this translation helpful? Give feedback.
-
|
I created a new tagged version for you, so you should be able to just do:
I had pushed the updated Dockerfile, but didn't trigger a rebuild, but it should be good now. in general though, in your .env file you'll see a bunch of settings like |
Beta Was this translation helpful? Give feedback.
-
|
Thank you. Works now, realy cool! |
Beta Was this translation helpful? Give feedback.
I created a new tagged version for you, so you should be able to just do:
I had pushed the updated Dockerfile, but didn't trigger a rebuild, but it should be good now.
in general though, in your .env file you'll see a bunch of settings like
JUPYTER_USE_BUILD_CONTEXT="false"that are all*_USE_BUILD_CONTEXT. This is just a docker-ism way of saying if you want to use the local files to build a new image for your container or if you want to use a pre-existing image. These default tofalseso that you pull the latest images hosted on github. If you wanted a local change to appear, you can set that totruethen dosudo ./mythic-cli build [thing]and…