Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Signatures - SVG #125

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions custom_signatures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,27 @@
bof: (?i)^50545653595354454D202020564953554D2020202020202056657273696F6E
plain_bof: PTVSYSTEM VISUM Version
extension: .ver
- puid: fmt/91
signature: SVG v1.0
description: SVG signature without starting XML tag ("<?xml...")
bof: (?i)^(20|0A(0D)?)*3C737667(((20|0A(0D)?)+(3[^e]|[^3]e|[^3][^e])*)*76657273696F6E3D22312E3022)?((20|0A(0D)?)+(3[^e]|[^3]e|[^3][^e])*)*(20|0A(0D)?)*3e
eof: (?i)3C2F7376673E(20|0A(0D)?)*$
operator: AND
plain_bof: ^<svg(( +[^>]+)*version="1.0")?( +[^>]+)*( )*>
plain_eof: </svg>( |\n\r?)*$
- puid: fmt/92
signature: SVG v1.1
description: SVG signature without starting XML tag ("<?xml...")
bof: (?i)^(20|0A(0D)?)*3C737667((20|0A(0D)?)+(3[^e]|[^3]e|[^3][^e])*)*76657273696F6E3D22312E3122((20|0A(0D)?)+(3[^e]|[^3]e|[^3][^e])*)*(20|0A(0D)?)*3e
eof: (?i)3C2F7376673E(20|0A(0D)?)*$
operator: AND
plain_bof: ^<svg( +[^>]+)*( )+version="1.1"( +[^>]+)*( )*>
plain_eof: </svg>( |\n\r?)*$
- puid: fmt/413
signature: SVG v1.2
description: SVG signature without starting XML tag ("<?xml...")
bof: (?i)^(20|0A(0D)?)*3C737667((20|0A(0D)?)+(3[^e]|[^3]e|[^3][^e])*)*76657273696F6E3D22312E3222((20|0A(0D)?)+(3[^e]|[^3]e|[^3][^e])*)*(20|0A(0D)?)*3e
eof: (?i)3C2F7376673E(20|0A(0D)?)*$
operator: AND
plain_bof: ^<svg( +[^>]+)*( )+version="1.2"( +[^>]+)*( )*>
plain_eof: </svg>( |\n\r?)*$