Skip to content

Commit

Permalink
up vendor 2022-10-02
Browse files Browse the repository at this point in the history
  • Loading branch information
hktalent committed Oct 2, 2022
1 parent 140ff6b commit ea6c8bc
Show file tree
Hide file tree
Showing 463 changed files with 110,627 additions and 3,644 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ jobs:
- name: Code checkout
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Install Dependences
run: |
brew install libpcap upx
git submodule update --init --recursive --remote
# git submodule update --init --recursive --remote
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand All @@ -35,15 +38,18 @@ jobs:
- name: Code checkout
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Install Dependences
run: |
sudo apt install -yy libpcap-dev upx gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
git submodule update --init --recursive --remote
# git submodule update --init --recursive --remote
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand All @@ -58,7 +64,10 @@ jobs:
- name: Code checkout
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand Down
14 changes: 14 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ http://127.0.0.1:9200/nmap_index/_doc/_search?q=_id:192.168.0.111
- 使用前请自行安装nmap
<a href=/~https://github.com/hktalent/scan4all/discussions>使用帮助</a>
```bash
export GOPRIVATE=github.com/hktalent
go env |grep GOPRIVATE
go build
# 精准扫描 url列表 UrlPrecise=true
UrlPrecise=true ./scan4all -l xx.txt
Expand Down Expand Up @@ -242,3 +244,15 @@ more see: <a href=/~https://github.com/hktalent/scan4all/discussions>discussions</
| Wechat Pay | AliPay | Paypal | BTC Pay |BCH Pay |
| --- | --- | --- | --- | --- |
|<img src=/~https://github.com/hktalent/myhktools/blob/master/md/wc.png>|<img width=166 src=/~https://github.com/hktalent/myhktools/blob/master/md/zfb.png>|[paypal](https://www.paypal.me/pwned2019) **miracletalent@gmail.com**|<img width=166 src=/~https://github.com/hktalent/myhktools/blob/master/md/BTC.png>|<img width=166 src=/~https://github.com/hktalent/myhktools/blob/master/md/BCH.jpg>|


<!--
export GOPRIVATE=github.com/hktalent
go env |grep GOPRIVATE
go env -w GOPRIVATE=github.com/hktalent/goSqlite_gorm/lib@v1.1.0
go get -v github.com/hktalent/goSqlite_gorm/lib@v1.1.0
/~https://github.com/heartshare/go-wafw00f
-->
2 changes: 2 additions & 0 deletions brute/dicts/httpass.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
000000

000000a
abcabc
qwerty123
100200
110110
110120
Expand Down
3 changes: 2 additions & 1 deletion brute/dicts/top100pass.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ asdasd123
147258
1123581321
110120
qq1314520
qq1314520
qwerty123
46 changes: 46 additions & 0 deletions config/WAFBypasHd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
X-Forwarded-Host
X-Forwarded-Port
X-Forwarded-Scheme
Origin:
nullOrigin: [siteDomain].attacker.com
X-Frame-Options: Allow
X-Forwarded-For: 127.0.0.1
X-Client-IP: 127.0.0.1
Client-IP: 127.0.0.1
Proxy-Host: 127.0.0.1
Request-Uri: 127.0.0.1
X-Forwarded: 127.0.0.1
X-Forwarded-By: 127.0.0.1
X-Forwarded-For: 127.0.0.1
X-Forwarded-For-Original: 127.0.0.1
X-Forwarded-Host: 127.0.0.1
X-Forwarded-Server: 127.0.0.1
X-Forwarder-For: 127.0.0.1
X-Forward-For: 127.0.0.1
Base-Url: 127.0.0.1
Http-Url: 127.0.0.1
Proxy-Url: 127.0.0.1
Redirect: 127.0.0.1
Real-Ip: 127.0.0.1
Referer: 127.0.0.1
Referrer: 127.0.0.1
Refferer: 127.0.0.1
Uri: 127.0.0.1
Url: 127.0.0.1
X-Host: 127.0.0.1
X-Http-Destinationurl: 127.0.0.1
X-Http-Host-Override: 127.0.0.1
X-Original-Remote-Addr: 127.0.0.1
X-Original-Url: 127.0.0.1
X-Proxy-Url: 127.0.0.1
X-Rewrite-Url: 127.0.0.1
X-Real-Ip: 127.0.0.1
X-Remote-Addr: 127.0.0.1
X-Custom-IP-Authorization:127.0.0.1
X-Originating-IP: 127.0.0.1
X-Remote-IP: 127.0.0.1
X-Original-Url:
X-Forwarded-Server:
X-Host:
X-Forwarded-Host:
X-Rewrite-Url:
4,195 changes: 4,195 additions & 0 deletions config/resource/user_agents.txt

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions engine/dispather.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package engine

import (
"github.com/hktalent/goSqlite_gorm/lib"
"github.com/hktalent/goSqlite_gorm/lib/scan/Const"
)

func Dispather(task *lib.Target4Chan) {

switch Const.d {

}
}
8 changes: 7 additions & 1 deletion fixMod.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
go get "github.com/projectdiscovery/goflags@v0.0.8-0.20220610073650-5d31a8c159e3"
go get github.com/projectdiscovery/retryabledns@v1.0.13
go get "github.com/cockroachdb/pebble@v0.0.0-20210728210723-48179f1d4dae"
go get "github.com/projectdiscovery/stringsutil@v0.0.0-20220612082425-0037ce9f89f3"
go get "github.com/projectdiscovery/ipranger@v0.0.3-0.20210831161617-ac80efae0961"


go mod tidy;go mod vendor
git checkout vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/http/request.go
git checkout vendor/github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go
git checkout vendor/github.com/projectdiscovery/nuclei/v2

go build

git checkout vendor/github.com/projectdiscovery/nuclei/v2
git add vendor
49 changes: 27 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ require (
github.com/google/gopacket v1.1.19
github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5
github.com/projectdiscovery/blackrock v0.0.0-20220628111055-35616c71b2dc
github.com/projectdiscovery/cdncheck v0.0.4-0.20220322144854-b2d8ce308abb
github.com/projectdiscovery/cdncheck v0.0.4-0.20220710204736-985177238198
github.com/projectdiscovery/clistats v0.0.8
github.com/projectdiscovery/dnsx v1.1.0
github.com/projectdiscovery/fdmax v0.0.3
github.com/projectdiscovery/fileutil v0.0.0-20220914162323-93b17254e41b
github.com/projectdiscovery/fileutil v0.0.1
github.com/projectdiscovery/goflags v0.0.8-0.20220610073650-5d31a8c159e3
github.com/projectdiscovery/gologger v1.1.4
github.com/projectdiscovery/ipranger v0.0.3-0.20210831161617-ac80efae0961
github.com/projectdiscovery/mapcidr v1.0.0
github.com/projectdiscovery/networkpolicy v0.0.2-0.20220525172507-b844eafc878d
github.com/projectdiscovery/networkpolicy v0.0.2-0.20220925181336-68b15b6cbe8c
github.com/remeh/sizedwaitgroup v1.0.0
go.uber.org/ratelimit v0.2.0
golang.org/x/net v0.0.0-20220909164309-bea034e7d591
golang.org/x/sys v0.0.0-20220927170352-d9d178bc13c6
golang.org/x/net v0.0.0-20221002022538-bcab6841153b
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec
)

require (
github.com/logrusorgru/aurora v2.0.3+incompatible
github.com/pkg/errors v0.9.1
github.com/projectdiscovery/retryablehttp-go v1.0.3-0.20220506110515-811d938bd26d
github.com/projectdiscovery/retryablehttp-go v1.0.3-0.20220604122435-c175fc8f2d4a
github.com/projectdiscovery/uncover v0.0.5
github.com/stretchr/testify v1.8.0
)
Expand All @@ -44,7 +44,7 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/projectdiscovery/hmap v0.0.2
github.com/projectdiscovery/retryabledns v1.0.13 // indirect
github.com/projectdiscovery/stringsutil v0.0.0-20220612082425-0037ce9f89f3
github.com/projectdiscovery/stringsutil v0.0.0-20220712170325-48c50c332cb4
github.com/syndtr/goleveldb v1.0.0 // indirect
github.com/yl2chen/cidranger v1.0.2 // indirect
go.uber.org/atomic v1.10.0
Expand All @@ -66,7 +66,7 @@ require (
github.com/projectdiscovery/goconfig v0.0.0-20210804090219-f893ccd0c69c
github.com/projectdiscovery/httputil v0.0.0-20210913064028-815c8db933ff
github.com/projectdiscovery/rawhttp v0.1.1
github.com/projectdiscovery/sliceutil v0.0.0-20220625085859-c3a4ecb669f4
github.com/projectdiscovery/sliceutil v0.0.0-20220925163201-df5373fb648e
github.com/projectdiscovery/urlutil v0.0.0-20220606114420-c8511bedff3f
github.com/projectdiscovery/wappalyzergo v0.0.59
github.com/rs/xid v1.4.0
Expand Down Expand Up @@ -100,6 +100,7 @@ require (
github.com/google/go-github v17.0.0+incompatible
github.com/gorilla/websocket v1.5.0
github.com/gosnmp/gosnmp v1.35.0
github.com/hktalent/goSqlite_gorm v1.1.0
github.com/hktalent/jarm-go v0.0.0-20220918133110-7801447b6267
github.com/huin/asn1ber v0.0.0-20120622192748-af09f62e6358
github.com/icodeface/tls v0.0.0-20190904083142-17aec93c60e5
Expand All @@ -120,7 +121,7 @@ require (
github.com/projectdiscovery/nuclei/v2 v2.7.7
github.com/projectdiscovery/subfinder/v2 v2.5.2
github.com/satori/go.uuid v1.2.0
github.com/shirou/gopsutil/v3 v3.22.8
github.com/shirou/gopsutil/v3 v3.22.9
github.com/sijms/go-ora/v2 v2.5.3
github.com/simonnilsson/ask v0.3.0
github.com/spf13/viper v1.13.0
Expand All @@ -129,14 +130,14 @@ require (
github.com/txthinking/socks5 v0.0.0-20220615051428-39268faee3e6
github.com/urfave/cli/v2 v2.16.3
go.mongodb.org/mongo-driver v1.10.2
golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90
golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af
google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa
google.golang.org/protobuf v1.28.1
gopkg.in/irc.v3 v3.1.4
gorm.io/driver/sqlite v1.3.6
gorm.io/gorm v1.23.9
gorm.io/gorm v1.23.10
)

require (
Expand All @@ -163,15 +164,14 @@ require (
github.com/caddyserver/certmagic v0.17.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/chromedp/sysutil v1.0.0 // indirect
github.com/cockroachdb/errors v1.8.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f // indirect
github.com/cockroachdb/errors v1.9.0 // indirect
github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f // indirect
github.com/cockroachdb/pebble v0.0.0-20210728210723-48179f1d4dae // indirect
github.com/cockroachdb/redact v1.0.8 // indirect
github.com/cockroachdb/sentry-go v0.6.1-cockroachdb.2 // indirect
github.com/cockroachdb/redact v1.1.3 // indirect
github.com/coreos/etcd v3.3.10+incompatible // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
github.com/dgraph-io/ristretto v0.1.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/dimchansky/utfbom v1.1.1 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/dsnet/compress v0.0.1 // indirect
Expand All @@ -180,15 +180,18 @@ require (
github.com/fatih/structs v1.1.0 // indirect
github.com/fortytw2/leaktest v1.3.0 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/getsentry/sentry-go v0.13.0 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/gin-gonic/gin v1.8.1 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/go-redis/redis/v8 v8.11.5 // indirect
github.com/go-rod/rod v0.109.3 // indirect
github.com/goburrow/cache v0.1.4 // indirect
github.com/gobwas/httphead v0.1.0 // indirect
github.com/gobwas/pool v0.2.1 // indirect
github.com/gobwas/ws v1.1.0 // indirect
github.com/goccy/go-json v0.9.11 // indirect
github.com/gofrs/uuid v4.3.0+incompatible // indirect
github.com/gogf/gf v1.16.9 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
Expand All @@ -213,7 +216,8 @@ require (
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hibiken/asynq v0.23.0 // indirect
github.com/hktalent/go-utils v0.0.0-20221002030334-91cfbdd4fc1e // indirect
github.com/hktalent/websocket v0.0.0-20220908204337-b4a81b861976 // indirect
github.com/iancoleman/orderedmap v0.2.0 // indirect
github.com/itchyny/gojq v0.12.9 // indirect
github.com/itchyny/timefmt-go v0.1.4 // indirect
Expand All @@ -227,7 +231,7 @@ require (
github.com/jinzhu/now v1.1.5 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.15.10 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/klauspost/cpuid/v2 v2.1.1 // indirect
github.com/klauspost/pgzip v1.2.5 // indirect
github.com/kr/pretty v0.3.0 // indirect
Expand Down Expand Up @@ -261,7 +265,6 @@ require (
github.com/projectdiscovery/reflectutil v0.0.0-20210804085554-4d90952bf92f // indirect
github.com/projectdiscovery/yamldoc-go v1.0.3-0.20211126104922-00d2c6bb43b6 // indirect
github.com/rivo/uniseg v0.4.2 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/saintfish/chardet v0.0.0-20120816061221-3af4cd4741ca // indirect
Expand All @@ -279,6 +282,7 @@ require (
github.com/trivago/tgo v1.0.7 // indirect
github.com/txthinking/runnergroup v0.0.0-20220212043759-8da8edb7dae8 // indirect
github.com/txthinking/x v0.0.0-20210326105829-476fab902fbe // indirect
github.com/ugorji/go/codec v1.2.7 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/ulule/deepcopier v0.0.0-20200430083143-45decc6639b6 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
Expand All @@ -300,14 +304,15 @@ require (
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.23.0 // indirect
goftp.io/server/v2 v2.0.0 // indirect
golang.org/x/exp v0.0.0-20220916125017-b168a2c6b86b // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/exp v0.0.0-20221002003631-540bb7301a08 // indirect
golang.org/x/mod v0.6.0-dev.0.20220922195421-2adab6b8c60e // indirect
golang.org/x/sync v0.0.0-20220907140024-f12130a52804 // indirect
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035 // indirect
golang.org/x/tools v0.1.12 // indirect
google.golang.org/appengine v1.6.7 // indirect
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
gopkg.in/corvus-ch/zbase32.v1 v1.0.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gorm.io/driver/mysql v1.3.6 // indirect
moul.io/http2curl v1.0.0 // indirect
)
Loading

0 comments on commit ea6c8bc

Please sign in to comment.