- secubox-app-maltego: Transform Distribution Server in LXC - Python-based transform execution engine - REST API compatible with Maltego desktop client - Custom transform support via /srv/maltego/transforms/ - secubox-app-sherlock: Username hunting across social networks - Sherlock + Holehe integration for username/email OSINT - maigret, theHarvester, socialscan also installed - REST API with async task execution Both tools exposed via HAProxy at: - https://maltego.gk2.secubox.in/ - https://sherlock.gk2.secubox.in/ Streamlit OSINT dashboard deployed at: - https://osint.gk2.secubox.in/ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 lines
631 B
Bash
37 lines
631 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
START=95
|
|
STOP=10
|
|
USE_PROCD=1
|
|
|
|
CONTAINER="sherlock"
|
|
|
|
start_service() {
|
|
local enabled
|
|
config_load sherlock
|
|
config_get enabled main enabled 0
|
|
|
|
[ "$enabled" = "1" ] || return 0
|
|
|
|
procd_open_instance
|
|
procd_set_param command /usr/bin/lxc-start -n "$CONTAINER" -F
|
|
procd_set_param respawn 3600 5 5
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
procd_close_instance
|
|
}
|
|
|
|
stop_service() {
|
|
/usr/bin/lxc-stop -n "$CONTAINER" 2>/dev/null
|
|
}
|
|
|
|
reload_service() {
|
|
stop_service
|
|
sleep 2
|
|
start_service
|
|
}
|
|
|
|
service_triggers() {
|
|
procd_add_reload_trigger "sherlock"
|
|
}
|