-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
MultipartParseError: Did not find boundary character #123
Comments
The script fails in the same way when called directly: #!/bin/sh
CONTENT_TYPE='multipart/form-data; boundary=---------------------------250220064916703015541512867370'
CONTENT_LENGTH=239
export CONTENT_TYPE CONTENT_LENGTH
exec \
/home/krzysztof/cgi-bin/upload <<'EOF'
-----------------------------250220064916703015541512867370
Content-Disposition: form-data; name="FILE"; filename=".bash_aliases"
Content-Type: application/octet-stream
-----------------------------250220064916703015541512867370--
EOF |
The error message seems wrong, The error message should be
After applying (backported) #124, I get:
|
boundary [index + 0o2] == 0o55
'-' == '\55'
'\55' != 0o55 🤡 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I tried using
multipart
from Python modulehttp.server
. It did not work. What am I doing wrong (apart from everything)?Server script
Server command
Payload
Server log
The text was updated successfully, but these errors were encountered: