Skip to content

Conversation

@moonD4rk
Copy link
Contributor

在测试一些注入漏洞时,需要将 Payload 追加到参数

payloads = ['>']
url = 'https://www.example.com/path/index;params?a=1&b=2&c=3#fragment'
mixPayload(url, payloads, ['query', 'fragment'], append=True)
	
# 将所有 > 追加到参数上
['https://www.example.com/path/index;params?a=1>&b=2&c=3#fragment', 'https://www.example.com/path/index;params?a=1&b=2&c=3>#fragment', 'https://www.example.com/path/index;params?a=1&b=2>&c=3#fragment', 'https://www.example.com/path/index;params?a=1&b=2&c=3#fragment>']

append 只对 queryfragment 有效

默认方式为 replace

@Tr3jer
Copy link
Member

Tr3jer commented Apr 16, 2020

@moonD4rk 优秀,有道理,晚些看下,多谢!

@Tr3jer Tr3jer merged commit 9eee967 into Symbo1:master Apr 16, 2020
@Tr3jer Tr3jer added the enhancement New feature or request label Apr 16, 2020
@Tr3jer
Copy link
Member

Tr3jer commented Apr 16, 2020

@moonD4rk 0.2.3已更新,thanks Again!

@moonD4rk
Copy link
Contributor Author

@moonD4rk 0.2.3已更新,thanks Again!

我们更该感谢你才对,开源了这么优秀有用的库,帮我们节省了很多时间。👍

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants