This commit is contained in:
erwanlr
2020-03-03 18:54:41 +01:00
parent 14ed6ae109
commit f4a04b2387
4 changed files with 37 additions and 0 deletions

View File

@@ -35,6 +35,17 @@ wordpress:
xpath: //meta[@name="generator"]/@content
pattern: !ruby/regexp /wordPress (?<v>\d+\.[\.\d]+)/i
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:
class: Comment
path: wp-links-opml.php

View File

@@ -36,6 +36,16 @@ wordpress:
found_by: Meta Generator (Passive Detection)
interesting_entries:
- '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:
number: 4.0
found_by: Opml Generator (Aggressive Detection)

View 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"
}

View 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"
}