spellshift / realm

Realm is a cross platform Red Team engagement platform with a focus on automation and reliability.
https://docs.realm.pub/
GNU General Public License v3.0
425 stars 32 forks source link

Add bulk tome uploader #465

Open hulto opened 10 months ago

hulto commented 10 months ago

Is your feature request related to a problem? Please describe. Right now if teams have private tomes they want to import they have to use the API or recompile the server.

Describe the solution you'd like Build a go script in the ./bin/ dir that will iterate over a provided directory and upload all of the tomes in it. Directories can be expected to be in the format:

./my-tomes/
./my-tomes/supersecret-tomes/
./my-tomes/supersecret-tomes/main.eldritch
./my-tomes/supersecret-tomes/metadata.yaml
./my-tomes/supersecret-tomes/files/
./my-tomes/supersecret-tomes/files/test123
./my-tomes/our-recon-tome/main.eldritch
./my-tomes/our-recon-tome/metadata.yaml
./my-tomes/our-recon-tome/files/
./my-tomes/our-recon-tome/files/test123

Describe alternatives you've considered Na

Additional context Na

KCarretto commented 9 months ago

Deprioritized for v0.1.0 since we now have git imports