Skip to content

Commit 2f6dd5c

Browse files
authored
Merge pull request #540 from hahwul/dev
Update documents
2 parents 80f5bd3 + 2fa7631 commit 2f6dd5c

6 files changed

Lines changed: 49 additions & 89 deletions

File tree

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fetch-depth: 2
1212
- uses: actions/setup-go@v2
1313
with:
14-
go-version: '1.17'
14+
go-version: '1.21'
1515
- name: Run coverage
1616
run: go test -coverprofile=coverage.out -covermode=atomic ./...
1717
- name: Upload coverage to Codecov

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
go: ["1.17", "1.18", "1.19", "1.20", "1.21"]
9+
go: ["1.19", "1.20", "1.21", "1.22"]
1010
steps:
1111
- name: Set up Go ${{ matrix.go }}
1212
uses: actions/setup-go@v4

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,28 +63,26 @@ Mode: `url` `sxss` `pipe` `file` `server` `payload`
6363
And the various options required for the testing :D
6464

6565
## How to Install
66-
### From source
67-
**go1.17**
68-
```
69-
go install github.com/hahwul/dalfox/v2@latest
70-
```
71-
72-
**go1.16**
73-
```
74-
GO111MODULE=on go get github.com/hahwul/dalfox/v2
75-
```
76-
7766
### Using homebrew (macos)
78-
```
79-
brew tap hahwul/dalfox
67+
```bash
8068
brew install dalfox
69+
70+
# https://formulae.brew.sh/formula/dalfox
8171
```
8272

8373
### Using snapcraft (ubuntu)
8474
```
8575
sudo snap install dalfox
8676
```
8777

78+
### From source
79+
80+
```bash
81+
go install github.com/hahwul/dalfox/v2@latest
82+
83+
# The actual release might slightly differ. This is because go install references the main branch.
84+
```
85+
8886
More information? please read [Installation guide](https://dalfox.hahwul.com/docs/installation/)
8987

9088
## Usage

docs/_docs/installation.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ Homebrew is the package manager for MacOS(or linux). On devices using homebrew,
1010
```shell
1111
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
1212
```
13+
1314
### Install dalfox
1415
```shell
15-
brew tap hahwul/dalfox
1616
brew install dalfox
17+
18+
# https://formulae.brew.sh/formula/dalfox
1719
```
1820

1921
## Using Snapcraft
@@ -27,15 +29,12 @@ Please check this documents [https://snapcraft.io/docs/installing-snapd](https:/
2729
sudo snap install dalfox
2830
```
2931

30-
## Using go-install or go-get
31-
**go1.17**
32-
```
32+
## From source
33+
34+
```bash
3335
go install github.com/hahwul/dalfox/v2@latest
34-
```
3536

36-
**go1.16**
37-
```
38-
GO111MODULE=on go get github.com/hahwul/dalfox/v2
37+
# The actual release might slightly differ. This is because go install references the main branch.
3938
```
4039

4140
## Using Docker

go.mod

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module github.com/hahwul/dalfox/v2
22

3-
go 1.17
3+
go 1.19
44

55
require (
6-
github.com/PuerkitoBio/goquery v1.8.1
6+
github.com/PuerkitoBio/goquery v1.9.1
77
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
88
github.com/briandowns/spinner v1.23.0
99
github.com/chromedp/cdproto v0.0.0-20240202021202-6d0b6a386732
@@ -14,20 +14,20 @@ require (
1414
github.com/olekukonko/tablewriter v0.0.5
1515
github.com/sirupsen/logrus v1.9.3
1616
github.com/spf13/cobra v1.8.0
17-
github.com/stretchr/testify v1.8.4
17+
github.com/stretchr/testify v1.9.0
1818
github.com/swaggo/echo-swagger v1.4.1
19-
github.com/swaggo/swag v1.16.2
19+
github.com/swaggo/swag v1.16.3
2020
github.com/tidwall/sjson v1.2.5
2121
github.com/tylerb/graceful v1.2.15
2222
golang.org/x/sync v0.6.0
23-
golang.org/x/term v0.17.0
23+
golang.org/x/term v0.18.0
2424
)
2525

2626
require (
2727
github.com/KyleBanks/depth v1.2.1 // indirect
2828
github.com/PuerkitoBio/purell v1.1.1 // indirect
2929
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
30-
github.com/andybalholm/cascadia v1.3.1 // indirect
30+
github.com/andybalholm/cascadia v1.3.2 // indirect
3131
github.com/antonfisher/nested-logrus-formatter v1.3.1 // indirect
3232
github.com/chromedp/sysutil v1.0.0 // indirect
3333
github.com/davecgh/go-spew v1.1.1 // indirect
@@ -56,9 +56,9 @@ require (
5656
github.com/tidwall/pretty v1.2.0 // indirect
5757
github.com/valyala/bytebufferpool v1.0.0 // indirect
5858
github.com/valyala/fasttemplate v1.2.2 // indirect
59-
golang.org/x/crypto v0.17.0 // indirect
60-
golang.org/x/net v0.17.0 // indirect
61-
golang.org/x/sys v0.17.0 // indirect
59+
golang.org/x/crypto v0.19.0 // indirect
60+
golang.org/x/net v0.21.0 // indirect
61+
golang.org/x/sys v0.18.0 // indirect
6262
golang.org/x/text v0.14.0 // indirect
6363
golang.org/x/time v0.3.0 // indirect
6464
golang.org/x/tools v0.7.0 // indirect

0 commit comments

Comments
 (0)