Merge pull request #2486 from projectdiscovery/fix

more strict matchers
patch-1
Sandeep Singh 2021-08-26 02:51:56 +05:30 committed by GitHub
commit 4ff817768c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 9 deletions

View File

@ -17,18 +17,21 @@ info:
requests: requests:
- method: GET - method: GET
path: path:
- "{{BaseURL}}/" - "{{BaseURL}}"
- "{{BaseURL}}/login/showlogin"
headers: headers:
Host: "{{randstr}}.tld" Host: "{{randstr}}.tld"
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: regex - type: word
regex: words:
- (EXPONENT\.(?:(?:J(?:QUERY|S)_UR|URL_FUL)|YUI2_UR)L=")?https?://{{randstr}}\.tld - '{{randstr}}.tld'
- 'EXPONENT.PATH'
- 'EXPONENT.URL'
part: body part: body
condition: and
- type: status - type: status
status: status:
- 200 - 200

View File

@ -1,9 +1,9 @@
id: ftp-default-credentials id: ftp-default-credentials
info: info:
name: FTP Service with default credentials name: FTP Service with anonymous Login
author: pussycat0x author: pussycat0x
severity: low severity: info
tags: network,ftp,default-login tags: network,ftp,default-login
network: network:
@ -17,4 +17,6 @@ network:
matchers: matchers:
- type: word - type: word
words: words:
- "230" - "230"
- "Anonymous user logged in"
condition: and

View File

@ -21,6 +21,8 @@ requests:
words: words:
- 'sqli-test' - 'sqli-test'
- 'attribute_counts' - 'attribute_counts'
- 'price_range'
- 'term'
condition: and condition: and
- type: word - type: word