Skip to content

核心配置-请求参数配置-请求参数配置-随机UA 功能存在一个小问题? #116

Description

@cyxSec

image
下面的函数也会初始化httpConn对象的请求头,而header参数里面也包含UA参数,会把上面赋值的随机UA进行覆盖,随机UA也就失败了。

header参数在shell初始化时,存在默认值
image

连接时可以把默认的UA删除掉,当然更好的应该是把随机UA的代码放在初始化header之后

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions