File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Detect It Easy: detection rule file
2
+ // Author: BJNFNE <
[email protected] >
3
+ // This Script supports following formats: PAT
4
+
5
+ init("audio", "PAT");
6
+
7
+ function detect() {
8
+ if (Binary.compare("'PT'")) { // Use contains instead of compare
9
+ sVersion = "Audio"; // Set version if detected
10
+ bDetected = true; // Mark as detected
11
+ }
12
+
13
+ return result(); // Return the result of the detection
14
+ }
Original file line number Diff line number Diff line change
1
+ // Detect It Easy: detection rule file
2
+ // Author: BJNFNE <
[email protected] >
3
+ // This Script supports following formats: FSH
4
+
5
+ init("image", "FSH");
6
+
7
+ function detect() {
8
+ if (Binary.compare("'SHPI'")) { // Use contains instead of compare
9
+ sVersion = "Image"; // Set version if detected
10
+ bDetected = true; // Mark as detected
11
+ }
12
+
13
+ return result(); // Return the result of the detection
14
+ }
You can’t perform that action at this time.
0 commit comments