To run this program, we need to perform following instruction.
Python 3.8
GET https://api.metadefender.com/v4/hash/{hash}| Parameter | Type | Description |
|---|---|---|
api_key |
string |
Required. Your API key |
hash |
string |
Required Generated Hash |
POST https://api.metadefender.com/v4/file| Parameter | Type | Description |
|---|---|---|
api_key |
string |
Required. Your API key |
Content-Type |
string |
application/octet-stream |
file |
file |
file |
GET https://api.metadefender.com/v4/file/{data_id}| Parameter | Type | Description |
|---|---|---|
api_key |
string |
Required. Your API key |
x-file-metadata |
string |
0 |
data_id |
string |
Required.data_id |
Clone the project
git clone https://github.com/prateekcode/HashScannerGo to the project directory
cd HashScannerRun the Program as
python3 hash_scanner.py -f samplefile.txt -k YOUR_API_KEY