Skip to content

Conversation

@1nhann
Copy link

@1nhann 1nhann commented Apr 9, 2022

魔改增加功能:

  1. hackRequests.http() / http() 增加了个 params 参数,支持传入 dict 形式的 query string(像 requests 一样)
  2. hackRequests.http() / http() 增加了个 timeout 参数 ,这样写时间盲注之类的脚本的时候会方便一点
  3. 增加了个 encode_invalid_chars() 函数,这样 url 当中的非法字符就会被 urlencode
  4. response 类增加了一个 elapsed ,通过调用 resp.elapsed.total_seconds() 能获得一次请求所用的时间,主要也是为了写盲注之类的脚本方便

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant