Skip to content

Commit 3365b8d

Browse files
authored
Update README.md
1 parent c5980af commit 3365b8d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ This program is designed to determine the file type using signatures according t
44
## About
55
This console program takes an argument `--file` which specifies the path to the file that needs to be examined. The output will contain the resulting format, description and some technical data (for example, the presence of compressed entropy data)
66

7+
## Database rules format
8+
```
9+
{STRING_NAME}|{STRING_FILE_TYPE}|{STRING_DESCRIPTION}|{MASK_SIGNATURE}
10+
```
11+
* Use ".."/"??" to indicate an unknown byte (like "0000..29..11...00")
12+
* Use the ' character to wrap an ASCII string (like "000000'String in the file!'000029")
13+
14+
The signature is read only from the beginning of the file.
15+
16+
Example of rule:
17+
```
18+
Lua Bytecode|Script|Lua machine code|1B'Lua'..00
19+
```
20+
721
## Run on Linux
822
Use the `mono-complete` package to use the program on Linux:
923
```

0 commit comments

Comments
 (0)