Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/phantacix/go-admin-panel
config
环境配置文件、系统配置表。core
通用的公共文件。logs
系统启动时zap
日志系统生成的日志文件。misc
系统必要的一些杂项配置文件,例如:db脚本、文档、程序启动脚本。module
模块功能,目前admin
放系统权限管理代码。publish
发布目录。resources
静态资源目录。UI资源和功能html引擎模块。File->Settings->Go->Go Modules(vgo)
,勾选Enable Go Modules(vgo) integration
,设置Proxy
为https://goproxy.cn
config/env/local/admin.json
配置文件。请确认端口
可用,mysql
结点的数据库、帐号和密码正确。config/env
创建自己的环境目录。并且在Debug Configurations/Program arguments
设置-env=xxx
。module/admin/admin_test.go
中的TestAdminDBMigrate()
函数即可创建表结构,或手工导入misc/db_script/go_admin_panel.sql
文件。layui
,说明文档请访问 https://www.layui.com/doc/golang
系统自带的template
。请搜索golang template
查询查关语法。FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.