Skip to content

A tool that makes the API of Docguard.io usable via CLI.

Notifications You must be signed in to change notification settings

padey/docguard.io-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

WORK IN PROGRESS

may crash.. may not. this cli tool will hopefully develop into a TheHive Cortex Analyzer ;-)

There are two functions.

  1. Search for a Hash
  2. Submit a file for Analyze
  • Each Request will be saved under the FileSha256hash.json

Requierments:

  • Docguard Individiual / Team Plan

HowTo

Searching a Hash Value

python3 docguard.py -search -api-key "YOUR_API_KEY" -hash "30090f902cead484616d3a8041f0e18242b22566aeea28160865bfe2227f72f6"

Verdict: Malicious

FileName: eicar-adobe-acrobat-javascript-alert.pdf

FileType: PDF File

FileSha256Hash: 948ee1d9e0df1dc678f420239fddce99e0268978e65502d0ec31615b0a57b29a

Response saved as: 948ee1d9e0df1dc678f420239fddce99e0268978e65502d0ec31615b0a57b29a.json

Submitting a File

python3 docguard.py -submit -api-key "YOUR_API_KEY" -file "testfiles/eicar-adobe-acrobat-javascript-alert.pdf" (optinal arguments: -password "file_password" & -public = "true/false", default: false)

Verdict: Malicious

FileName: eicar-adobe-acrobat-javascript-alert.pdf

FileType: PDF File

FileSha256Hash: 948ee1d9e0df1dc678f420239fddce99e0268978e65502d0ec31615b0a57b29a

Response saved as: 948ee1d9e0df1dc678f420239fddce99e0268978e65502d0ec31615b0a57b29a.json

About

A tool that makes the API of Docguard.io usable via CLI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages