-
-
Notifications
You must be signed in to change notification settings - Fork 441
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
UX: confusing message on remote HTTP Error 400: Bad Request
error
#48
Comments
So, this error comonly happens when the target server doesn't support payloads sent by phpsploit. The The simplest way to fix this is by setting REQ_DEFAULT_METHOD to POST instead of GET: > set REQ_DEFAULT_METHOD "POST" this fixes the issue on most cases because web servers tend to accept much larger POST requests than GET, if the issue persists, maybe the servers can't handle POST requests above a certain threshold, which you can settle by changing If you want to keep using GET requests (as they tend to be more stealth), you can settle the values of the following variables:
NOTE: you can easily get help on settings, and the purpose of each setting using the general help about features of the > help set get informations about a specific setting, REQ_DEFAULT_METHOD in this example: > help set REQ_DEFAULT_METHOD list settings (and their current values): > set list all setting who start with 'REQ_'
If the problem persists after properly settling your settings, they are other very rare and specific case which we can discuss later. |
thanks that fix it for me, is it possible to run a file on remove PC? assuming file already exist and you want it executed |
Hi, i recommend you to use the |
Update: this issue in an indicator of confusing error message. |
HTTP Error 400: Bad Request
error
i keep getting error when i tried using UPLOAD syntax
-] HTTP Error 400: Bad Request
[-] upload: Python runtime error (exception occured):
[!] Request Error: Communication with the server impossible
The text was updated successfully, but these errors were encountered: