Question: Can I write non-ascii characters in HTTP request body or request header? #698
-
deserialization vulnerabilities may require this kind of features. I wonder if there's something like payload:
- base64_decode("based64_encoded_payload") |
Beta Was this translation helpful? Give feedback.
Answered by
ehsandeep
Dec 24, 2020
Replies: 1 comment 1 reply
-
@miaochiahao Yes, you can, here is an example using in template-based payload support, you can also use file-based payloads as well, and later apply helper functions at the time of using defined payloads in the request block as shared in the below example. requests:
- payloads:
data:
- this_is_payload
raw:
- |
GET /manager/html HTTP/1.1
Host: {{Hostname}}
Token: {{base64('§data§')}}
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0
Accept-Language: en-US,en;q=0.9
Connection: close |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ehsandeep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@miaochiahao Yes, you can, here is an example using in template-based payload support, you can also use file-based payloads as well, and later apply helper functions at the time of using defined payloads in the request block as shared in the below example.