Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zan8in committed Dec 22, 2023
1 parent c5222a0 commit d11fe9c
Show file tree
Hide file tree
Showing 42 changed files with 40 additions and 4 deletions.
Binary file modified pocs/v/afrog-pocs.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion pocs/v/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.06
0.3.07
2 changes: 1 addition & 1 deletion v2/pkg/config/banner.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/zan8in/gologger"
)

const Version = "2.9.5"
const Version = "2.9.6"

func InitBanner() {
fmt.Printf("\r\n|\tA F 🐸 O G\t|")
Expand Down
3 changes: 2 additions & 1 deletion v2/pkg/protocols/netxclient/netxclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ func (nc *NetClient) Request(data, dataType string, variableMap map[string]any)
}

variableMap["response"] = &proto.Response{
Raw: body,
Raw: []byte(hex.EncodeToString(body)),
Body: []byte(hex.EncodeToString(body)),
}

variableMap["fulltarget"] = nc.address
Expand Down
35 changes: 35 additions & 0 deletions v2/pocs/afrog-pocs/fingerprinting/dameng-detect.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
id: dameng-detect

info:
name: 达梦数据库
author: zan8in
severity: info
verified: true
description: |-
默认端口 5236 默认密码 达梦数据库默认用户密码SYSDBA:SYSDBA
Fofa: protocol="dameng"
ZoomEye: app:"DMSQL"
reference:
- https://www.dameng.com/
tags: network,db,dameng
created: 2023/12/22

set:
host: request.url.domain
hostname: request.url.host
rules:
r0:
request:
type: tcp
host: "{{hostname}}"
data: "00000000c8005100000000000000000000000099000000000000000001020000000000000000000000000000000000000000000000000000000000000000000008000000382e312e312e34390040000000068149bbe004a62fb45552831704c802d4d802b4579cb045b3c6100880725ececf148a7c9205047caccadfef5ff264460d11092a3b483bf9d24382dea1dc43e7"
data-type: hex
expression: response.body.bcontains(b'00000000e400') || response.body.bcontains(b'40000000')
r1:
request:
type: tcp
host: "{{host}}:5236"
data: "00000000c8005100000000000000000000000099000000000000000001020000000000000000000000000000000000000000000000000000000000000000000008000000382e312e312e34390040000000068149bbe004a62fb45552831704c802d4d802b4579cb045b3c6100880725ececf148a7c9205047caccadfef5ff264460d11092a3b483bf9d24382dea1dc43e7"
data-type: hex
expression: response.body.bcontains(b'00000000e400') || response.body.bcontains(b'40000000')
expression: r0() || r1()
2 changes: 1 addition & 1 deletion v2/pocs/temp/afrog-pocs/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.06
0.3.07

0 comments on commit d11fe9c

Please sign in to comment.