Title here
Summary here
Spider supports all types of Python tools.
If you want to install Python package using pip install
, then follow this example. It is almost similar to APT
tool.
#!/bin/bash
# Include shells
source ./core/scripts/libs/config.sh
if command -v cyberonix &> /dev/null
then
echo_yellow "Cyberonix is already installed!"
else
echo "Installing Nmap..."
try pip install cyberonix
echo_green "Successfully installed!"
fi
{
"model": "tools.tool",
"pk": null,
"fields": {
"name": "Cyberonix",
"run": "cyberonix",
"script": "others/cyberonix.sh",
"category_slug": "others",
"short_desc": "Short description"
}
}
You can also build from Git repository:
#!/bin/bash
# Tool
export tool_language="python"
export tool_directory="waymore"
export branch_name="main"
export has_dependencies=true
export git_repo="https://github.com/xnl-h4ck3r/waymore"
# Install
source ./core/scripts/libs/install.sh
{
"model": "tools.tool",
"pk": null,
"fields": {
"name": "WayMore",
"lang": "python",
"directory": "waymore",
"run": "waymore.py",
"script": "others/waymore.sh",
"category_slug": "others",
"git_repo": "https://github.com/xnl-h4ck3r/waymore",
"short_desc": "Find way more from the Wayback Machine!"
}
}