找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
楼主: aser

【火爆】利用 Memcache 作为 DRDoS 反射放大器进行 DDoS 攻击

[复制链接]

29

主题

632

回帖

1429

积分

金牌会员

积分
1429
发表于 2018-3-2 11:33:24 | 显示全部楼层
可怕,我怎么觉得昨天的攻击就是这种类型的呢  哈哈
回复

使用道具 举报

203

主题

6116

回帖

1万

积分

论坛元老

积分
13027
发表于 2018-3-2 11:34:19 | 显示全部楼层

hdown 发表于 2018-3-2 11:59

nodejs版本不对。
用3.*或者4.*

4.x不行啊

[root@localhost MemcacheDos]# npm install --unsafe
npm WARN package.json rawsocks@1.0.0 No repository field.

> raw-socket@1.5.2 install /root/MemcacheDos/node_modules/raw-socket
> node-gyp rebuild

Traceback (most recent call last):
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in
    sys.exit(gyp.script_main())
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 533, in script_main
    return main(sys.argv[1:])
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 526, in main
    return gyp_main(args)
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 502, in gyp_main
    params, options.check, options.circular_check)
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 129, in Load
    params['parallel'], params['root_targets'])
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2736, in Load
    variables, includes, depth, check, True)
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 386, in LoadTargetBuildFile
    includes, True, check)
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 238, in LoadOneBuildFile
    None)
  File "binding.gyp", line 1
    {
     ^
SyntaxError: invalid syntax
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 2.6.32-696.10.3.el6.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/MemcacheDos/node_modules/raw-socket
gyp ERR! node -v v4.2.6
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Linux 2.6.32-696.10.3.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--unsafe"
npm ERR! node v4.2.6
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE

npm ERR! raw-socket@1.5.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the raw-socket@1.5.2 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the raw-socket package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls raw-socket
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/MemcacheDos/npm-debug.log
回复

使用道具 举报

169

主题

2101

回帖

4769

积分

论坛元老

积分
4769
发表于 2018-3-2 08:48:00 | 显示全部楼层

domin 发表于 2018-3-2 17:41

4.x不行啊

[root@localhost MemcacheDos]# npm install --unsafe

# node -v
v4.8.2

我 这个版本测试没有问题
回复

使用道具 举报

203

主题

6116

回帖

1万

积分

论坛元老

积分
13027
发表于 2018-3-2 12:38:07 | 显示全部楼层

hdown 发表于 2018-3-2 17:50

# node -v
v4.8.2

悲剧.. 一样版本也不行.

SyntaxError: invalid syntax
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
gyp ERR! System Linux 2.6.32-696.10.3.el6.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/MemcacheDos/node_modules/raw-socket
gyp ERR! node -v v4.8.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 2.6.32-696.10.3.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.8.2
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE

npm ERR! raw-socket@1.5.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the raw-socket@1.5.2 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the raw-socket package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs raw-socket
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls raw-socket
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/MemcacheDos/npm-debug.log
[root@localhost MemcacheDos]# node -V
node: bad option: -V
[root@localhost MemcacheDos]# node -v
v4.8.2
回复

使用道具 举报

169

主题

2101

回帖

4769

积分

论坛元老

积分
4769
发表于 2018-3-2 17:41:47 | 显示全部楼层

domin 发表于 2018-3-2 17:52

悲剧.. 一样版本也不行.

SyntaxError: invalid syntax

rm -rf node_modules
npm install
回复

使用道具 举报

203

主题

6116

回帖

1万

积分

论坛元老

积分
13027
发表于 2018-3-2 11:59:00 | 显示全部楼层

hdown 发表于 2018-3-2 17:54

rm -rf node_modules
npm install

一样啊...
看来还是等C版本.
回复

使用道具 举报

169

主题

2101

回帖

4769

积分

论坛元老

积分
4769
发表于 2018-3-2 17:50:02 | 显示全部楼层

domin 发表于 2018-3-2 17:57

一样啊...
看来还是等C版本.

等golang版本
回复

使用道具 举报

26

主题

794

回帖

1746

积分

金牌会员

积分
1746
发表于 2018-3-2 17:41:00 | 显示全部楼层
牛逼长知识了,用来打港服岂不是一打就跪。
回复

使用道具 举报

35

主题

851

回帖

1867

积分

金牌会员

积分
1867
发表于 2018-3-2 17:52:59 | 显示全部楼层
还好没用这个
回复

使用道具 举报

28

主题

442

回帖

1024

积分

金牌会员

积分
1024
发表于 2018-3-2 17:50:00 | 显示全部楼层
没ip呀!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2025-4-20 05:19 , Processed in 0.018144 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表