
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
github.com/yangkaihello/go-timer
php 调取go-timer 扩展.通过composer 搜索server-timer https://github.com/yangkaihello/server-timer
go 的任务调度器可以代理执行本地服务器的脚本 如下是一个任务开启的方式
//加载历史任务
if err := timer.FileValueReader(); err != nil {
log.Println(err);return
}
//定时任务协程守护
timer.TimeTask()
//tcp协议加载内容
tcp := new(timer.TCPTask)
tcp.Accept()
//未来目标是准备设定一个任务调取管理器,会有主程序以及子程序
//通过主程序的服务器 来选择性的调度到对于子程序的服务器
"token@localhost -t=20200429121700 --CMD=\"ls\""
//服务器
token@localhost
//时间参数 一个纯数字的14位时间YmdHis
-t=20200429121700
//代理执行命令行 需要用双引号来代表开始和结束 内置的字符串需要用单引号来操作
--CMD="ls | grep 't'"
//申明一个io.reader 读取器
var reader *bufio.Reader
//连通tcp 8484 的本地端口
conn,_ := net.Dial("tcp","127.0.0.1:8484")
//创建一个io.reader读取器
reader = bufio.NewReader(conn)
//写入通信内容
bs := []byte(`root@localhost -t=20200429121700 --CMD="ls | grep 't'"`+"\n")
conn.Write(bs)
//读取通信内容
log.Print(ByteReader.ReadString('\n'))
//关闭连接
conn.Close()
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.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.