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

send field with empty value #687

Merged
merged 2 commits into from
Dec 6, 2023
Merged

send field with empty value #687

merged 2 commits into from
Dec 6, 2023

Conversation

dogancanbakir
Copy link
Member

$ cat ~/.config/katana/form-config.yaml 
color: '#e66465'
password: katanaP@assw0rd1
phone: "2124567890"
placeholder: katana


$ go run . -u http://0.0.0.0:8000 -aff -v

   __        __                
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/                                                   

                projectdiscovery.io

[INF] Current katana version v1.0.4 (latest)
[INF] Started standard crawling for => http://0.0.0.0:8000
[GET] http://0.0.0.0:8000
[form] [POST] http://0.0.0.0:8000/submit [email=]
^C[INF] - Ctrl+C pressed in Terminal
[INF] Creating resume file: /home/vscode/.config/katana/resume-clndk6s3j6ee0m16gv90.cfg
http://0.0.0.0:8000/submit


POST /submit HTTP/1.1
Host: 0.0.0.0:8000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Content-Length: 6
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

email=

HTTP/1.1 405 Method Not Allowed
Content-Length: 10
Allow: OPTIONS, GET, HEAD
Content-Type: text/plain; charset=utf-8
Date: Tue, 05 Dec 2023 08:10:50 GMT
X-Content-Type-Options: nosniff

read-only


Closes #679.

@dogancanbakir dogancanbakir self-assigned this Dec 5, 2023
@Mzack9999 Mzack9999 linked an issue Dec 6, 2023 that may be closed by this pull request
@Mzack9999 Mzack9999 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Dec 6, 2023
Copy link
Member

@Mzack9999 Mzack9999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!
Screenshot 2023-12-06 at 19 36 21

@Mzack9999 Mzack9999 merged commit 9899fe4 into dev Dec 6, 2023
13 checks passed
@Mzack9999 Mzack9999 deleted the send_field_with_empty_value branch December 6, 2023 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

katana sends an empty body
2 participants