-
Notifications
You must be signed in to change notification settings - Fork 62
Plugin Guide 🔌
Drew edited this page Aug 12, 2023
·
2 revisions
If you want a suggest an idea for a new plugin please do it here.
To add a new plugin you need to use the --add <URL>
option. The URL needs to be a remote github repository hosting a plugins.json
file.
drew@DESKTOP-A5AO3TO:~$ ds --add https://github.com/DataSurgeon-ds/ds-winreg-plugin/
[*] Download and added plugin: https://github.com/DataSurgeon-ds/ds-winreg-plugin/
To list all plugins you can use the --list
option.
drew@DESKTOP-A5AO3TO$ ds --list
Plugin File: /home/drew/.DataSurgeon/plugins.json
Source URL | Version | Argument Long Name
https://github.com/DataSurgeon-ds/ds-winreg-plugin | 1.0.0 | winregistry
https://github.com/DataSurgeon-ds/ds-cve-plugin | 1.0.0 | cve
Once your plugin file is loaded, the option will be added as an additional argument. As you can see the name of the argument is the Argument Long Name
.
drew@DESKTOP-A5AO3TO$ ds -h
Options:
......
-a, --aws Extract AWS keys
--winregistry Extracts windows registry paths
-V, --version Print version
You can update an existing plugin by using it's Source URL
or you can update all plugins by passing all
.
drew@DESKTOP-A5AO3TO$ ds --update https://github.com/DataSurgeon-ds/ds-cve-plugin
[*] Updated Plugin: https://github.com/DataSurgeon-ds/ds-cve-plugin
drew@DESKTOP-A5AO3TO$ ds --update all
[*] Updated Plugin: https://github.com/DataSurgeon-ds/ds-winreg-plugin
[*] Updated Plugin: https://github.com/DataSurgeon-ds/ds-cve-plugin
To remove a plugin you don't want anymore you can use the --remove
option.
drew@DESKTOP-A5AO3TO:~$ ds --remove https://github.com/DataSurgeon-ds/ds-winreg-plugin/
[*] Removed plugin: https://github.com/DataSurgeon-ds/ds-winreg-plugin/