Skip to content

Instantly share code, notes, and snippets.

@vpnwall-services
Last active January 19, 2021 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vpnwall-services/df6a108c2aa131cda590168d9641b325 to your computer and use it in GitHub Desktop.
Save vpnwall-services/df6a108c2aa131cda590168d9641b325 to your computer and use it in GitHub Desktop.
[CLAMAV 101] ClamAV 101 #bash #clamav #signatures

CLAMAV 101

  • Add MD5 custom signatures sigtool --md5 test.exe >> /root/clamav_signatures.hdb

  • Generate signatures for all files found in a specific folder find . -maxdepth 1 -type f -exec sigtool --md5 {} >> /root/clamav_signatures.hdb \;

  • Use custom signature with report and delete infected files clamscan -r --remove -d /root/clamav_signatures.hdb /my/folder -o /root/report_scan.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment