Quantcast
Channel: Forensic Focus Forums - Recent Topics
Viewing all articles
Browse latest Browse all 20110

Forensic Software: EnScript Report Help

$
0
0
i think should not use enscript with poor documentation. use pyhton glob #!/usr/bin/python3 import re import glob def searchfor(): textfiles = glob.glob(r"*.txt") for fh in textfiles: for line in open(fh): if re.search('Case Number:', line): print(line, end='') def main(): searchfor() if __name__ == "__main__": main() it search for and print each Case Number word and copy it in txt or something else extention

Viewing all articles
Browse latest Browse all 20110

Trending Articles