Skip to content

Commit

Permalink
Update docker-api-unauthorized-rce.yml (chaitin#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
harris2015 authored Jul 7, 2021
1 parent cdd368c commit 62fb7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pocs/docker-api-unauthorized-rce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rules:
path: /info
follow_redirects: false
expression: |
response.status == 200 && response.body.bcontains(b"KernelVersion") && response.body.bcontains(b"RegistryConfig") && response.body.bcontains(b"DockerRootDir")
response.status == 200 && response.content_type.contains("json") && response.body.bcontains(b"KernelVersion") && response.body.bcontains(b"RegistryConfig") && response.body.bcontains(b"DockerRootDir")
detail:
author: j4ckzh0u(https://github.com/j4ckzh0u)
Expand Down

0 comments on commit 62fb7f8

Please sign in to comment.