Mzack9999
6f4b1ae48a
Replacing ccache with generic gcache ( #3523 )
...
* Replacing ccache with generic gcache
* fixing lint issues
* removing unecessary hashing + using errorutils
* making test more tolerant
* removing dead code + refactor
* removing redundant code
* removing race
* maint
* moving code
* adding more iterations
* note + typo
* temporary fixing stop-at-first-match with interact
* wrapping internal map with mux
* sort before running integration test
* fix deadlock in requestShouldStopAtFirstMatch
* add timeout to integration_test workflow
* attempting to remove outer lock
* adds interactsh protocol tests in integration_test
---------
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-04-16 23:19:35 +05:30
Keith Chason
4d96025bec
JSON Export Handling Updates ( #3466 )
...
* Switch -json to -jsonl
* Add JSON output file
* Update docs for EN and ID
* Fix linting issue with error wrap
* Add -j flag
* Fix call for short flag
* Correct typo "Ciper" to "Cipher" (#3468 )
* migrate dsl helper functions to dsl repo (#3461 )
* migrate dsl pkg code to dsl repo
* fix lint error
* upgrade dsl dependency
* upgrade deps
---------
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
* chore(deps): bump github.com/projectdiscovery/httpx in /v2 (#3469 )
Bumps [github.com/projectdiscovery/httpx](https://github.com/projectdiscovery/httpx ) from 1.2.7 to 1.2.9.
- [Release notes](https://github.com/projectdiscovery/httpx/releases )
- [Changelog](https://github.com/projectdiscovery/httpx/blob/main/.goreleaser.yml )
- [Commits](https://github.com/projectdiscovery/httpx/compare/v1.2.7...v1.2.9 )
---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/httpx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/weppos/publicsuffix-go in /v2 (#3472 )
Bumps [github.com/weppos/publicsuffix-go](https://github.com/weppos/publicsuffix-go ) from 0.20.0 to 0.30.0.
- [Release notes](https://github.com/weppos/publicsuffix-go/releases )
- [Changelog](https://github.com/weppos/publicsuffix-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/weppos/publicsuffix-go/compare/v0.20.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: github.com/weppos/publicsuffix-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/projectdiscovery/wappalyzergo in /v2 (#3473 )
Bumps [github.com/projectdiscovery/wappalyzergo](https://github.com/projectdiscovery/wappalyzergo ) from 0.0.81 to 0.0.88.
- [Release notes](https://github.com/projectdiscovery/wappalyzergo/releases )
- [Commits](https://github.com/projectdiscovery/wappalyzergo/compare/v0.0.81...v0.0.88 )
---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/wappalyzergo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/projectdiscovery/hmap in /v2 (#3470 )
Bumps [github.com/projectdiscovery/hmap](https://github.com/projectdiscovery/hmap ) from 0.0.10 to 0.0.11.
- [Release notes](https://github.com/projectdiscovery/hmap/releases )
- [Commits](https://github.com/projectdiscovery/hmap/compare/v0.0.10...v0.0.11 )
---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/hmap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* debug catalog path
* use paths instead of filepath for aws path
* deps update (#3477 )
* deps update
* fixing gologger via callback
* Moved `json-export` flag to the other exporters
* Switch "json[-_]exporter to jsonexporter"
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Ramana Reddy <90540245+RamanaReddy0M@users.noreply.github.com>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
Co-authored-by: shubhamrasal <shubhamdharmarasal@gmail.com>
2023-03-31 15:29:29 +05:30
Tarun Koyalwar
f8c5a45966
add mkdir support in headless screenshot ( #3457 )
...
* add mkdir support in headless screenshot
* use filepath to join paths
* print info when screenshot is saved
* change version to v2.9.1-dev
* minor fixings on windows path
---------
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2023-03-24 00:44:32 +05:30
Mzack9999
4c0d988a67
reworking interact mutex mechanism
2023-03-17 14:41:16 +01:00
Tarun Koyalwar
c3771e874d
fix data race in internal resultevent ( #3432 )
2023-03-16 23:20:38 +05:30
Tarun Koyalwar
f646e00c3d
fix unsafe raw request matchedUrl ( #3155 )
...
* fix unsafe raw request matchedurl
* quote metadata in CLI output
2023-01-05 21:02:36 +05:30
shubhamrasal
1df878fdd2
add template path in json output
2022-12-27 20:02:48 +05:30
xm1k3
0e3be82c72
Resuming rewriting the output file contents, so previous data removed ( #2890 )
...
* used OpenFile instead of Create()
* reverted to original mode
* fixes and resume flag added
* fix on noTimestapt var
* fix on flag
* better code refactoring
* fix on debug error
* code refactoring on file management
2022-12-15 21:11:23 +05:30
Ice3man
514c6e2d1e
Added timestamp optional flag + user-agent to probing ( #2962 )
...
* Added timestamp optional flag + user-agent to probing
* fix typo
* misc update
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-12-04 22:16:55 +05:30
vrenzolaverace
2aaf2a2158
Use utils helpers libraries ( #2809 ) ( #2810 )
...
* Use utils helpers libraries (#2809 )
* Use utils helpers libraries (#2809 )
2022-11-07 01:54:23 +05:30
M. Ángel Jimeno
af4854f90d
output: fix WriteStoreDebugData file permissions ( #2187 )
...
Fixes #2180
2022-06-20 17:10:22 +05:30
Sami
fa369b728e
ssl protocol with ms flag crash ( #2101 )
...
* crash with ssl protocol when used with ms flag fix
* added missing template info in case of failure
2022-06-03 13:32:45 +05:30
Ice3man
a2947192e2
Added mutex to output writing ( #1969 )
2022-05-10 18:47:22 +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
mzack
1551feda5a
temporary line calculation with multiple file read
...
todo: replace with one pass scan via io.reader
2022-02-23 23:32:25 +01:00
Ice3man
7d83d3f8c9
Added line number for file results + stats fixes ( #1495 )
...
* Added line number for file results + stats fixes
* Misc
* Improved file result line calculation as per review
* Added new match-all attribute for file template matcher line count
2022-02-10 15:59:05 +05:30
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
Alexey Zhuchkov
bccc8e921b
Add test for output
2021-10-30 15:04:16 +03:00
Alexey Zhuchkov
b8ebbc27f5
Use io.WriteCloser in output writer
2021-10-30 14:28:30 +03:00
Alexey Zhuchkov
cd2db280bf
Move output mutex to fileWriter
2021-10-30 14:28:30 +03:00
Alexey Zhuchkov
1eb0378952
Unwrap errors in json log output
2021-10-30 14:28:30 +03:00
Alexey Zhuchkov
933ed2429d
Update json log request format
2021-10-30 14:28:30 +03:00
Alexey Zhuchkov
3f1186da2b
Add error log support
2021-10-30 14:12:21 +03:00
sandeep
2b9bd7e9c3
Uniform JSON output
2021-10-19 01:26:21 +05:30
Ice3man
0e3c656103
Added curl command to http request report ( #1107 )
...
* Added curl command to http request report
2021-10-15 11:25:50 +03:00
forgedhallpass
c762cc88aa
Merge remote-tracking branch 'origin/dev' into code_smells
2021-09-10 15:33:09 +03:00
Ice3man543
e683212bb8
Made irr default for reporting + misc on new fields
2021-09-09 18:53:55 +05:30
forgedhallpass
555e609173
Merge remote-tracking branch 'origin/dev' into code_smells
2021-09-07 17:36:34 +03:00
forgedhallpass
0ce33927c7
Typo fixes.
2021-09-07 17:31:46 +03:00
forgedhallpass
16a54e3b98
YAML Unmarshal error in reporting template #995
2021-09-03 16:48:39 +03:00
forgedhallpass
40d88d2304
In-lined error checks, reduced scope of error variables, introduced new error variables instead of re-using them
2021-08-31 12:55:52 +03:00
Ice3man543
b7e3eec8db
Don't show timestamp with no-timestamp flag
2021-08-27 19:12:06 +05:30
forgedhallpass
5d89bb8056
RES-84 # Improve Nuclei CLI interface
...
* fixed issues reported by the linter
2021-07-19 21:04:08 +03:00
forgedhallpass
2635c65ce2
RES-84 # Improve Nuclei CLI interface (WIP)
...
* moved the Severity "enum" back to Nuclei (1 unit test failing)
2021-07-16 17:28:13 +03:00
forgedhallpass
2c7d8befcb
RES-84 # Improve Nuclei CLI interface (WIP)
...
* Rename of Info.Severity -> Info.SeverityHolder, Info.Author -> Info.Authors to reflect the underlying data
* extended the IsEmpty(interface{}) to handle maps
2021-07-13 11:12:03 +03:00
forgedhallpass
ed1dc103fe
RES-84 # Improve Nuclei CLI interface (WIP)
...
* Merge from parent
# Conflicts:
# v2/cmd/nuclei/main.go
# v2/internal/runner/config.go
# v2/internal/runner/templates.go
# v2/internal/runner/update.go
# v2/pkg/templates/compile.go
# v2/pkg/templates/compile_test.go
# v2/pkg/types/types.go
2021-07-12 17:20:01 +03:00
Ice3man543
3a1c7eb317
Fixed output praser
2021-07-06 21:15:40 +05:30
Ice3man543
fa9195eacb
Lint issues fixes
2021-06-14 17:14:16 +05:30
Ice3man543
b99f028a66
Enrich file output sarif with correct file metadata
2021-06-06 15:52:13 +05:30
Ice3man543
abc7063339
Work on sarif integration start
2021-06-05 18:01:08 +05:30
Ice3man543
4c594627a9
Started work on interact.sh support
2021-04-16 16:56:41 +05:30
Ice3man
39d57ea509
Fixed various post v2.3.1 release bugs ( #636 )
...
* Don't print timestamp with no metadata
* Fixed all templates running with some inputs
* Upgraded clistats to fix crash
* Fixed crash with ignored payload file
* Fixed stats counter issue for network templates
2021-03-19 22:13:41 +05:30
Ice3man543
b193e2af0e
Misc
2021-03-08 11:43:23 +05:30
Ice3man543
908889ccb5
Fixed expression parser + misc
2021-03-05 19:25:09 +05:30
Ice3man543
616ed342ed
Misc
2021-02-26 14:45:48 +05:30
Ice3man543
8512b684c5
Lint errors fix
2021-02-26 13:13:11 +05:30
Ice3man
8b8adb7b46
Merge branch 'dev' into issue-tracker-integration
2021-02-08 01:51:37 +05:30
Ice3man543
1ce09ac908
Misc
2021-02-05 14:43:11 +05:30
Ice3man543
4d9d53ca60
More tests + finished tag based execution
2021-02-04 18:29:28 +05:30
Ice3man543
f2c20dda12
More tests + tag based execution + misc
2021-02-04 01:09:29 +05:30