5283 Commits

Author SHA1 Message Date
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
王一之
994988357a adds missing json tags 2023-02-22 11:15:55 +08:00
Tarun Koyalwar
8cdc1338fc adds missing json tags and unit test 2023-02-22 02:24:45 +05:30
shubhamrasal
7224dfcc85 Revert "Making test fail to test the workflow"
This reverts commit f38754611380105983fbb69cf1245973ace4032b.
2023-02-21 20:55:01 +05:30
shubhamrasal
f387546113 Making test fail to test the workflow 2023-02-21 20:40:15 +05:30
shubhamrasal
311ea5bd01 Update integration tests wd 2023-02-21 20:00:48 +05:30
shubhamrasal
63747a5c54 Add retry script for build, test and integration commands 2023-02-21 19:50:52 +05:30
Alexandre ZANNI
e3e60d0ba8
uncover: add criminalip support (#3162)
* update uncover engine options

* add criminalip support

* update criminalIP variable

---------

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: shubhamrasal <shubhamdharmarasal@gmail.com>
2023-02-21 00:23:11 +05:30
Tarun Koyalwar
21b03a2e8a
bug fix in url path and adds integration tests (#3331)
* fix unsafe edgecases+ adds integration test

* bug fixes and more url testcases

* upgrade cfssl

* fix template id in integration test
2023-02-20 22:26:04 +05:30
Sandeep Singh
ba7fcd08ff
Merge branch 'dev' into issue-2188-reporting-client 2023-02-20 15:26:16 +05:30
dependabot[bot]
8f151b58c2
chore(deps): bump alpine from 3.17.1 to 3.17.2 (#3313)
Bumps alpine from 3.17.1 to 3.17.2.

---
updated-dependencies:
- dependency-name: alpine
  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-02-20 13:57:40 +05:30
dependabot[bot]
c6a749fc2b
chore(deps): bump github.com/xanzy/go-gitlab in /v2 (#3344)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.79.0 to 0.80.2.
- [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.79.0...v0.80.2)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 13:50:36 +05:30
dependabot[bot]
76c641123e
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 in /v2 (#3343)
Bumps [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) from 1.30.2 to 1.30.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/service/s3/v1.30.2...service/s3/v1.30.3)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  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-02-20 13:49:56 +05:30
dependabot[bot]
a9396087e5
chore(deps): bump golang from 1.20.0-alpine to 1.20.1-alpine (#3342)
Bumps golang from 1.20.0-alpine to 1.20.1-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-02-20 13:49:42 +05:30
dependabot[bot]
9e3960913d
chore(deps): bump golang.org/x/oauth2 from 0.4.0 to 0.5.0 in /v2 (#3317)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/oauth2/releases)
- [Commits](https://github.com/golang/oauth2/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  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-02-20 13:49:26 +05:30
dependabot[bot]
60a939e14b
chore(deps): bump github.com/projectdiscovery/gologger in /v2 (#3315)
Bumps [github.com/projectdiscovery/gologger](https://github.com/projectdiscovery/gologger) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/projectdiscovery/gologger/releases)
- [Commits](https://github.com/projectdiscovery/gologger/compare/v1.1.7...v1.1.8)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/gologger
  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-02-20 13:49:12 +05:30
dependabot[bot]
1f94752ff8
chore(deps): bump github.com/projectdiscovery/networkpolicy in /v2 (#3314)
Bumps [github.com/projectdiscovery/networkpolicy](https://github.com/projectdiscovery/networkpolicy) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/projectdiscovery/networkpolicy/releases)
- [Commits](https://github.com/projectdiscovery/networkpolicy/compare/v0.0.3...v0.0.4)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/networkpolicy
  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-02-20 13:48:58 +05:30
dependabot[bot]
1467815ca3
chore(deps): bump golang.org/x/net from 0.6.0 to 0.7.0 in /v2 (#3337)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 05:31:09 +05:30
王一之
10693efa05 add integration tests 2023-02-17 14:23:28 +08:00
王一之
85090b7531 fix some json deserialization issues 2023-02-17 14:21:25 +08:00
xm1k3
cc2f796d2f
Helper function for IP Formats (#3286)
* implemented ip_format helper function

* added tests on ip_format() helper

* fixes on logic

* fixes related to mapcidr docs

* better error value

* fixes + unit test to check index 11

* added call for integration tests

* fixes on dsl-functions number

---------

Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2023-02-17 01:47:40 +05:30
Ice3man
dbb0bf2789
Merge pull request #3322 from projectdiscovery/optional-templates-cache
Added optional doNotCache to protocols.ExecuterOptions
2023-02-13 18:24:38 +05:30
Ice3man
ecc1964ad9 Added optional doNotCache to protocols.ExecuterOptions 2023-02-13 18:00:25 +05:30
Mzack9999
d608ffaeb2
clear after stop (#3312)
* clear after stop

* fixing data races

* adding atomic cache

* fixing lint errors

* fixing imports
2023-02-13 16:46:41 +05:30
Sandeep Singh
20da19a76d
Merge pull request #3318 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/retryabledns-1.0.21
chore(deps): bump github.com/projectdiscovery/retryabledns from 1.0.20 to 1.0.21 in /v2
2023-02-13 13:59:54 +05:30
dependabot[bot]
7aa9f96919
chore(deps): bump github.com/projectdiscovery/retryabledns in /v2
Bumps [github.com/projectdiscovery/retryabledns](https://github.com/projectdiscovery/retryabledns) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/projectdiscovery/retryabledns/releases)
- [Commits](https://github.com/projectdiscovery/retryabledns/compare/v1.0.20...v1.0.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 06:03:25 +00:00
Mzack9999
a1e1104e8c
Merge pull request #3303 from projectdiscovery/detect-data-race
detect data race panics in integration_tests
2023-02-10 15:39:56 +01:00