24 Commits

Author SHA1 Message Date
forgedhallpass
7e22d70ded refactor/documentation: typos and grammatical errors 2021-11-25 18:54:16 +02:00
forgedhallpass
fdd22ab668 refactor: Wrap errors using %w in fmt.Errorf
see:
 * https://github.com/xxpxxxxp/intellij-plugin-golangci-lint/blob/master/explanation/goerr113.md
 * https://go.dev/blog/go1.13-errors#wrapping-errors-with-w
2021-11-25 16:24:37 +02:00
mzack
9675efa680 Adding support for custom headers via CLI in raw http requests 2021-11-08 19:33:54 +01:00
Ice3man
191797380e
bug: Bug in URL parsing for unsafe templates #830
Fixed raw request path not correct with unsafe
2021-11-02 10:42:59 +02:00
Ice3man543
eac57fb229 Fixed host header not working in raw request 2021-10-18 18:39:32 +05:30
Ice3man543
736a530bde Added self-contained http requests implementation 2021-10-14 22:26:01 +05:30
Sullo
3abffe1f5d Only add a Host header automatically if the raw request is *not* marked unsafe.
This will prevent nuclei from adding it when the template author doesn’t want it and uses unsafe: true
Templates using raw requests without Host header were modified in https://github.com/projectdiscovery/nuclei-templates/pull/2784
2021-09-30 13:22:53 -04:00
mzack
50fa95747a Removing unwanted bytes operation for unsafe requests 2021-09-26 08:31:24 +02:00
Mzack9999
79dd0549cd Better host header handling in RFC comliant requests 2021-05-02 20:10:49 +02:00
Ice3man543
8512b684c5 Lint errors fix 2021-02-26 13:13:11 +05:30
Mzack9999
a4c1d2d9c2 Fixing output endpoint in unsafe request without host header 2021-02-24 22:36:40 +01:00
Ice3man543
a86bc9e586 Fixed raw http newline formatting 2021-02-22 18:59:03 +05:30
Ice3man543
d541b09928 Rawhttp fixes, render non-printable chars with unsafe 2021-02-22 18:22:44 +05:30
Mzack9999
39ca5ab7aa adding full request override 2021-02-20 02:02:57 +01:00
Mzack9999
527d6e2f67 Adding ordered headers - Fixes #534 2021-02-20 00:35:39 +01:00
Ice3man543
5d8a436368 Fixed path & port parsing for raw requests 2021-02-08 16:07:16 +05:30
Ice3man543
74c023016c Fixed raw request hostname with port issue 2021-02-05 15:03:58 +05:30
Ice3man543
d963fc0840 Fixed rawhttp header formatting issues 2021-02-01 16:21:49 +05:30
Ice3man543
8b93d5e1d2 Fixed extractions + input path clear + misc 2021-01-14 18:27:48 +05:30
Ice3man543
acb4d270ca Misc fixes 2021-01-12 02:26:19 +05:30
Ice3man543
4d800d8c0c Fixed bugs with progress and http path / handling 2021-01-12 02:00:11 +05:30
Ice3man543
99d16a4d02 More work on network protocol support + misc fixes 2020-12-30 21:14:04 +05:30
Ice3man543
7b02ef9c01 Starting to refactor http executer part 2020-12-26 14:55:15 +05:30
Ice3man543
7dcb6388d4 Raw request parser added in own package + test 2020-12-21 16:46:25 +05:30