Commit 970351442dc47401a4041334e90868e0692fd515
1 parent
989ead6c
record_base: provide stream type constants from olefile
Showing
1 changed file
with
6 additions
and
0 deletions
oletools/record_base.py
| ... | ... | @@ -73,6 +73,12 @@ from oletools.thirdparty import olefile |
| 73 | 73 | # Helpers |
| 74 | 74 | ############################################################################### |
| 75 | 75 | |
| 76 | +STGTY_EMPTY = olefile.STGTY_EMPTY # 0 | |
| 77 | +STGTY_STORAGE = olefile.STGTY_STORAGE # 1 | |
| 78 | +STGTY_STREAM = olefile.STGTY_STREAM # 2 | |
| 79 | +STGTY_LOCKBYTES = olefile.STGTY_LOCKBYTES # 3 | |
| 80 | +STGTY_PROPERTY = olefile.STGTY_PROPERTY # 4 | |
| 81 | +STGTY_ROOT = olefile.STGTY_ROOT # 5 | |
| 76 | 82 | STGTY_SUBSTREAM = 10 |
| 77 | 83 | |
| 78 | 84 | ENTRY_TYPE2STR = { | ... | ... |