zoukankan      html  css  js  c++  java
  • goreplay 流量重放命令

    // 同步转发并且比对响应结果

    cd /production/www/go_replay/

    ulimit -n 65000

    /usr/local/bin/gor --input-raw :80 --input-raw-track-response   --input-raw-bpf-filter "host ! 167.xxx.xxx.xx"  --input-raw-override-snaplen --prettify-http --output-http http://192.168.3.110:80 --output-http-timeout 10s --output-http-workers 1000 --output-http-workers-min 100  --http-allow-header "Aww-Csid: xxxxx" --output-http-track-response --http-allow-method POST --middleware "/production/www/go_replay/client/middleware/sync --project {project_name}" --output-http-compatibility-mode --http-allow-url /article/detail

    // 流量收集到文件

    /usr/local/bin/gor --input-raw :80  --input-raw-track-response --input-raw-override-snaplen --prettify-http --input-raw-expire 5s --output-stdout  --http-disallow-header "Aci: xxxxx"  --output-file-size-limit 5m 

    // 请求重写

    /usr/local/bin/gor --input-raw :80  --output-http https://xxxx.com --output-http-timeout 10s --input-raw-override-snaplen --prettify-http  --http-set-header  "Host:"  --http-allow-url /article/add


    万水千山总是情, 领个红包行不行?

    觉得还可以的话记的打赏哦^.^..
  • 相关阅读:
    CTF-cookies欺骗
    CTF-速度要快100
    php实现登录注册界面
    CTF-秋名山老司机 100
    三大类型语句
    PHP运算符
    标记风格和注释
    连接串口服务器时的注意事项
    RS485转以太网的概述和应用领域
    工业级路由器的优点有哪些
  • 原文地址:https://www.cnblogs.com/mafeng/p/15179576.html
Copyright © 2011-2022 走看看