Commit Graph

536 Commits (fd8b46d3b52e41668e951fb4c078e0cb8dc0d050)

Author SHA1 Message Date
sandeep 78bb099412 Update runner.go 2022-03-08 10:11:06 +05:30
Sandeep Singh ce2a5c3d81
Merge branch 'dev' into issue-1594-regexp 2022-03-08 10:05:06 +05:30
Ice3man 88c5ca68eb Ignore error on pprof server close 2022-03-07 10:28:25 +05:30
Ice3man f6dc6264dd Added pprof-server support with ena
ble-pprof flag
2022-03-03 19:44:29 +05:30
mzack 64bea4da8c Merge branch 'dev' into issue-1594-regexp 2022-03-02 17:28:04 +01:00
mzack 630bf44c8b adding gh token 2022-03-02 17:02:51 +01:00
mzack 6e9ea761a7 Adding GH token detection 2022-03-02 16:56:32 +01:00
mzack 6cb522c9b2 Merge branch 'dev' into issue-1594-regexp 2022-02-28 11:42:46 +01:00
mzack 06ab0dfa99 making code more uniform with chosen architecture 2022-02-26 09:06:43 +01:00
Ice3man fb6ab39d65 Added interaction event highlighting support in debug mode 2022-02-25 23:11:56 +05:30
mzack e8780b7db1 Merge branch 'dev' into issue-1594-regexp 2022-02-25 13:04:46 +01:00
mzack 2409d7a713 dropping multiple scan 2022-02-24 22:41:33 +01:00
Ice3man 42b3a5d3e2 Allow random resume file generation on conflict + made resume string flag 2022-02-24 14:32:41 +05:30
Sandeep Singh bf7a9aa708
Merge branch 'dev' into proxy-to-stringslice 2022-02-24 01:43:53 +05:30
Ice3man 010bab5aaf Fixed failing tests due to missing field declaration 2022-02-23 21:45:55 +05:30
mzack 6746071979 Refactoring file templates to handle large files in chunks + removing deprecated io methods 2022-02-23 13:54:46 +01:00
Sajad 94d8c1d8e8
remove new-addtions file creation (#1624) 2022-02-22 13:10:57 +05:30
Mzack9999 0732406a68
Uniform behavior for input CLI flags (#1569)
* Adding file normalized string slice support

* updating goflags
2022-02-09 10:16:17 +05:30
mzack 5889a39fb4 Disable internal standard library logger 2022-02-01 14:46:40 +01:00
Ice3man 8dfa9cee39
Added debug-req/resp support for interactsh interactions (#1491)
* Added debug-req/resp support for interactsh interactions

* Added format function for interact debug logs + misc fixes

* Added function for interact debug header

* Typo fix

* Enable debug logging for req/resp debug flag
2022-01-27 12:14:32 +05:30
Ice3man bd7f32d92f Fixed stats calculation for payloads in http base request 2022-01-17 03:33:10 +05:30
Sandeep Singh 4421202bc1
Merge pull request #1492 from projectdiscovery/redundant-color-log
Do not print redundant color log info with blank severity
2022-01-16 17:19:16 +05:30
Ice3man fa6ec8a7e6 Do not print redundant color log info with blank severity 2022-01-15 06:17:23 +05:30
mzack 11df6da209 Excluding non yaml file from new additions loading 2022-01-14 11:20:19 +01:00
Ice3man 24326389a4
Added interactsh additional variables support (#1468)
* Added interactsh additional variables support

* Added support for interact server rotation

* Misc fixes to interact related modules

* Fixed a crash with interactsh

* Perform deduplication of output extract data before printing
2022-01-13 13:22:43 +05:30
Mzack9999 39519c01a6
Adding support for template id based execution (#1448) 2022-01-07 17:30:20 +05:30
Sandeep Singh 88bb6cb046
Merge pull request #1308 from projectdiscovery/issue-614-scan-resume
Adding stop-resume support
2022-01-03 15:07:30 +05:30
mzack 1f878192ec Merge branch 'dev' into issue-614-scan-resume 2021-12-23 13:15:47 +01:00
sandeep 50bad75cb4 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into interactsh-first-match-stop 2021-12-21 15:46:37 +05:30
Sajad Parra 911045ae9a add stop at first match for interactsh matchers 2021-12-21 14:20:03 +05:30
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