Skip to content

Commit

Permalink
Fixing an issue with PlayableLocationsAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
joanbono committed Mar 4, 2023
1 parent 62c0e23 commit 553ff4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ func PlayableLocationsAPI(api string, poc bool) {
resp := c.Send()
value := gjson.Get(resp.String(), "error.status")

if resp.Code() != 403 && value.String() == "PERMISSION_DENIED" {
if (resp.Code() != 403 && value.String() == "PERMISSION_DENIED") || resp.Code() != 404 {
fmt.Printf("%v\n", green.Sprintf("✅ Not vulnerable to PlayableLocationsAPI"))
} else {
fmt.Printf("%v\n", red.Sprintf("❌ Vulnerable to PlayableLocationsAPI"))
Expand Down

0 comments on commit 553ff4c

Please sign in to comment.