Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/quic-go/quic-go from 0.40.0 to 0.40.1 #175

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.3
go-version: 1.21.4
- name: Install Dependences
run: |
brew install libpcap upx
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.3
go-version: 1.21.4
- name: Install Dependences
run: |
sudo apt install -yy --fix-missing libpcap-dev upx
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.3
go-version: 1.21.4
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand Down
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
path = config/jaeles-signatures
url = https://github.com/jaeles-project/jaeles-signatures
branch=master
[submodule "config/nuclei-templates"]
path = config/nuclei-templates
url = https://github.com/projectdiscovery/nuclei-templates.git
branch=main
[submodule "config/fuzzing-templates"]
path = config/fuzzing-templates
url = https://github.com/projectdiscovery/fuzzing-templates.git
Expand Down
2 changes: 1 addition & 1 deletion Formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class scan4all < Formula
desc "Official repository vuls Scan: 15000+PoCs; 23 kinds of application password crack; 7000+Web fingerprints; 146 protocols and 90000+ rules Port scanning; Fuzz, HW, awesome BugBounty( ͡° ͜ʖ ͡°)..."
homepage "https://github.com/GhostTroops/scan4all"
url "https://github.com/GhostTroops/scan4all/releases/download/2.9.0/scan4all_2.9.0_macOS_amd64.zip"
sha256 "ccd874a283defad6a0deb11377cb9d6024cb5946b46f61f36008e0afe9db4950"
sha256 "542f26a2cbcbd37318d8cbb6e40607cfbff91f6c3a2ea945e143833c1a6aca19"
version "V2.9.0"

