Created by Chris Campbell (@texasbe2trill)
Uses the CommandLine/Terminal to return type, creator, attributes, created, and modified file information of a file or directory.
|2023-04-23||Discovery||bash zsh oneliner|
Iterate through a directory to GetFileInfo
A bash or zsh oneliner can provide an attacker with information about specific files of interest.
for FILE in ~/Downloads/*; do echo $(GetFileInfo $FILE) >> fileinfo.txt; sleep 2; done
- No detections at time of publishing