Adds DFs
This commit is contained in:
11
spec/fixtures/db/dynamic_finders.yml
vendored
11
spec/fixtures/db/dynamic_finders.yml
vendored
@@ -35,6 +35,17 @@ wordpress:
|
|||||||
xpath: //meta[@name="generator"]/@content
|
xpath: //meta[@name="generator"]/@content
|
||||||
pattern: !ruby/regexp /wordPress (?<v>\d+\.[\.\d]+)/i
|
pattern: !ruby/regexp /wordPress (?<v>\d+\.[\.\d]+)/i
|
||||||
version: true
|
version: true
|
||||||
|
StyleEtag:
|
||||||
|
class: HeaderPattern
|
||||||
|
header: Etag
|
||||||
|
pattern: !ruby/regexp /(?<v>\d+\.[\.\d]+)/i
|
||||||
|
path: wp-admin/load-styles.php
|
||||||
|
version: true
|
||||||
|
ScriptEtag:
|
||||||
|
class: HeaderPattern
|
||||||
|
header: Etag
|
||||||
|
pattern: !ruby/regexp /(?<v>\d+\.[\.\d]+)/i
|
||||||
|
path: wp-admin/load-scripts.php
|
||||||
OpmlGenerator:
|
OpmlGenerator:
|
||||||
class: Comment
|
class: Comment
|
||||||
path: wp-links-opml.php
|
path: wp-links-opml.php
|
||||||
|
|||||||
10
spec/fixtures/dynamic_finders/expected.yml
vendored
10
spec/fixtures/dynamic_finders/expected.yml
vendored
@@ -36,6 +36,16 @@ wordpress:
|
|||||||
found_by: Meta Generator (Passive Detection)
|
found_by: Meta Generator (Passive Detection)
|
||||||
interesting_entries:
|
interesting_entries:
|
||||||
- 'http://wp.lab/, Match: ''WordPress 3.8.1'''
|
- 'http://wp.lab/, Match: ''WordPress 3.8.1'''
|
||||||
|
StyleEtag:
|
||||||
|
number: 3.8.1
|
||||||
|
found_by: Style Etag (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-admin/load-styles.php, Match: ''3.8.1'''
|
||||||
|
ScriptEtag:
|
||||||
|
number: 3.8.1
|
||||||
|
found_by: Script Etag (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-admin/load-scripts.php, Match: ''3.8.1'''
|
||||||
OpmlGenerator:
|
OpmlGenerator:
|
||||||
number: 4.0
|
number: 4.0
|
||||||
found_by: Opml Generator (Aggressive Detection)
|
found_by: Opml Generator (Aggressive Detection)
|
||||||
|
|||||||
8
spec/fixtures/dynamic_finders/wp_version/script_etag/wp-admin/load-scripts.php
vendored
Normal file
8
spec/fixtures/dynamic_finders/wp_version/script_etag/wp-admin/load-scripts.php
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"Date": "Tue, 03 Mar 2020 15:51:52 GMT",
|
||||||
|
"Server": "Apache",
|
||||||
|
"Etag": "3.8.1",
|
||||||
|
"Expires": "Wed, 03 Mar 2021 15:51:52 GMT",
|
||||||
|
"Cache-Control": "public, max-age=31536000",
|
||||||
|
"Content-Type": "application/javascript; charset=UTF-8"
|
||||||
|
}
|
||||||
8
spec/fixtures/dynamic_finders/wp_version/style_etag/wp-admin/load-styles.php
vendored
Normal file
8
spec/fixtures/dynamic_finders/wp_version/style_etag/wp-admin/load-styles.php
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"Date": "Tue, 03 Mar 2020 15:51:52 GMT",
|
||||||
|
"Server": "Apache",
|
||||||
|
"Etag": "3.8.1",
|
||||||
|
"Expires": "Wed, 03 Mar 2021 15:51:52 GMT",
|
||||||
|
"Cache-Control": "public, max-age=31536000",
|
||||||
|
"Content-Type": "text/css; charset=UTF-8"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user