Skip to content

Commit e1f3b9b

Browse files
committed
refactor
1 parent de6a51e commit e1f3b9b

File tree

22 files changed

+15
-15
lines changed

22 files changed

+15
-15
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
goos: ${{ matrix.goos }}
2121
goarch: ${{ matrix.goarch }}
2222
binary_name: "gons"
23-
extra_files: README.md LICENSE data/ callbacks/
23+
extra_files: README.md LICENSE assets/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Netrandom find possible RTSP sources:
3939
Take snapshots from RTSP stream and write source URL in metadata:
4040

4141
```sh
42-
./gons -s rtsp -cb 'bash ./callbacks/capture.sh "{result}" "/sdcard/Pictures/RTSP/" "{slug}"'
42+
./gons -s rtsp -cb 'bash ./assets/callbacks/capture.sh "{result}" "/sdcard/Pictures/RTSP/" "{slug}"'
4343
```
4444

4545
Scan 1024 random WAN IPs for open VNC ports:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

main.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"sync"
99
"time"
1010

11-
"github.com/fagci/gons/src/generators"
12-
"github.com/fagci/gons/src/loaders"
13-
"github.com/fagci/gons/src/network"
14-
"github.com/fagci/gons/src/services"
15-
"github.com/fagci/gons/src/utils"
11+
"github.com/fagci/gons/generators"
12+
"github.com/fagci/gons/loaders"
13+
"github.com/fagci/gons/network"
14+
"github.com/fagci/gons/services"
15+
"github.com/fagci/gons/utils"
1616
)
1717

1818
var (
@@ -44,7 +44,7 @@ func init() {
4444
flag.StringVar(&scanPorts, "ports", "", "scan ports on every rarget")
4545

4646
flag.StringVar(&service, "s", "", "check service (rtsp, ...)")
47-
flag.StringVar(&fuzzDict, "d", "./data/rtsp-paths.txt", "dictionary to fuzz")
47+
flag.StringVar(&fuzzDict, "d", "./assets/data/rtsp-paths.txt", "dictionary to fuzz")
4848

4949
flag.StringVar(&callback, "cb", "", "callback to run as shell command. Use {result} as template")
5050
flag.StringVar(&callback, "callback", "", "callback to run as shell command. Use {result} as template")
File renamed without changes.

0 commit comments

Comments
 (0)