Skip to content

Commit e2a3198

Browse files
Merge pull request #656 from projectdiscovery/dev
v1.0.10
2 parents a4f1c2d + 5d906c6 commit e2a3198

File tree

31 files changed

+10356
-205
lines changed

31 files changed

+10356
-205
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, windows-latest, macOS-13]
17-
go-version: [1.21.x]
17+
go-version: [1.22.x]
1818
steps:
1919
- name: Set up Go
2020
uses: actions/setup-go@v4

.github/workflows/lint-test.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,15 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
lint:
12-
name: Lint Test
11+
lint-test:
12+
if: "! endsWith(github.actor, '[bot]')"
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Set up Go
16-
uses: actions/setup-go@v4
17-
with:
18-
go-version: 1.21.x
19-
2015
- name: Checkout code
21-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Go
19+
uses: projectdiscovery/actions/setup/go@v1
2220

2321
- name: Run golangci-lint
24-
uses: golangci/golangci-lint-action@v3.6.0
25-
with:
26-
version: latest
27-
args: --timeout 5m
28-
working-directory: .
22+
uses: projectdiscovery/actions/golangci-lint@v1

.github/workflows/provider-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go
1414
uses: actions/setup-go@v4
1515
with:
16-
go-version: 1.21.x
16+
go-version: 1.22.x
1717

1818
- name: Check out code
1919
uses: actions/checkout@v3

.github/workflows/release-binary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: "Set up Go"
1919
uses: actions/setup-go@v4
2020
with:
21-
go-version: 1.21.x
21+
go-version: 1.22.x
2222

2323
- name: "Create release on GitHub"
2424
uses: goreleaser/goreleaser-action@v4

.github/workflows/release-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v4
2222
with:
23-
go-version: 1.21.x
23+
go-version: 1.22.x
2424

