• Fiddler抓包【4】_重定向AutoResponder


    1. 文件及图片替换(Enable rules

    目的:允许从本地返回文件,代替服务器响应,而不用将文件发布到服务器【可用正式环境验证本地文件】

    步骤一:抓页面http://ir.baidu.com/phoenix.zhtml?c=188488&p=irol-irhome --->选择session,右击--->Save--->Response--->Entire Response

    步骤二:打开另存html文件--->修改内容

    步骤三:AutoResponder--->勾选Enable rules--->选择session--->点击“Add Rule”

    步骤四:Rule Editor--->第二个下拉框--->选择Find a file… --->选择修改后的html--->save;

    步骤四:Rule Editor--->第二个下拉框--->选择状态码--->save;

    步骤五:清空fillder抓包数据--->刷新http://ir.baidu.com/phoenix.zhtml?c=188488&p=irol-irhome --->页面--->查看结果;

     2. 未匹配到请求时正常响应(Unmatched requests passthrough

    不勾选Unmatched requests passthrough时地址错误;

     

     

     勾选Unmatched requests passthrough时地址错误不匹配;

    步骤:勾选Unmatched requests passthrough--->选中文件--->修改文件地址--->Save--->重新刷新http://ir.baidu.com/phoenix.zhtml?c=188488&p=irol-irhome页面

     

     

     3、设置延时(Enable Latency)

    步骤:勾选Enable Latency --->出现Latency列--->选中某个文件--->右击--->选择Set Latency--->设置延迟时间(3000毫秒)--->save--->重新刷新http://ir.baidu.com/phoenix.zhtml?c=188488&p=irol-irhome页面,设置的内容会发生3s的延迟;

    4、URL匹配

    EXACT开头:表示完全匹配

    regex开头:表示用正则表达式来匹配

    StringToMatch:字符串匹配

    5、Test是否匹配

    步骤:选中session--->点击Test--->查看是否匹配上;

  • 相关阅读:
    imgur.py
    lol.py
    flask twisted 结合方案
    免费的编程中文书籍索引
    python super研究
    汇编语言总结笔记 (四)
    汇编语言基础总结(三)
    汇编语言基础总结(二)
    汇编语言基础总结(一)
    CentOS 配置hadoop
  • 原文地址:https://www.cnblogs.com/sjl179947253/p/7625365.html
Copyright © 2020-2023  润新知