Orange-Cyberdefense / arsenal

Arsenal is just a quick inventory and launcher for hacking programs
GNU General Public License v3.0
3.19k stars 471 forks source link

[Enhancement] Declaring variables within a file #92

Closed Anon-Exploiter closed 5 months ago

Anon-Exploiter commented 5 months ago

Hi,

I could not find a option within the README file or within the program's help menu which helps with declaring the variables required with commands within a file for ease of use for future.

At the moment, arsenal only allows setting of the (global) variables within the program itself, if we could extend it to load variables from a external file, that would make things much faster!

What is expected?

Loading of a file through an argument which then contains the variables to be used within the commands within arsenal.

domain=google.com
ip=1.1.1.1
user=anonymous

Hopefully, the request is clear enough, if not, feel free to reply for more details.

jubeaz commented 5 months ago

hello,

~/.arsenal.json

there are builtin commands to manipulate the file (set, clear, show)

Anon-Exploiter commented 5 months ago

oof, thanks!