Skip to content

Commit

Permalink
fixed an issue with PlayableLocationsAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
joanbono committed Jan 30, 2024
1 parent 3fb10a4 commit f1ff80a
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 @@ -613,7 +613,7 @@ func PlayableLocationsAPI(api, proxy string, poc, quiet bool) {
resp := c.Send()
value := gjson.Get(resp.String(), "error.status")

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

0 comments on commit f1ff80a

Please sign in to comment.