527 Commits

Author SHA1 Message Date
mzack
0a9f890fdd Removing invalid negative paths for windows 2021-12-20 14:11:55 +01:00
mzack
63b194c10a refactoring stop-resume logic with better tracking 2021-12-16 22:32:03 +01:00
Ice3man
fea3fabdf2
Misc changes to update logic (#1212)
* Misc changes to update logic

* Misc adjustments to update logic

* update: build check

* update: revert test update

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-12-16 13:59:19 +05:30
mzack
e279e0437d moving resume file to config folder 2021-12-10 12:45:29 +01:00
mzack
2f4b131f26 fixing resume skipping on-going scans 2021-12-10 12:27:34 +01:00
mzack9999
edc6e5f9b3 fix cross-os chunks calculation 2021-12-06 18:56:52 +01:00
Mzack9999
40d01412cb Fixing templates bundle unzip on windows 2021-12-06 18:12:39 +01:00
Sandeep Singh
df55f7a2eb
Disabling no-sandbox in headless engine (#1135)
* Disabling no-sandbox in headless engine

* limiting disabling sandbox to bare minimum

* adding warnings related to linux os and root user requirement

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2021-12-05 20:14:16 +05:30
Mzack9999
3c88afac0c
Fixing payloads path during validation (#1320)
* Fixing payloads path during validation

* Added GH Action for public template parsing / validation

* tracking payload errors as syntax warnings

* improving path parsing + introducing hard failure for runtime errors on validation

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-12-05 19:41:14 +05:30
Sandeep Singh
a0da7452e3
Merge pull request #1315 from projectdiscovery/validate-flag
validate flag updates
2021-12-02 17:23:34 +05:30
LuitelSamikshya
6d5146e540 validate flag updates 2021-12-01 10:35:18 -06:00
Ice3man
d6cfa556b8
Merge pull request #1306 from projectdiscovery/fix-stdin-reading
fix: #1274 spawned nuclei child process hangs reading stdin
2021-11-30 00:28:00 +05:30
mzack
2140ffa382 Adding stop-resume support 2021-11-29 14:38:45 +01:00
Ice3man543
c9943c0b2a fix: #1274 spawned nuclei child process hangs reading stdin
Next and final attempt at fixing the stdin parsing issue when spawing as child from nodejs
2021-11-29 14:38:55 +05:30
forgedhallpass
7e22d70ded refactor/documentation: typos and grammatical errors 2021-11-25 18:54:16 +02:00
forgedhallpass
ec6889931d refactor: linter driven fixes
* x = x + ""  => x += ""
* pre-allocating slice with known size
* added t.Helper() methods in test helpers
* complex if-else conditions replaced by switches
* errors should be checked using error.Is() instead of ==
* function parameter should start with lower case letter
* removed unnecessary type definition
* variable/label naming convention: camelCase instead of snake_case
2021-11-25 17:57:22 +02:00
forgedhallpass
3fd1f57b96 refactor: godoc and comment uniformization
Adding space after // and before the godoc/comment
2021-11-25 17:03:56 +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
forgedhallpass
f9c214a66f refactor: update logic refactor to make it more testable
Introduced logic to test for zip slip (path traversal)
2021-11-25 16:24:28 +02:00
forgedhallpass
4bccb6cf8a fix: File and directory creation permission changes
Directories: 0755 (5 - group and other can read cd into the directory and read it's content)
Files: 0644 (4 - group and other can only read the created files)
Tests files: 0777
2021-11-25 14:37:57 +02:00
Ice3man
1581c96e4e
Added matched-status flag + template-path and url to output (#1272)
* Added matched-status flag + template-path and url to output
2021-11-22 17:53:25 +05:30
Mzack9999
ca9676f52e
Adding support for clustering within workflow (#1255)
* Adding support for clustering within workflow
2021-11-22 04:49:53 +05:30
Sajad
f74ff3fc49
Tag based struct validation (#1256)
* Added tag based struct validation
2021-11-20 13:25:27 +05:30
Ice3man
50a816fce9
Fixed a crash with uninitialized interactsh client (#1251)
* Fixed a crash with uninitialized interactsh client
2021-11-16 20:02:39 +05:30
Ice3man543
c1a35b3ff9 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into more-protocols 2021-11-11 17:21:25 +05:30
LuitelSamikshya
0e46d3e041
feat: Checking socks5 proxy before launching a scan #1001 (#1225)
* Proxy validation and list input support

Co-authored-by: Sajad Parra <parrasajad@gmail.com>
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-11-10 21:30:03 +05:30
Ice3man543
213853c45d Merge from dev 2021-11-08 15:40:18 +05:30
Sandeep Singh
3c53e262e3
Merge pull request #1219 from projectdiscovery/uniq-interact
Unique Interactsh URL
2021-11-06 03:33:09 +05:30
Sajad Parra
4d8eaad0a3 add unit test for unique interactsh url #1068 2021-11-05 15:27:49 +05:30
Ice3man543
8ad3ebcd05 Made code changes as per review comments 2021-11-05 03:01:41 +05:30
Ice3man543
390ca8b3c6 Merge from dev 2021-11-03 18:58:00 +05:30
Sandeep Singh
0f897a3977
Merge pull request #1186 from projectdiscovery/protocol-types
Added new type and exclude-type flag
2021-11-03 18:47:26 +05:30
Ice3man543
47949c0b52 Use separate type enum for protocol types 2021-11-03 17:18:35 +05:30
Ice3man
09cad2557c
Merge pull request #1123 from EndPositive/remote-template-workflow-lists
Remote template workflow lists
2021-11-02 16:12:29 +05:30
Ice3man
331ae0f03b
Merge pull request #1171 from kchason/client-cert-auth
Add Support for Client Certificate Authentication
2021-10-31 02:08:18 +05:30
Alexey Zhuchkov
3f1186da2b Add error log support 2021-10-30 14:12:21 +03:00
Ice3man543
1ca2cf3bea Misc 2021-10-28 23:17:05 +05:30
Ice3man543
0abc7202b1 Misc fixes with goflags 2021-10-28 17:45:38 +05:30
Ice3man543
d124dbacc7 Moved all important execution stuff to engine 2021-10-28 17:20:07 +05:30
kchason
4a1440a17b Merge dev branch 2021-10-27 12:13:23 -04:00
Ice3man543
c16c93fe7c refactor the modules to core 2021-10-27 16:50:36 +05:30
Ice3man543
97645dde52 Added new workpool package + Misc refactor 2021-10-27 15:53:04 +05:30
Jop Zitman
86cf09fa3f Merge branch 'dev' into remote-template-workflow-lists
# Conflicts:
#	v2/cmd/nuclei/main.go
2021-10-26 15:33:39 +02:00
Ice3man543
6541b04f4c Added new type and exclude-type flag 2021-10-25 23:24:42 +05:30
Ice3man543
ca6cc51302 Color change for warning disclaimer 2021-10-25 17:47:39 +05:30
kchason
4b70560cc9 Merge branch 'master' into client-cert-auth 2021-10-21 13:59:39 -04:00
sandeep
fa79a16a9d reverting #1017 2021-10-21 05:56:15 +05:30
kchason
9c77f15012 Argument checks for presence and validity 2021-10-20 11:32:26 -04:00
Ice3man543
de01158556 Removed non-used code 2021-10-19 21:52:40 +05:30
Ice3man543
8c9d9a77bf Added self-contained to network protocol 2021-10-17 18:50:07 +05:30