-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Space char at the headers argument #64
Comments
The problem is just happens when using the docker version. Fixed it |
Ok I installed it by default using pip3 install -r "requirements.txt" and "pip3 install ." When I run the command I don't get any output. Any help? APIFuzzer --src_url https://link.pt/rest/API/swagger.json --url https://link/rest/ --headers '[{"Authorization":"Basic basic64Token"}]' --log debug |
“The problem is just happens when using the docker version” So I have to run the docker with --entrypoint bash, and then run APIIFuzzer with headers inside container, it works for me now. |
@jotapikie |
When I add a header that contains a space character I get an error regarding JSON breaking the content after the space.
usage: APIFuzzer [-h] [-s SRC_FILE] [--src_url SRC_URL] [-r REPORT_DIR] [--level LEVEL] [-u ALTERNATE_URL] [-t TEST_RESULT_DST]
[--log {critical,fatal,error,warn,warning,info,debug,notset}] [--basic_output BASIC_OUTPUT] [--headers HEADERS] [-v]
APIFuzzer: error: argument --headers: ('%s is not JSON', '[{"Authorization":"Basic')
Is there any way to fix this?
The text was updated successfully, but these errors were encountered: