Shubham Rasal
91f6fdfb36
Merge pull request #3031 from projectdiscovery/parse_from_reader
...
Add ParseTemplateFromReader function
2022-12-27 20:47:49 +05:30
Shubham Rasal
f5c6dec3a2
Merge pull request #3093 from projectdiscovery/output-template-path
...
add template path in json output
2022-12-27 20:47:23 +05:30
shubhamrasal
1df878fdd2
add template path in json output
2022-12-27 20:02:48 +05:30
dependabot[bot]
def88ba119
chore(deps): bump go.uber.org/multierr from 1.8.0 to 1.9.0 in /v2 ( #3087 )
...
Bumps [go.uber.org/multierr](https://github.com/uber-go/multierr ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/uber-go/multierr/releases )
- [Changelog](https://github.com/uber-go/multierr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/multierr/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/multierr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 21:01:54 +05:30
dependabot[bot]
56e7b23a89
chore(deps): bump github.com/projectdiscovery/wappalyzergo in /v2 ( #3084 )
...
Bumps [github.com/projectdiscovery/wappalyzergo](https://github.com/projectdiscovery/wappalyzergo ) from 0.0.74 to 0.0.75.
- [Release notes](https://github.com/projectdiscovery/wappalyzergo/releases )
- [Commits](https://github.com/projectdiscovery/wappalyzergo/compare/v0.0.74...v0.0.75 )
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 21:01:19 +05:30
dependabot[bot]
77176493aa
chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager in /v2 ( #3083 )
...
Bumps [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://github.com/aws/aws-sdk-go-v2 ) from 1.11.43 to 1.11.46.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/feature/s3/manager/v1.11.43...feature/s3/manager/v1.11.46 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/manager
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 21:01:05 +05:30
Mzack9999
34976029d3
removing most go routine leaks ( #3073 )
...
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-12-24 19:22:14 +05:30
Tarun Koyalwar
aee0870617
scanallip handle edge cases ( #3080 )
...
* bug fix:remove port during dns resolution
* scanallip fix edge cases
* add scanallips testcases
* workflow fix
* removing pull cmd
* Auto Generate Syntax Docs + JSONSchema [Sat Dec 24 13:29:21 UTC 2022] 🤖
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2022-12-24 19:03:23 +05:30
Ice3man
f3d5a15cbe
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into cloud-bug-fixes
2022-12-23 15:34:08 +05:30
Ice3man
ebf2ef0119
Merge branch 'main' of https://github.com/projectdiscovery/nuclei into cloud-bug-fixes
2022-12-23 11:09:35 +05:30
Ice3man
3411293e6a
Cloud related REST API bug fixes
2022-12-23 11:08:38 +05:30
shubhamrasal
406d0c1873
Rename function from ParseFromReader to ParseTemplateFromReader
2022-12-22 11:04:16 +05:30
Sandeep Singh
96646c8f53
cloud templates targets sync ( #2959 )
...
* Add s3 bucket template provider
- Refactor the custom github template code
- add interface for template provider
* Validate if aws creds are passed if bucket flag
- refactor s3 provider struct to take client
- add function which returns the aws s3 client
- update error messages
* Add aws s3 bucket flags documentation in README.md
- Rename the github_test.go to customTemplate_test.go
* go mod update
* Move template provider code to pkg/external/customtemplates dir
* Added initial data_source sync to cloud
* Misc
* Add pagination to scan output and scan list (#2858 )
* Add pagination to scan output and scan list
* Use time based parameters instead of page numbers
* Fix linting errors
* Do not check limits at client, check at server
* Remove unused constant
* Misc update
* Removed unnecessary flags
* Misc
* Misc
* Misc endpoint additions
* Added more routes
* Typo fix
* Misc fixes
* Misc
* Misc fixes to cloud target logic + use int for IDs
* Misc
* Misc fixes
* Misc
* Misc fixes
* readme update
* Add JSON output support for list-scan option (#2876 )
* Add JSON output support for list-scan option
* Fix typo in cloud JSON output description
* Following changes
- Update status(finished, running) to be lower-case by default
- Convert status to upper-case in DisplayScanList()
* Update status to be lower-case by default
* Remove additional json flag, instead use existing
* Merge conflict
* Accomodate comment changes and restructure code
Co-authored-by: Jaideep K <jaideep@one2n.in>
* Use integer IDs for scan tasks
* Added get-templates-targets endpoint + JSON + validation
* Added target count list
* misc option / description updates
* Added changes as per code review
* duplicate options + typo updates
* Added tablewriter for tabular data writing by default
* Fixed list scan endpoint
* Review changes
* workflow fix
* Added cloud tags etc based filtering (#3070 )
* Added omitempty for filtering request
* go mod tidy
* misc format update
Co-authored-by: shubhamrasal <shubhamdharmarasal@gmail.com>
Co-authored-by: Ice3man <nizamulrana@gmail.com>
Co-authored-by: Jaideep Khandelwal <jdk2588@gmail.com>
Co-authored-by: Siddharth Shashikar <60960197+shashikarsiddharth@users.noreply.github.com>
Co-authored-by: Jaideep K <jaideep@one2n.in>
2022-12-21 22:48:43 +05:30
Mzack9999
093d691c16
Issue 3033 deny list ( #3037 )
...
* fixing file deny list + refactoring
* err variable renaming
* removing redundant function
* removing unused code
* adding check on empty operator
* updating tests
2022-12-21 02:29:28 +05:30
xm1k3
bbb561b097
CLI variables are not accessible in SSL Protocol ( #3069 )
...
* added vars payload also in ssl
* fix on ssl.go, moved function on payloadValues creation
* added integration test
* rebase + minor changes
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2022-12-21 02:02:18 +05:30
Ice3man
76e9b34b81
Added omitempty for filtering request
2022-12-20 21:48:12 +05:30
xm1k3
aaae68ee50
The debug flags do not work correctly with headless templates ( #3030 )
...
* added check on BaseURL
* added debug flag instead on info
* added also debug response flag
* code refactoring
2022-12-20 17:30:34 +05:30
dependabot[bot]
71cdb1c335
chore(deps): bump github.com/projectdiscovery/goflags in /v2 ( #3057 )
...
Bumps [github.com/projectdiscovery/goflags](https://github.com/projectdiscovery/goflags ) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/projectdiscovery/goflags/releases )
- [Commits](https://github.com/projectdiscovery/goflags/compare/v0.1.5...v0.1.6 )
---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/goflags
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 16:54:35 +05:30
Mzack9999
2445662fb1
Fix memory leak on hmap with LRU ( #3052 )
...
* fix memory leak on hmap with LRU
* fixing lint issues
2022-12-20 15:37:48 +05:30
Ice3man
dc792a4036
Added cloud tags etc based filtering ( #3070 )
2022-12-20 15:06:37 +05:30
sandeep
6b91949695
Merge branch 'cloud-templates-targets-sync' of https://github.com/projectdiscovery/nuclei into cloud-templates-targets-sync
2022-12-20 14:35:48 +05:30
sandeep
22ba040214
workflow fix
2022-12-20 14:35:30 +05:30
Sandeep Singh
891ac9be3c
Merge branch 'dev' into cloud-templates-targets-sync
2022-12-20 14:27:26 +05:30
Ice3man
7b69b36a4f
Review changes
2022-12-20 00:31:13 +05:30
Tarun Koyalwar
63150a8ee4
add stop-at-first-match for headless protocol ( #3034 )
...
* headless: adds stop-at-first-match
* GH workflow fix
* misc fix
* headless use spm option
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-12-19 19:52:17 +05:30
shubhamrasal
b51aac290e
Add tests folder
2022-12-19 19:15:04 +05:30
shubhamrasal
cff0d88742
Add tests for parse function
...
- update the ioutils to io.ReadAll
- remove extra line
2022-12-19 18:51:20 +05:30
Mzack9999
d921a3e79f
Merge pull request #3056 from projectdiscovery/dependabot/github_actions/dev/goreleaser/goreleaser-action-4
...
chore(deps): bump goreleaser/goreleaser-action from 3 to 4
2022-12-19 12:47:22 +01:00
Mzack9999
4c2d120e3d
Merge pull request #3059 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/aws/aws-sdk-go-v2-1.17.3
...
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.17.2 to 1.17.3 in /v2
2022-12-19 12:47:00 +01:00
Mzack9999
4df98b26c2
Merge pull request #3060 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/wappalyzergo-0.0.74
...
chore(deps): bump github.com/projectdiscovery/wappalyzergo from 0.0.73 to 0.0.74 in /v2
2022-12-19 12:46:49 +01:00
Mzack9999
c86abc8480
Merge pull request #3061 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/xanzy/go-gitlab-0.77.0
...
chore(deps): bump github.com/xanzy/go-gitlab from 0.76.0 to 0.77.0 in /v2
2022-12-19 12:46:38 +01:00
Mzack9999
424393fd1b
Merge pull request #3058 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/ratelimit-0.0.3
...
chore(deps): bump github.com/projectdiscovery/ratelimit from 0.0.2 to 0.0.3 in /v2
2022-12-19 12:46:15 +01:00
Owen Rumney
b3d6155f57
fix: Check workflow templates when creating inputhttp helper ( #3049 )
...
* go mod update
* fix: Take workflow templates into account when building input helper
- when input helper is created, workflow templates aren't taken into account when deciding if http/https should be added to the inputsHTTP
- include the store.Workflows into the slice of templates that is checked for HTTP Protocol
Resolves #3048
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-12-19 17:04:09 +05:30
dependabot[bot]
69b1b543e8
chore(deps): bump github.com/xanzy/go-gitlab in /v2
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.76.0 to 0.77.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases )
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go )
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.76.0...v0.77.0 )
---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 05:03:32 +00:00
dependabot[bot]
6dd1ee4f53
chore(deps): bump github.com/projectdiscovery/wappalyzergo in /v2
...
Bumps [github.com/projectdiscovery/wappalyzergo](https://github.com/projectdiscovery/wappalyzergo ) from 0.0.73 to 0.0.74.
- [Release notes](https://github.com/projectdiscovery/wappalyzergo/releases )
- [Commits](https://github.com/projectdiscovery/wappalyzergo/compare/v0.0.73...v0.0.74 )
---
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>
2022-12-19 05:03:28 +00:00
dependabot[bot]
9eb2c75b4c
chore(deps): bump github.com/aws/aws-sdk-go-v2 in /v2
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.17.2 to 1.17.3.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.17.2...v1.17.3 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 05:03:24 +00:00
dependabot[bot]
f0b8d3a370
chore(deps): bump github.com/projectdiscovery/ratelimit in /v2
...
Bumps [github.com/projectdiscovery/ratelimit](https://github.com/projectdiscovery/ratelimit ) from 0.0.2 to 0.0.3.
- [Release notes](https://github.com/projectdiscovery/ratelimit/releases )
- [Commits](https://github.com/projectdiscovery/ratelimit/compare/v0.0.2...v0.0.3 )
---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/ratelimit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 05:03:02 +00:00
dependabot[bot]
e44c464c58
chore(deps): bump goreleaser/goreleaser-action from 3 to 4
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 05:00:59 +00:00
Ice3man
8eda1a2458
Fixed list scan endpoint
2022-12-18 19:16:39 +05:30
Ice3man
51a26ca2c1
Added tablewriter for tabular data writing by default
2022-12-17 23:02:04 +05:30
Ice3man
bfa0bd7bee
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into cloud-templates-targets-sync
2022-12-17 22:52:39 +05:30
sandeep
3fdf3be29a
duplicate options + typo updates
2022-12-17 02:51:47 +05:30
Ice3man
7e79aa8557
Merge branch 'cloud-templates-targets-sync' of https://github.com/projectdiscovery/nuclei into cloud-templates-targets-sync
2022-12-16 23:11:58 +05:30
Ice3man
3409f9fca3
Added changes as per code review
2022-12-16 23:10:43 +05:30
Sandeep Singh
b7337a9626
bug fix tlsx ocsp panic( #3036 ) ( #3041 )
...
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2022-12-15 23:34:09 +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
Víctor
fd59841372
Replace break line characters with HTML notation when exporting to markdown ( #3014 )
...
* Fixes #2997 , replace break line characters with HTML notation to avoid render the field text in a new line.
* using short helper
Co-authored-by: Víctor Zamanillo <victor.zamanillo@cifraeducacion.com>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2022-12-15 18:30:40 +05:30
shubhamrasal
de3dda0030
Update the Parse function to use ParseFromReader
2022-12-15 17:41:07 +05:30
sandeep
12a56cdbda
misc option / description updates
2022-12-14 02:13:42 +05:30
Mzack9999
a19385376c
Extending YAML to support include preprocessing ( #1767 )
...
* Add support for include directive
* adding yamlc support
* mod tidy
* removing yamlc
* moving code around
2022-12-14 01:05:14 +05:30