Merge pull request #9234 from projectdiscovery/ritikchaddha-patch-1

Fix FP application-yaml.yaml
patch-1
Dhiyaneshwaran 2024-02-26 17:25:06 +05:30 committed by GitHub
commit b0a940b7bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -17,6 +17,6 @@ http:
- type: regex - type: regex
part: body part: body
regex: regex:
- '(?:\s|=|:|"|^)AP[\dABCDEF][a-zA-Z0-9]{8,}' - '(?:\s|=|:|"|^)AP[\dABCDEF][a-zA-Z0-9]{8,}$'
# digest: 4a0a00473045022100850e4f400026353e0fe365bba8a6a0e3449fbb32998c1503e79f9e18d860eea602207653ba1b87690663ebbce8b9a83f16b3c1092f58c669cd15d395c6753b11d901:922c64590222798bb761d5b6d8e72950 # digest: 4a0a00473045022100850e4f400026353e0fe365bba8a6a0e3449fbb32998c1503e79f9e18d860eea602207653ba1b87690663ebbce8b9a83f16b3c1092f58c669cd15d395c6753b11d901:922c64590222798bb761d5b6d8e72950

View File

@ -36,7 +36,6 @@ http:
- 200 - 200
- type: dsl - type: dsl
condition: or
dsl: dsl:
- "!contains(tolower(body), '<html')" - "!contains(tolower(body), '<html')"
- "!contains(tolower(body), '<body')" - "!contains(tolower(body), '<body')"
@ -44,5 +43,6 @@ http:
- "!contains(tolower(body), '</h2>')" - "!contains(tolower(body), '</h2>')"
- "!contains(tolower(body), '</h3>')" - "!contains(tolower(body), '</h3>')"
- "!contains(tolower(body), '<?xml')" - "!contains(tolower(body), '<?xml')"
condition: and
# digest: 4a0a004730450221008579bdb011d8a9e6bbf942ffd972f269d3ec4c82206acc520c7aebdfef5c9251022031dc6ee745d5998b0a57769639a364df8cfba212bbc295817d205320a7ff9cd5:922c64590222798bb761d5b6d8e72950 # digest: 4a0a004730450221008579bdb011d8a9e6bbf942ffd972f269d3ec4c82206acc520c7aebdfef5c9251022031dc6ee745d5998b0a57769639a364df8cfba212bbc295817d205320a7ff9cd5:922c64590222798bb761d5b6d8e72950