Skip to content
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

http method bug #53

Open
7a opened this issue Apr 8, 2016 · 1 comment
Open

http method bug #53

7a opened this issue Apr 8, 2016 · 1 comment

Comments

@7a
Copy link
Member

7a commented Apr 8, 2016

It looks like the request translator will fail when an "unusual" http method like PUT is used, the http method might need to be something like "OMG" or anything else, especially given the target user base of this tool who will all be trying to mess with a web server :)
NOTE: Other translation modes are probably also affected I guess?

Step 1) run in interactive mode

http_request_translator --interactive

Step 2) Paste the request
NOTE: The same request with a "GET" method worked
NOTE 2: When fixing, please try other methods like MEC, TEST or OMG, be creative, all strange methods should be translatable (hint for test case!) :)

PUT https://target.com/path/to/target HTTP/1.1
[some headers here...]

Step 3) Control + D and Control + D results in this error:
btw, please fix the horrible typo too :D

Please Enter a Vaild Request!
@7a 7a added the bug label Apr 8, 2016
@DePierre
Copy link
Contributor

Known issue since only GET and POST are supported for now.

https://github.com/owtf/http-request-translator/blob/dev/http_request_translator/base.py#L80

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

No branches or pull requests

2 participants