Merge pull request #42 from toufik-airane/master

add files/zip-files.yaml
patch-1
bauthard 2020-04-22 04:23:40 +05:30 committed by GitHub
commit c796363e41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 49 additions and 0 deletions

49
files/zip-files.yaml Normal file
View File

@ -0,0 +1,49 @@
id: git-config
info:
name: Compressed Web folder
author: Toufik Airane - https://medium.com/@toufik.airane
severity: medium
requests:
- method: GET
path:
- "{{BaseURL}}/{{Hostname}}.7z"
- "{{BaseURL}}/{{Hostname}}.bz2"
- "{{BaseURL}}/{{Hostname}}.gz"
- "{{BaseURL}}/{{Hostname}}.lz"
- "{{BaseURL}}/{{Hostname}}.rar"
- "{{BaseURL}}/{{Hostname}}.tar.gz"
- "{{BaseURL}}/{{Hostname}}.xz"
- "{{BaseURL}}/{{Hostname}}.zip"
- "{{BaseURL}}/{{Hostname}}.z"
- "{{BaseURL}}/{{Hostname}}.tar.z"
- "{{BaseURL}}/{{Hostname}}.db"
- "{{BaseURL}}/{{Hostname}}.sqlite"
- "{{BaseURL}}/{{Hostname}}.sqlitedb"
- "{{BaseURL}}/{{Hostname}}.sql.7z"
- "{{BaseURL}}/{{Hostname}}.sql.bz2"
- "{{BaseURL}}/{{Hostname}}.sql.gz"
- "{{BaseURL}}/{{Hostname}}.sql.lz"
- "{{BaseURL}}/{{Hostname}}.sql.rar"
- "{{BaseURL}}/{{Hostname}}.sql.tar.gz"
- "{{BaseURL}}/{{Hostname}}.sql.xz"
- "{{BaseURL}}/{{Hostname}}.sql.zip"
- "{{BaseURL}}/{{Hostname}}.sql.z"
- "{{BaseURL}}/{{Hostname}}.sql.tar.z"
matchers:
- type: binary
binary:
- "377ABCAF271C" # 7z
- "425A68" # bz2
- "53514c69746520666f726d6174203300" # SQLite format 3.
- "1f8b" # gz tar.gz
- "526172211A0700" # rar RAR archive version 1.50
- "526172211A070100" # rar RAR archive version 5.0
- "FD377A585A0000" # xz tar.xz
- "1F9D" # z tar.z
- "1FA0" # z tar.z
- "4C5A4950" # lz
- "504B0304" # zip
condition: or
part: body