348 Commits

Author SHA1 Message Date
sullo
a5fd6b79ab
Skip dead sites in reference annotation (#2156)
* Typo

* * Add list of dead reference sites
* Skip dead sites when annotating references

* Tighten up site regexes

* Lint cleanup

* One last url regex cleanup

* small code optimization

* using raw strings for regexes

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2022-06-14 11:04:00 +05:30
forgedhallpass
cadba90a5a test: extended the DSL helper integration test cases 2022-06-10 15:58:54 +03:00
forgedhallpass
179cf908a8 Revert "test: extended the DSL helper integration test cases"
This reverts commit ea0b6eae644f4965c34cd1436fc4e5ef6a597899.
2022-06-10 13:48:34 +03:00
forgedhallpass
ea0b6eae64 test: extended the DSL helper integration test cases 2022-06-10 13:33:16 +03:00
forgedhallpass
9fd9892f49 test: extra DSL function test cases 2022-06-08 20:58:46 +03:00
Ice3man
2b631e8e95
Add optional line number for file templates by default (#1966)
* Add optional line number for file templates by default

* updating docs

* misc flag update

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-06-02 17:06:50 +05:30
Ice3man
be5f1a7623
Added redirected matched URL + stop-at-first-match for redirect chains (#2050)
* Added redirected matched URL + stop-at-first-match for redirect chains

* Pleasing go-linter
2022-05-30 15:19:09 +05:30
Ice3man
34ed4e531a
Added hang monitor for goroutine dumping (#1949)
* Added hang monitor for goroutine dumping

* misc

* Made hang monitor optional with flag

* Added stack comparison for monitoring + misc

* Removed debug statements

* misc update

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-05-30 14:41:24 +05:30
Mzack9999
dd3b0a3cfc
Increasing buffer size on AND condition (#2030)
* Increasing buffer size on AND condition

* adding integration tests

* fixing tests data path
2022-05-30 13:45:28 +05:30
Mzack9999
16a05d0aa2
Adding CLI SNI support to unsafe http (#2077)
* Adding CLI SNI support to unsafe http

* adding http unsafe sni test
2022-05-27 21:53:07 +05:30
sandeep
91c35df911 version + readme update 2022-05-17 16:36:33 +05:30
Mzack9999
3d03be8183
Appending new references to existing ones (#1881)
* Adding support to append new references

* go modules

* improving reference detection

* replacing raw string manipulation with yaml lib

* standardizing description appearance

* omitting empty fields

* adding missing remediation and metadata

* misc update

* Limit max references to 5 + fixed variables section in templates

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
Co-authored-by: Ice3man <nizamulrana@gmail.com>
2022-05-14 17:36:48 +05:30
Mzack9999
39c7317ec3
Adding SNI override via request annotations (#1970)
* Adding SNI override via request annotations

* adding cli flag priority
2022-05-12 16:43:56 +05:30
Mzack9999
2f1330345f
Adding global SNI support for HTTP protocol via CLI (#1964)
* Adding global SNI support via CLI

* adding integration test

* adding cli option to docs

* reverting deleted test
2022-05-11 16:00:39 +05:30
Mzack9999
a534b9f06c
Fixing directory walk error check on windows (#1951)
* Fixing directory walk error check on windows

* moving check to helper package

* replacing godirwalk with standard library
2022-05-08 12:22:21 +05:30
Sandeep Singh
8b7e5535f8
Merge pull request #1902 from projectdiscovery/go-example-tests
Fixed nuclei go example + added relevant integration test
2022-04-28 18:09:11 +05:30
sandeep
99c896029e readme update 2022-04-28 12:10:23 +05:30
Ice3man
8a79837e1c Fixed broken lint error 2022-04-28 01:05:08 +05:30
Ice3man
8bb04d9a70 Added test file 2022-04-28 01:03:01 +05:30
Ice3man
a031ef32b4 Fixed nuclei go example + added relevant integration test 2022-04-28 01:02:06 +05:30
LuitelSamikshya
96b6b7c8e1 format correction 2022-04-27 12:52:07 -05:00
LuitelSamikshya
1a3d0c90a7 removed a flag from test case 2022-04-27 11:21:58 -05:00
LuitelSamikshya
3ccbfe4626 disable redirects flag 2022-04-27 11:19:44 -05:00
Sandeep Singh
d3b4a86d2a
Merge pull request #1785 from projectdiscovery/variables-introduction
Added variables for nuclei + refactor variable handling
2022-04-21 17:59:01 +05:30
Ice3man
b91bad813b Misc changes to PR 2022-04-20 15:36:02 +05:30
LuitelSamikshya
bab8c40bf8 lint error check 2022-04-11 15:30:58 -05:00
LuitelSamikshya
51927f22f0 older resume files clean up logic update 2022-04-11 15:23:46 -05:00
LuitelSamikshya
2574a225b1 Merge branch 'dev' of github.com:projectdiscovery/nuclei into issue-1797-cleanup-resume-files 2022-04-11 15:04:57 -05:00
sandeep
c8753b7ee9 readme update 2022-04-11 15:18:23 +05:30
Sami
ce79a8dc57
Template folder exists changes (#1825) 2022-04-11 11:59:22 +05:30
LuitelSamikshya
cea54c5909 clean up old resume files 2022-04-07 10:27:57 -05:00
Ice3man
aea79638c6 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into variables-introduction 2022-04-06 19:04:27 +05:30
Sandeep Singh
c5712c98f4
Fixed the default behavior of srd flag (#1817)
* fix: fixed automatic storing of debug response

* small code refactor

Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2022-04-06 16:49:36 +05:30
Mzack9999
ef2c7a574f
fixing integration test condition (#1813) 2022-04-05 17:42:13 +05:30
Mzack9999
0bab297328
improving default template path logic (#1806) 2022-04-05 04:03:49 +05:30
Ice3man
d0d65f8d6b Added integration tests for variables + misc changes 2022-04-02 02:14:00 +05:30
Sami
301307bb77
Issue 1705 save responses on disk (#1727)
* save response on disk

* lint error check

* store raw request/response

* lint error fix

* file path

* mock test fix

* readme update

* .txt extension

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-04-02 00:59:02 +05:30
Sandeep Singh
e1efa26be5
Merge pull request #1756 from projectdiscovery/issue-1730-header-flags
Add support for custom headers from file
2022-04-01 01:38:27 +05:30
sandeep
776b1e254c misc update 2022-04-01 01:28:50 +05:30
Ice3man
d09e71accf Added variables to http and network 2022-03-30 20:35:46 +05:30
Sandeep Singh
8ee4f9f797
Merge branch 'dev' into proxy-internal-requests 2022-03-23 23:12:51 +05:30
mzack
2de303ec7f Add support for custom headers from file 2022-03-23 18:07:02 +01:00
LuitelSamikshya
0ca16c4248 integration test for temp update/install 2022-03-21 16:11:58 -05:00
sandeep
adaf46b30e readme update 2022-03-21 13:05:06 +05:30
sandeep
49c5cca78b Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into proxy-internal-requests 2022-03-21 13:03:17 +05:30
sandeep
4203b68ca7 minor flag update 2022-03-21 13:02:23 +05:30
mzack
428841d946 Merge branch 'dev' into automatic-workflows 2022-03-17 12:27:50 +01:00
Ice3man
8ab2dc5e48 Added global http redirects follow support 2022-03-15 18:10:05 +05:30
Ice3man
014b260448 Migrated Ice3man543/nvd to organization repo 2022-03-14 12:37:43 +05:30
Ice3man
32bc6c1718 Misc changes, moving things around as per review 2022-03-14 12:32:05 +05:30