I dealt with a lot of Windows malware sample for my PhD work, hence I need a simple way to copy these files. Here goes
for i in `ls|grep -e "^[0-9a-f]\{32\}"`; do cp $i ~/Desktop/testbed/ -vi;done
This will basically fetch all filenames which has 32 characters (md5sum, which consist numbers and small letters a through f)
No comments:
Post a Comment