Skip to content

Instantly share code, notes, and snippets.

@n3l5
n3l5 / malbazaar_query.py
Created May 3, 2021 20:12
Python script to query AbuseCH Malware Bazaar for a give hash or file(path).
import argparse
import pathlib
from pathlib import Path
import hashlib
import magic
import pefile
import re
import requests
parser = argparse.ArgumentParser(description='Query sample information by Hash or File.')