def install
Expand Down
2 changes: 1 addition & 1 deletion config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"enableMultNuclei": false,
"enableNuclei": true,
"enableByWaf": true,
"enableDevDebug": true,
"enableDevDebug": false,
"enableEmbedYaml": true,
"enableFileFuzz": true,
"httpx": {
Expand Down
1 change: 0 additions & 1 deletion config/nuclei-templates
Submodule nuclei-templates deleted from 9cd351
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GhostTroops/scan4all

go 1.21
go 1.21.4

require (
github.com/PuerkitoBio/goquery v1.8.1
Expand Down Expand Up @@ -229,7 +229,7 @@ require (
github.com/projectdiscovery/utils v0.0.52 // indirect
github.com/quic-go/qpack v0.4.0 // indirect
github.com/quic-go/qtls-go1-20 v0.4.1 // indirect
github.com/quic-go/quic-go v0.40.0 // indirect
github.com/quic-go/quic-go v0.40.1 // indirect
github.com/refraction-networking/utls v1.5.2 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,8 @@ github.com/quic-go/qpack v0.4.0 h1:Cr9BXA1sQS2SmDUWjSofMPNKmvF6IiIfDRmgU0w1ZCo=
github.com/quic-go/qpack v0.4.0/go.mod h1:UZVnYIfi5GRk+zI9UMaCPsmZ2xKJP7XBUvVyT1Knj9A=
github.com/quic-go/qtls-go1-20 v0.4.1 h1:D33340mCNDAIKBqXuAvexTNMUByrYmFYVfKfDN5nfFs=
github.com/quic-go/qtls-go1-20 v0.4.1/go.mod h1:X9Nh97ZL80Z+bX/gUXMbipO6OxdiDi58b/fMC9mAL+k=
github.com/quic-go/quic-go v0.40.0 h1:GYd1iznlKm7dpHD7pOVpUvItgMPo/jrMgDWZhMCecqw=
github.com/quic-go/quic-go v0.40.0/go.mod h1:PeN7kuVJ4xZbxSv/4OX6S1USOX8MJvydwpTx31vx60c=
github.com/quic-go/quic-go v0.40.1 h1:X3AGzUNFs0jVuO3esAGnTfvdgvL4fq655WaOi1snv1Q=
github.com/quic-go/quic-go v0.40.1/go.mod h1:PeN7kuVJ4xZbxSv/4OX6S1USOX8MJvydwpTx31vx60c=
github.com/refraction-networking/utls v1.5.2 h1:l6diiLbEoRqdQ+/osPDO0z0lTc8O8VZV+p82N+Hi+ws=
github.com/refraction-networking/utls v1.5.2/go.mod h1:SPuDbBmgLGp8s+HLNc83FuavwZCFoMmExj+ltUHiHUw=
github.com/remeh/sizedwaitgroup v1.0.0 h1:VNGGFwNo/R5+MJBf6yrsr110p0m4/OX4S3DCy7Kyl5E=
Expand Down
28 changes: 17 additions & 11 deletions lib/util/checkerImp.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ var (
)

// 检查器的设计:解耦、规范、统一,各类专注实现自己
// 1、允许未响应header、body、js、css等构建不同的检查器
// 2、每个检查器都有缓存
// 3、避免重复检查
// 4、具有自动释放缓存的机制,程序退出时自动消费(内存缓存)
//
// 1、允许未响应header、body、js、css等构建不同的检查器
// 2、每个检查器都有缓存
// 3、避免重复检查
// 4、具有自动释放缓存的机制,程序退出时自动消费(内存缓存)
type CheckerTools struct {
Name string `json:"name"` // RespHeader,RespBody,RespJs,RespCss,RespTitle,ReqHeader
checkFunc []func(*CheckerTools, ...interface{}) `json:"check_func"` // 注册的检查器
Expand Down Expand Up @@ -78,8 +79,10 @@ func (r *CheckerTools) GetBodyStr(a ...interface{}) string {
// 检查
func (r *CheckerTools) Check(parm ...interface{}) {
for _, f := range r.checkFunc {
log.Printf("Check %+v\n", parm)
f(r, parm...)
if nil != f {
log.Printf("Check %+v\n", parm)
f(r, parm...)
}
}
}

Expand Down Expand Up @@ -112,12 +115,15 @@ func CheckRespHeader(parm ...interface{}) {
}

// 检查 response 对象
// 1、包括头的检查
// 2、包括body的检查
//
// 1、包括头的检查
// 2、包括body的检查
func CheckResp(szU string, resp ...*http.Response) {
for _, r := range resp {
CheckRespHeader(&r.Header, szU)
GetInstance(RespBody).Check(&r, szU)
if nil != resp && 0 < len(resp) {
for _, r := range resp {
CheckRespHeader(&r.Header, szU)
GetInstance(RespBody).Check(&r, szU)
}
}
}

Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ var Version string
/*
go tool pprof -seconds=180 -http=:9999 http://127.0.0.1:6060/debug/pprof/heap
no leak
go tool pprof http://127.0.0.1:6060/debug/pprof/profile

http://localhost:9999/ui/
*/
func main() {
Expand Down
5 changes: 3 additions & 2 deletions projectdiscovery/nuclei_Yaml/nuclei_yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ func RunNuclei(buf *bytes.Buffer) {
szP := util.SzPwd + "/config/"
os.MkdirAll(szP+"tools/"+runtime.GOOS, os.ModePerm)
a := []string{
szP + "tools/" + runtime.GOOS + "/" + szCmd,
"-t", szP + "nuclei-templates",
//szP + "tools/" + runtime.GOOS + "/" +
szCmd,
//"-t", szP + "nuclei-templates",
"-sa",
"-duc", "-silent", "-nc",
}
Expand Down
37 changes: 31 additions & 6 deletions vendor/github.com/quic-go/quic-go/framer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion vendor/github.com/quic-go/quic-go/packet_packer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
4 changes: 1 addition & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,6 @@ github.com/golang/glog/internal/stackdump
# github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
## explicit
github.com/golang/groupcache/lru
# github.com/golang/mock v1.6.0
## explicit; go 1.11
# github.com/golang/protobuf v1.5.3
## explicit; go 1.9
github.com/golang/protobuf/proto
Expand Down Expand Up @@ -988,7 +986,7 @@ github.com/quic-go/qpack
# github.com/quic-go/qtls-go1-20 v0.4.1
## explicit; go 1.20
github.com/quic-go/qtls-go1-20
# github.com/quic-go/quic-go v0.40.0
# github.com/quic-go/quic-go v0.40.1
## explicit; go 1.20
github.com/quic-go/quic-go
github.com/quic-go/quic-go/http3
Expand Down
Loading