secubox-openwrt/package/secubox/secubox-app-sherlock/Makefile
CyberMind-FR 01b48e42ec feat(osint): Add Maltego iTDS and Sherlock security tools
- 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>
2026-03-15 08:36:56 +01:00

54 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-sherlock
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_MAINTAINER:=SecuBox <contact@secubox.in>
PKG_LICENSE:=MIT
include $(INCLUDE_DIR)/package.mk
define Package/secubox-app-sherlock
SECTION:=secubox
CATEGORY:=SecuBox
SUBMENU:=Applications
TITLE:=Sherlock OSINT Username Hunter
DEPENDS:=+lxc +lxc-attach +lxc-start +lxc-stop +lxc-info +curl +python3
PKGARCH:=all
endef
define Package/secubox-app-sherlock/description
Sherlock OSINT tool for hunting usernames across social networks.
Runs in an LXC container with REST API for web integration.
endef
define Package/secubox-app-sherlock/conffiles
/etc/config/sherlock
endef
define Build/Compile
endef
define Package/secubox-app-sherlock/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/sherlock $(1)/etc/config/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/etc/init.d/sherlock $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) ./files/usr/sbin/sherlockctl $(1)/usr/sbin/
endef
define Package/secubox-app-sherlock/postinst
#!/bin/sh
[ -n "$${IPKG_INSTROOT}" ] || {
mkdir -p /srv/sherlock/{results,cache}
/etc/init.d/sherlock enable
}
exit 0
endef
$(eval $(call BuildPackage,secubox-app-sherlock))