diff --git a/core/Registry.go b/core/Registry.go index 7418fb5..eb7fac9 100644 --- a/core/Registry.go +++ b/core/Registry.go @@ -5,7 +5,7 @@ import ( "github.com/shadow1ng/fscan/common" "github.com/shadow1ng/fscan/plugins/base" - // 导入新架构插件,触发自动注册 + // 导入跨平台服务插件(可在所有平台上运行) _ "github.com/shadow1ng/fscan/plugins/services/activemq" _ "github.com/shadow1ng/fscan/plugins/services/cassandra" _ "github.com/shadow1ng/fscan/plugins/services/ftp" @@ -30,30 +30,28 @@ import ( _ "github.com/shadow1ng/fscan/plugins/services/telnet" _ "github.com/shadow1ng/fscan/plugins/services/vnc" - // 导入Legacy插件适配器 - _ "github.com/shadow1ng/fscan/plugins/legacy/netbios" - _ "github.com/shadow1ng/fscan/plugins/legacy/ms17010" - _ "github.com/shadow1ng/fscan/plugins/legacy/smb" - _ "github.com/shadow1ng/fscan/plugins/legacy/smb2" - _ "github.com/shadow1ng/fscan/plugins/legacy/smbghost" - _ "github.com/shadow1ng/fscan/plugins/legacy/rdp" - _ "github.com/shadow1ng/fscan/plugins/legacy/elasticsearch" - _ "github.com/shadow1ng/fscan/plugins/legacy/findnet" + // 导入跨平台Legacy插件 + _ "github.com/shadow1ng/fscan/plugins/legacy/elasticsearch" // 跨平台服务 + _ "github.com/shadow1ng/fscan/plugins/legacy/findnet" // 网络发现 + _ "github.com/shadow1ng/fscan/plugins/legacy/ms17010" // Windows SMB漏洞(但扫描器可跨平台) + _ "github.com/shadow1ng/fscan/plugins/legacy/netbios" // NetBIOS协议(主要Windows但可跨平台扫描) + _ "github.com/shadow1ng/fscan/plugins/legacy/rdp" // RDP协议扫描(可跨平台) + _ "github.com/shadow1ng/fscan/plugins/legacy/smb" // SMB协议扫描(可跨平台) + _ "github.com/shadow1ng/fscan/plugins/legacy/smb2" // SMBv2协议扫描(可跨平台) + _ "github.com/shadow1ng/fscan/plugins/legacy/smbghost" // SMBGhost漏洞扫描(可跨平台) // 导入Web插件适配器 _ "github.com/shadow1ng/fscan/plugins/legacy/webtitle" _ "github.com/shadow1ng/fscan/plugins/legacy/webpoc" - // 导入跨平台本地插件 + // 导入跨平台本地插件(可在所有平台上运行) + _ "github.com/shadow1ng/fscan/plugins/local/cleaner" // 系统痕迹清理 + _ "github.com/shadow1ng/fscan/plugins/local/downloader" // 文件下载 _ "github.com/shadow1ng/fscan/plugins/local/fileinfo" // 文件信息收集 - _ "github.com/shadow1ng/fscan/plugins/local/dcinfo" // 域控信息收集 + _ "github.com/shadow1ng/fscan/plugins/local/forwardshell" // 正向Shell + _ "github.com/shadow1ng/fscan/plugins/local/keylogger" // 键盘记录(主要Windows但支持跨平台) _ "github.com/shadow1ng/fscan/plugins/local/reverseshell" // 反弹Shell _ "github.com/shadow1ng/fscan/plugins/local/socks5proxy" // SOCKS5代理 - _ "github.com/shadow1ng/fscan/plugins/local/avdetect" // 杀毒软件检测 - _ "github.com/shadow1ng/fscan/plugins/local/forwardshell" // 正向Shell - _ "github.com/shadow1ng/fscan/plugins/local/keylogger" // 跨平台键盘记录 - _ "github.com/shadow1ng/fscan/plugins/local/downloader" // 跨平台文件下载 - _ "github.com/shadow1ng/fscan/plugins/local/cleaner" // 跨平台系统痕迹清理 ) // ============================================================================= diff --git a/core/registry_windows.go b/core/registry_windows.go index a322d4c..59ac8ac 100644 --- a/core/registry_windows.go +++ b/core/registry_windows.go @@ -3,11 +3,15 @@ package core import ( + // Windows特有系统功能插件 + _ "github.com/shadow1ng/fscan/plugins/local/avdetect" // Windows 杀毒软件检测 + _ "github.com/shadow1ng/fscan/plugins/local/dcinfo" // Windows 域控信息收集 + _ "github.com/shadow1ng/fscan/plugins/local/minidump" // Windows 内存转储 + // Windows持久化插件 _ "github.com/shadow1ng/fscan/plugins/local/winregistry" // Windows 注册表持久化 _ "github.com/shadow1ng/fscan/plugins/local/winstartup" // Windows 启动文件夹持久化 _ "github.com/shadow1ng/fscan/plugins/local/winschtask" // Windows 计划任务持久化 _ "github.com/shadow1ng/fscan/plugins/local/winservice" // Windows 服务持久化 _ "github.com/shadow1ng/fscan/plugins/local/winwmi" // Windows WMI事件订阅持久化 - _ "github.com/shadow1ng/fscan/plugins/local/minidump" // Windows 内存转储 ) \ No newline at end of file