Write File Information to docx(for Forensic)
$ pip install HashToDocx
from HashToDocx import HashToDocx
docx = HashToDocx()
docx.scanDir('sample') # input target Directories
docx.save('123.docx') # save to docx
from HashToDocx import HashToDocx
docx = HashToDocx()
docx.scanDir(
dir = 'sample', # input target Directories
option = 'recursive'
)
docx.save('123.docx') # # save to docx
You can filter only the fields you want by adjusting the list variable.
from HashToDocx import HashToDocx
# Field
Field = ['filename', 'size', 'md5', 'sha1', 'sha256', 'ctime', 'mtime', 'atime']
docx = HashToDocx(Field)
docx.scanDir('sample') # input target Directories
docx.save('123.docx') # # save to docx