2525
- name: release test
2626
uses: goreleaser/goreleaser-action@v4

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
- **[FOFA](https://fofa.info)**
4343
- **[Hunter](https://hunter.qianxin.com)**
4444
- **[Quake](https://quake.360.net/quake/#/index)**
45-
- **[Zoomeye](https://www.zoomeye.org)**
45+
- **ZoomEye [china](https://zoomeye.org) - [worldwide](https://zoomeye.hk)**
4646
- **[Netlas](https://netlas.io/)**
4747
- **[CriminalIP](https://www.criminalip.io)**
4848
- **[PublicWWW](https://publicwww.com)**
@@ -76,6 +76,7 @@ Flags:
7676
INPUT:
7777
-q, -query string[] search query, supports: stdin,file,config input (example: -q 'example query', -q 'query.txt')
7878
-e, -engine string[] search engine to query (shodan,shodan-idb,fofa,censys,quake,hunter,zoomeye,netlas,criminalip,publicwww,hunterhow,google) (default shodan)
79+
-asq, -awesome-search-queries string[] use awesome search queries to discover exposed assets on the internet (example: -asq 'jira')
7980

8081
SEARCH-ENGINE:
8182
-s, -shodan string[] search query for shodan (example: -shodan 'query.txt')
@@ -141,7 +142,7 @@ hunter:
141142
- HUNTER_API_KEY_1
142143
- HUNTER_API_KEY_2
143144
zoomeye:
144-
- ZOOMEYE_API_KEY_1
145+
- ZOOMEYE_API_KEY_1:zoomeye.hk
145146
- ZOOMEYE_API_KEY_2
146147
netlas:
147148
- NETLAS_API_KEY_1
@@ -181,7 +182,16 @@ export GOOGLE_API_KEY=xxx
181182
export GOOGLE_API_CX=xxx
182183
```
183184

184-
Required API keys can be obtained by signing up on following platform [Shodan](https://account.shodan.io/register), [Censys](https://censys.io/register), [Fofa](https://fofa.info/toLogin), [Quake](https://quake.360.net/quake/#/index), [Hunter](https://user.skyeye.qianxin.com/user/register?next=https%3A//hunter.qianxin.com/api/uLogin&fromLogin=1), [ZoomEye](https://www.zoomeye.org/login), [Netlas](https://app.netlas.io/registration/), [CriminalIP](https://www.criminalip.io/register), [Publicwww](https://publicwww.com/profile/signup.html) and Google [[1]](https://developers.google.com/custom-search/v1/introduction#identify_your_application_to_google_with_api_key),[[2]](https://programmablesearchengine.google.com/controlpanel/create).
185+
Required API keys can be obtained by signing up on following platform [Shodan](https://account.shodan.io/register), [Censys](https://censys.io/register), [Fofa](https://fofa.info/toLogin), [Quake](https://quake.360.net/quake/#/index), [Hunter](https://user.skyeye.qianxin.com/user/register?next=https%3A//hunter.qianxin.com/api/uLogin&fromLogin=1), ZoomEye [china](https://api.zoomeye.org) - [worldwide](https://api.zoomeye.hk), [Netlas](https://app.netlas.io/registration/), [CriminalIP](https://www.criminalip.io/register), [Publicwww](https://publicwww.com/profile/signup.html) and Google [[1]](https://developers.google.com/custom-search/v1/introduction#identify_your_application_to_google_with_api_key),[[2]](https://programmablesearchengine.google.com/controlpanel/create).
186+
187+
188+
### ZoomEye API
189+
190+
Before conducting any scans, please ensure you are using the correct host to comply with geographical access restrictions of the ZoomEye API:
191+
192+
- **zoomeye.org** is exclusively for users within China.
193+
- **zoomeye.hk** is for users outside China (this is default if no host provided).
194+
185195

186196
## Running Uncover
187197

go.mod

Lines changed: 39 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,46 @@
11
module github.com/projectdiscovery/uncover
22

3-
go 1.21
3+
go 1.22.0
44

55
require (
66
github.com/hashicorp/golang-lru v0.5.4
77
github.com/julienschmidt/httprouter v1.3.0
88
github.com/logrusorgru/aurora v2.0.3+incompatible
9+
github.com/projectdiscovery/awesome-search-queries v0.0.0-20241111181020-ad0097bd63a1
910
github.com/projectdiscovery/fdmax v0.0.4
10-
github.com/projectdiscovery/goflags v0.1.57
11-
github.com/projectdiscovery/gologger v1.1.13
11+
github.com/projectdiscovery/goflags v0.1.70
12+
github.com/projectdiscovery/gologger v1.1.43
1213
github.com/projectdiscovery/mapcidr v1.1.34
13-
github.com/projectdiscovery/ratelimit v0.0.45
14-
github.com/projectdiscovery/retryablehttp-go v1.0.65
15-
github.com/stretchr/testify v1.9.0
14+
github.com/projectdiscovery/ratelimit v0.0.71
15+
github.com/projectdiscovery/retryablehttp-go v1.0.98
16+
github.com/stretchr/testify v1.10.0
1617
)
1718

1819
require (
19-
github.com/miekg/dns v1.1.56 // indirect
20-
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
21-
golang.org/x/mod v0.13.0 // indirect
22-
golang.org/x/tools v0.14.0 // indirect
20+
github.com/miekg/dns v1.1.62 // indirect
21+
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
22+
golang.org/x/mod v0.22.0 // indirect
23+
golang.org/x/tools v0.29.0 // indirect
2324
)
2425

2526
require (
2627
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
2728
github.com/aymerick/douceur v0.2.0 // indirect
2829
github.com/cnf/structhash v0.0.0-20201127153200-e1b16c1ebc08 // indirect
2930
github.com/davecgh/go-spew v1.1.1 // indirect
30-
github.com/gorilla/css v1.0.0 // indirect
31+
github.com/gorilla/css v1.0.1 // indirect
3132
github.com/json-iterator/go v1.1.12 // indirect
32-
github.com/microcosm-cc/bluemonday v1.0.25 // indirect
33+
github.com/microcosm-cc/bluemonday v1.0.27 // indirect
3334
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3435
github.com/modern-go/reflect2 v1.0.2 // indirect
3536
github.com/pmezard/go-difflib v1.0.0 // indirect
3637
github.com/projectdiscovery/blackrock v0.0.1 // indirect
37-
github.com/projectdiscovery/utils v0.1.4
38+
github.com/projectdiscovery/utils v0.4.8
3839
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
3940
go.uber.org/multierr v1.11.0 // indirect
40-
golang.org/x/net v0.23.0 // indirect
41-
golang.org/x/sys v0.18.0 // indirect
42-
golang.org/x/text v0.14.0 // indirect
41+
golang.org/x/net v0.34.0 // indirect
42+
golang.org/x/sys v0.29.0 // indirect
43+
golang.org/x/text v0.21.0 // indirect
4344
gopkg.in/yaml.v3 v3.0.1 // indirect
4445
)
4546

@@ -50,60 +51,56 @@ require (
5051
github.com/Mzack9999/go-http-digest-auth-client v0.6.1-0.20220414142836-eb8883508809 // indirect
5152
github.com/VividCortex/ewma v1.2.0 // indirect
5253
github.com/akrylysov/pogreb v0.10.1 // indirect
53-
github.com/alecthomas/chroma v0.10.0 // indirect
54+
github.com/alecthomas/chroma/v2 v2.14.0 // indirect
5455
github.com/andybalholm/brotli v1.0.6 // indirect
5556
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
56-
github.com/bits-and-blooms/bitset v1.13.0 // indirect
57-
github.com/charmbracelet/glamour v0.6.0 // indirect
57+
github.com/charmbracelet/glamour v0.8.0 // indirect
58+
github.com/charmbracelet/lipgloss v0.13.0 // indirect
59+
github.com/charmbracelet/x/ansi v0.3.2 // indirect
5860
github.com/cheggaaa/pb/v3 v3.1.4 // indirect
5961
github.com/cloudflare/circl v1.3.7 // indirect
6062
github.com/dimchansky/utfbom v1.1.1 // indirect
61-
github.com/dlclark/regexp2 v1.8.1 // indirect
63+
github.com/dlclark/regexp2 v1.11.4 // indirect
6264
github.com/docker/go-units v0.5.0 // indirect
6365
github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect
6466
github.com/fatih/color v1.15.0 // indirect
65-
github.com/gaissmai/bart v0.9.5 // indirect
66-
github.com/gaukas/godicttls v0.0.4 // indirect
67-
github.com/go-logr/logr v1.4.1 // indirect
67+
github.com/gaissmai/bart v0.17.8 // indirect
6868
github.com/go-ole/go-ole v1.2.6 // indirect
6969
github.com/golang/protobuf v1.5.4 // indirect
7070
github.com/golang/snappy v0.0.4 // indirect
71-
github.com/google/go-cmp v0.6.0 // indirect
7271
github.com/google/go-github/v30 v30.1.0 // indirect
7372
github.com/google/go-querystring v1.1.0 // indirect
7473
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
7574
github.com/google/uuid v1.3.1 // indirect
76-
github.com/klauspost/compress v1.16.7 // indirect
75+
github.com/klauspost/compress v1.17.4 // indirect
7776
github.com/klauspost/pgzip v1.2.5 // indirect
7877
github.com/kr/pretty v0.3.1 // indirect
7978
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
8079
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
8180
github.com/mattn/go-colorable v0.1.13 // indirect
82-
github.com/mattn/go-isatty v0.0.19 // indirect
83-
github.com/mattn/go-runewidth v0.0.14 // indirect
81+
github.com/mattn/go-isatty v0.0.20 // indirect
82+
github.com/mattn/go-runewidth v0.0.16 // indirect
8483
github.com/mholt/archiver/v3 v3.5.1 // indirect
8584
github.com/minio/selfupdate v0.6.1-0.20230907112617-f11e74f84ca7 // indirect
8685
github.com/muesli/reflow v0.3.0 // indirect
87-
github.com/muesli/termenv v0.15.1 // indirect
86+
github.com/muesli/termenv v0.15.3-0.20240618155329-98d742f6907a // indirect
8887
github.com/nwaples/rardecode v1.1.3 // indirect
89-
github.com/olekukonko/tablewriter v0.0.5 // indirect
9088
github.com/pierrec/lz4/v4 v4.1.2 // indirect
9189
github.com/pkg/errors v0.9.1 // indirect
9290
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
93-
github.com/projectdiscovery/fastdialer v0.1.5 // indirect
94-
github.com/projectdiscovery/hmap v0.0.48 // indirect
91+
github.com/projectdiscovery/fastdialer v0.3.0 // indirect
92+
github.com/projectdiscovery/hmap v0.0.77 // indirect
9593
github.com/projectdiscovery/machineid v0.0.0-20240226150047-2e2c51e35983 // indirect
96-
github.com/projectdiscovery/networkpolicy v0.0.9 // indirect
97-
github.com/projectdiscovery/retryabledns v1.0.65 // indirect
98-
github.com/quic-go/quic-go v0.42.0 // indirect
99-
github.com/refraction-networking/utls v1.5.4 // indirect
100-
github.com/rivo/uniseg v0.4.4 // indirect
94+
github.com/projectdiscovery/networkpolicy v0.1.3 // indirect
95+
github.com/projectdiscovery/retryabledns v1.0.94 // indirect
96+
github.com/refraction-networking/utls v1.6.7 // indirect
97+
github.com/rivo/uniseg v0.4.7 // indirect
10198
github.com/shirou/gopsutil/v3 v3.23.7 // indirect
10299
github.com/shoenig/go-m1cpu v0.1.6 // indirect
103100
github.com/syndtr/goleveldb v1.0.0 // indirect
104101
github.com/tidwall/btree v1.6.0 // indirect
105102
github.com/tidwall/buntdb v1.3.0 // indirect
106-
github.com/tidwall/gjson v1.16.0 // indirect
103+
github.com/tidwall/gjson v1.18.0 // indirect
107104
github.com/tidwall/grect v0.1.4 // indirect
108105
github.com/tidwall/match v1.1.1 // indirect
109106
github.com/tidwall/pretty v1.2.1 // indirect
@@ -114,15 +111,17 @@ require (
114111
github.com/ulikunitz/xz v0.5.11 // indirect
115112
github.com/weppos/publicsuffix-go v0.30.2-0.20230730094716-a20f9abcc222 // indirect
116113
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
117-
github.com/yuin/goldmark v1.5.4 // indirect
118-
github.com/yuin/goldmark-emoji v1.0.1 // indirect
114+
github.com/yuin/goldmark v1.7.4 // indirect
115+
github.com/yuin/goldmark-emoji v1.0.3 // indirect
119116
github.com/yusufpapurcu/wmi v1.2.4 // indirect
120117
github.com/zcalusic/sysinfo v1.0.2 // indirect
121118
github.com/zmap/rc2 v0.0.0-20190804163417-abaa70531248 // indirect
122119
github.com/zmap/zcrypto v0.0.0-20230814193918-dbe676986518 // indirect
123120
go.etcd.io/bbolt v1.3.7 // indirect
124-
golang.org/x/crypto v0.21.0 // indirect
121+
golang.org/x/crypto v0.32.0 // indirect
125122
golang.org/x/oauth2 v0.18.0 // indirect
123+
golang.org/x/sync v0.10.0 // indirect
124+
golang.org/x/term v0.28.0 // indirect
126125
golang.org/x/time v0.5.0 // indirect
127126
google.golang.org/appengine v1.6.8 // indirect
128127
google.golang.org/protobuf v1.33.0 // indirect

0 commit comments

Comments
 (0)