Skip to content

Commit 07b88d6

Browse files
committed
text.AS.1.sg > bin.AS.1.sg & add link for Flatpak
1 parent b321ff2 commit 07b88d6

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

db/Binary/archive.Flatpak.1.sg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Detect It Easy: detection rule file
22
// Author: BJNFNE <[email protected]>
33

4+
// https://flatpak.org/
45
meta("archive", "Flatpak");
56

67
function detect() {

db/Binary/bin.AS.1.sg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Detect It Easy: detection rule file
2+
// Author: BJNFNE <[email protected]>
3+
4+
meta("format", "AS");
5+
6+
function detect() {
7+
if (Binary.compare("'Act;'")) {
8+
var actor = Binary.getString(4, 5).trim();
9+
10+
if (/^[a-zA-Z/]{5}/.test(actor)) {
11+
if (X.isVerbose()) sOptions = actor;
12+
bDetected = true;
13+
}
14+
}
15+
16+
return result();
17+
}

db/Binary/text.AS.1.sg

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)