5709 Commits

Author SHA1 Message Date
Mzack9999
0bf8fc027d
Fixing nil pointer reference + use map helper (#3421)
* Fixing nil pointer reference + use map helper

* bump tlsx version to v1.0.6

* increase interactsh polling in integration_test

* fix nil pointer dereference in integration_test

* fix lint error

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-03-14 21:27:48 +05:30
Sandeep Singh
3f3f23264b
tlsx dep update (#3422) 2023-03-14 18:43:46 +05:30
Austin Traver
0d90a555f6
adds -track-error option to add custom errors to max-host-error watchlist (#3399)
* Allow user to specify for "context deadline exceeded" errors to count toward the max host error count

* Convert flag to a string slice `--track-error`

* Minimize diff

* Add documentation for `-track-error`

* adds unit test & minor improvements

* update flag description

---------

Co-authored-by: Austin Traver <austin_traver@intuit.com>
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-03-14 13:59:42 +05:30
dependabot[bot]
bcb1a8811d
chore(deps): bump github.com/go-playground/validator/v10 in /v2 (#3415)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.11.1 to 10.11.2.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.11.1...v10.11.2)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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>
2023-03-13 14:09:49 +05:30
dependabot[bot]
1b30526f23
chore(deps): bump github.com/projectdiscovery/utils in /v2 (#3417)
Bumps [github.com/projectdiscovery/utils](https://github.com/projectdiscovery/utils) from 0.0.13 to 0.0.15.
- [Release notes](https://github.com/projectdiscovery/utils/releases)
- [Commits](https://github.com/projectdiscovery/utils/compare/v0.0.13...v0.0.15)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/utils
  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>
2023-03-13 13:27:00 +05:30
dependabot[bot]
37c69f38e0
chore(deps): bump golang from 1.20.1-alpine to 1.20.2-alpine (#3414)
Bumps golang from 1.20.1-alpine to 1.20.2-alpine.

---
updated-dependencies:
- dependency-name: golang
  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>
2023-03-13 13:25:26 +05:30
dependabot[bot]
9ba4a74539
chore(deps): bump github.com/projectdiscovery/yamldoc-go in /v2 (#3416)
Bumps [github.com/projectdiscovery/yamldoc-go](https://github.com/projectdiscovery/yamldoc-go) from 1.0.3-0.20211126104922-00d2c6bb43b6 to 1.0.4.
- [Release notes](https://github.com/projectdiscovery/yamldoc-go/releases)
- [Commits](https://github.com/projectdiscovery/yamldoc-go/commits/v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/yamldoc-go
  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>
2023-03-13 13:25:08 +05:30
Jordan Potti
6ab4bf25f9 Support for Jira custom fields 2023-03-10 15:55:54 -07:00
sullo
62bc659914
Change "Operative System" to "Operating System" (#3400) 2023-03-09 12:36:55 +05:30
Shubham Rasal
572c8eb780
Issue 2987 fuzz options (#3355)
* Add override fuzzing type and mode flags

* Update english readme

* Fix failing tests

* Add the integration tests

- validate the command line overriding type and mode for fuzzing
2023-03-06 16:56:38 +05:30
dependabot[bot]
011d61eb39
chore(deps): bump golang.org/x/text from 0.7.0 to 0.8.0 in /v2 (#3393)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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>
2023-03-06 16:28:34 +05:30
dependabot[bot]
bf58544829
chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager in /v2 (#3392)
Bumps [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://github.com/aws/aws-sdk-go-v2) from 1.11.51 to 1.11.55.
- [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.51...feature/s3/manager/v1.11.55)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 16:28:14 +05:30
Mzack9999
b3b2ec9baa
Merge pull request #3351 from projectdiscovery/issue-3081-retry-gh
Add retry script for build, test and integration commands
2023-03-06 09:53:11 +01:00
sandeep
c91588830e win os test fix 2023-03-06 01:57:55 +05:30
Sandeep Singh
5c27031366
Merge branch 'main' into dev 2023-03-06 01:12:27 +05:30
sandeep
0f80575c44 Update version number and add paths to pull request. 2023-03-06 01:03:30 +05:30
Mzack9999
68550695f8
Fixing atomic bool check (#3376) 2023-03-06 00:37:40 +05:30
Mzack9999
d7ac306bdf
Adding one-time method override (#3373) 2023-03-04 12:27:26 +05:30
Tarun Koyalwar
d9e953acfa
fix file input in custom vars for self contained http template (#3385)
* fix file input in variables(-V)

* fix lint error

* fix nuclei-ignore file failures
2023-03-04 04:57:27 +05:30
Tarun Koyalwar
3e53087617
fix missing port in matched ssl templates (#3380)
* add openssl support + fix missing port

* fix failing tests

* go mod update

* workflow update

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-03-04 04:47:41 +05:30
dependabot[bot]
ecf3671982
chore(deps): bump github.com/labstack/echo/v4 in /v2 (#3365)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.10.0 to 4.10.2.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.10.0...v4.10.2)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  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>
2023-03-04 04:31:01 +05:30
dependabot[bot]
d0ae260870
chore(deps): bump github.com/aws/aws-sdk-go-v2/credentials in /v2 (#3364)
Bumps [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) from 1.13.12 to 1.13.15.
- [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/service/mq/v1.13.12...service/mq/v1.13.15)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
  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>
2023-03-04 04:30:48 +05:30
xm1k3
f26e01551e
resolve() helper function (#3321)
* started the implementation of resolve helper function

* fixes go mod and sum

* fixes and use makeDslWithOptionalArgsFunction signature

* added tests

* added more dnsTypes based on dnsx docs

* used dns client pool

* dsl functions

* fixes on dnsclientpool, added init()

* go mod tidy

* go mod tidy

* dsl signature makeMultiSignatureDslFunction

* error on len

* managed mx

* fix on mx record

* dns types managed with FirstNonZero func

* error handling

* utils to stable version

* version bump

* fixing var name

---------

Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2023-03-04 04:21:24 +05:30
Mzack9999
7c19510e6c
Merge pull request #3381 from projectdiscovery/issue-3305-retryablehttp-api-requests
Using retryablehttp for api request
2023-03-03 10:23:58 +01:00
shubhamrasal
c3d800fa41 Add workflow as option, grep the logs to check if it flaky test 2023-03-03 07:23:07 +00:00
xm1k3
bab15e122b http.DefaultClient replaced with retryablehttp 2023-03-02 21:21:04 +01:00
xm1k3
886fdcf0a9 started move to retryablehttp 2023-03-02 14:54:01 +01:00
xm1k3
ffd758dcb1 added InitNucleiVersion 2023-03-02 09:37:42 +01:00
xm1k3
32b79fdd36 used retryablehttp.DefaultClient().Do(req) 2023-03-02 09:35:53 +01:00
shubhamrasal
a92f429f86 Add bash script to retry failed job in given time. 2023-03-02 13:33:04 +05:30
xm1k3
25098c8ea6 fix on ignore call 2023-03-02 09:01:24 +01:00
xm1k3
5959daa58f removed nucleiVersion var as unused 2023-03-01 18:05:56 +01:00
xm1k3
ee6b1bef61 used retryablehttp for api requests 2023-03-01 16:50:21 +01:00
shubhamrasal
409393b64b Merge branch 'dev' into issue-3081-retry-gh 2023-03-01 19:07:15 +05:30
shubhamrasal
d32c9c7f56 Revert "Resolve the requested changes"
This reverts commit 4ad64eb3575aa5b3d390b31d4a1bcd49630da697.
2023-03-01 19:06:30 +05:30
Mzack9999
3ea87e2186
Merge pull request #3363 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/stretchr/testify-1.8.2
chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /v2
2023-02-28 09:02:50 +01:00
Mzack9999
570e59152b
Merge pull request #3366 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/klauspost/compress-1.16.0
chore(deps): bump github.com/klauspost/compress from 1.15.15 to 1.16.0 in /v2
2023-02-28 09:02:24 +01:00
Mzack9999
d80cbef51d
Merge pull request #3333 from CodFrm/main
fix some json deserialization issues
2023-02-28 09:02:04 +01:00
Mzack9999
469c364b47
Merge pull request #3368 from projectdiscovery/issue-3153-mapcidr-defaultclient
Mapcidr defaultclient
2023-02-27 13:28:28 +01:00
王一之
46c0822ee4 add unit test 2023-02-27 17:55:37 +08:00
xm1k3
1132456ec6 bump mapcidr version + asn 2023-02-27 10:22:50 +01:00
王一之
27fefe59d3 fix json deserialization issues 2023-02-27 14:29:49 +08:00
dependabot[bot]
72af825023
chore(deps): bump github.com/klauspost/compress in /v2
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.15 to 1.16.0.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.15.15...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 06:07:30 +00:00
dependabot[bot]
d374b0c717
chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /v2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 06:06:39 +00:00
Mzack9999
62af038617
Add template sign/verify functionality (#3029)
* add template sign/verify functionality

* fixing syntax
2023-02-26 03:54:46 +05:30
Notealot
aeb5dbd293
feat: add RawStringSlice / fix: reference url case insensitive (#3346)
* feat: add RawStringSlice and refactor

* restored old logic + refactor

* restored files

---------

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2023-02-26 01:17:47 +05:30
Mzack9999
b5b5384990
Merge pull request #3280 from projectdiscovery/issue-2188-reporting-client
Converting reporting client to interface
2023-02-24 16:28:53 +01:00
Mzack9999
84abef3f70 Merge branch 'dev' into issue-2188-reporting-client 2023-02-24 15:58:43 +01:00
shubhamrasal
4ad64eb357 Resolve the requested changes
- Add the logic to retry the test case that is failed.
- Accpet the number of how many times we want to retry
- Run the last retry in debug
2023-02-24 13:42:19 +05:30
shubhamrasal
ed46e9560e Revert "Add retry script for build, test and integration commands"
This reverts commit 63747a5c541ef9c32370feb8212317c152979b3b.
2023-02-24 06:15:16 +05:30