Gathering list of files from command line Print

  • 0

# imunify360-agent malware malicious list
# imunify360-agent malware malicious list --limit 5000 | grep e0abe8c27ec845eb89d267dead237798 | wc -l
  1860

# grep e0abe8c27ec845eb89d267dead237798 /var/log/imunify360/console.log
e0abe8c27ec845eb89d267dead237798 => scan_id

# imunify360-agent malware malicious list --by-scan-id e0abe8c27ec845eb89d267dead237798 --limit 10000 | awk '{print $8}' > newlist.txt
--limit => can be increased or decreased according the total number of infected files.

 

Thanks

 


Was this answer helpful?

« Back