Merge pull request #73 from IanSmith123/patch-1

update
This commit is contained in:
影舞者 2021-07-07 09:54:11 +08:00 committed by GitHub
commit 1499c7253a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 3 deletions

View File

@ -0,0 +1,29 @@
name: poc-yaml-weblogic-console-weak
sets:
username:
- weblogic
password:
- weblogic
- weblogic1
- welcome1
- Oracle@123
- weblogic123
payload:
- UTF-8
rules:
- method: HEAD
path: /console/j_security_check
follow_redirects: false
expression: |
response.status == 302 && response.headers['Set-Cookie'].contains("ADMINCONSOLESESSION")
- method: POST
path: /console/j_security_check
follow_redirects: false
headers:
Content-type: application/x-www-form-urlencoded
body: |
j_username={{username}}&j_password={{password}}&j_character_encoding={{payload}}
expression: |
!response.body.bcontains(b"LoginForm.jsp")
detail:
author: shadown1ng(https://github.com/shadown1ng)

View File

@ -1,12 +1,16 @@
name: poc-yaml-tomcat-manager-week
name: poc-yaml-tomcat-manager-weak
sets:
username:
- tomcat
- admin
- root
- manager
password:
- tomcat
- ""
- admin
- tomcat
- 123456
- root
payload:
- base64(username+":"+password)
rules:

View File

@ -30,7 +30,7 @@ func Flag(Info *HostInfo) {
flag.StringVar(&Info.Scantype, "m", "all", "Select scan type ,as: -m ssh")
flag.StringVar(&Info.Path, "path", "", "fcgi、smb romote file path")
flag.IntVar(&Threads, "t", 600, "Thread nums")
flag.StringVar(&HostFile, "hf", "", "host file, -hs ip.txt")
flag.StringVar(&HostFile, "hf", "", "host file, -hf ip.txt")
flag.StringVar(&Userfile, "userf", "", "username file")
flag.StringVar(&Passfile, "pwdf", "", "password file")
flag.StringVar(&RedisFile, "rf", "", "redis file to write sshkey file (as: -rf id_rsa.pub) ")