GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Java-Rce-Echo/Linux at master · SecLoop/Java-Rce-Echo

Expand file tree

/

Linux

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

Linux

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
code
code
 
 
imgs
imgs
 
 
README.md
README.md
 
 

README.md

Outline

Linux 通用回显

说明

  • case1.jsp 中的代码逻辑较为简单,遍历当前进程 fd 目录下的所有和 socket 相关的 fd 文件,并输出结果,效果如下

    case1.jsp效果

    但是这种方法存在二个缺陷:
    • 会影响同一时间点所有访问网站的用户(也会看到自定义回显的结果)
    • 导致应用崩溃
      • 使用本地虚拟机 Kali Linux 搭建的 Tomcat 9.0.36 测试,Tomcat 进程不会崩溃
      • 使用 腾讯云VPS 搭建的 Tomcat 8.5.56 测试,连续访问此文件 8次左右,应用崩溃(Tomcat 进程还在,但是不会再监听 8080 端口),且有时候重启 Tomcat 也没用,Tomcat 依然会报 java.io.IOException: Bad file descriptor 错误,需要重启 VPS 应用崩溃 进程还在,但是不在监听端口

  • case2.jsp 中的代码通过延迟等方法来确定唯一正确的 fd 文件,不会影响访问网站的其他用户,也不会导致应用崩溃

    case2.jsp效果

参考

  • linux下java反序列化通杀回显方法的低配版实现
  • 通杀漏洞利用回显方法-linux平台
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.