爬虫获取payload
时间: 2023-10-13 19:04:48 浏览: 111
在爬虫中获取payload主要是为了在POST请求中传递参数。可以通过准备数据、参数筛选和装配等步骤来实现。首先,需要读取爬虫结果,获取参数信息。接下来,读取Fuzz字典,筛选出需要传递动态参数的URL,并根据传参方式分类为GET和POST。然后,逐个将payload添加到动态参数末尾,如果是GET方式,则拼接URL和参数。最后,将爬虫结果和处理后的动态参数信息装配到请求对象中,通过发送请求并查看响应信息来验证是否存在漏洞。在验证阶段,可以使用标记去重的方式,将已经测试过的动态参数添加到数组中,并在测试新的动态参数之前检查是否已存在于数组中。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [python爬虫实现POST request payload形式的请求](https://download.csdn.net/download/weixin_38553648/12852917)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [爬虫处理payload请求](https://blog.csdn.net/qq_42583496/article/details/115479420)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [【毕设扫描器】【参数Fuzz】第一篇:数据的定义、读取和装配(爬虫数据和Payload数据)](https://blog.csdn.net/soldi_er/article/details/123954770)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文