Malware Bazaar API Query Script

Share:

Overview

This Python script interfaces with the Malware Bazaar API to check if specific malware samples are documented based on their hashes. It automates the querying process and provides color-coded output for easy status identification.

Key Functionalities

  1. Reading Hashes from a File: The script reads a list of hashes from a specified text file, with each hash on a new line.

  2. Querying the Malware Bazaar API: For each hash, the script makes an HTTP POST request to the Malware Bazaar API, using the provided API token for authentication.

  3. Response Handling and Output:

    • If the query returns successfully, the script indicates whether the hash was found. It prints this status using colored output
    • Green for “Found” and Red for “Not Found”.
    • The full results of successful queries are saved to a file Malware Bazaar Check.
  4. How to use

  • Create a text file with all hashes that you need and save with the name hashes.txt

  • python MalwareBazaar.py

  1. Results Example

Source

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
3:38 pm, Apr 22, 2025
weather icon 17°C
L: 16° | H: 18°
overcast clouds
Humidity: 44 %
Pressure: 1016 mb
Wind: 7 mph SW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 94%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 5:49 am
Sunset: 8:07 pm
DailyHourly
Daily ForecastHourly Forecast
Today 10:00 pm
weather icon
16° | 18°°C 0 mm 0% 11 mph 66 % 1016 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
8° | 11°°C 1 mm 100% 13 mph 95 % 1018 mb 0 mm/h
Thu Apr 24 10:00 pm
weather icon
9° | 15°°C 0.2 mm 20% 6 mph 86 % 1024 mb 0 mm/h
Fri Apr 25 10:00 pm
weather icon
8° | 16°°C 0 mm 0% 8 mph 87 % 1024 mb 0 mm/h
Sat Apr 26 10:00 pm
weather icon
9° | 13°°C 0.6 mm 60% 4 mph 96 % 1024 mb 0 mm/h
Today 4:00 pm
weather icon
16° | 17°°C 0 mm 0% 10 mph 44 % 1016 mb 0 mm/h
Today 7:00 pm
weather icon
14° | 16°°C 0 mm 0% 11 mph 48 % 1016 mb 0 mm/h
Today 10:00 pm
weather icon
10° | 12°°C 0 mm 0% 7 mph 66 % 1015 mb 0 mm/h
Tomorrow 1:00 am
weather icon
10° | 10°°C 0 mm 0% 7 mph 76 % 1013 mb 0 mm/h
Tomorrow 4:00 am
weather icon
8° | 8°°C 1 mm 100% 10 mph 95 % 1010 mb 0 mm/h
Tomorrow 7:00 am
weather icon
9° | 9°°C 1 mm 100% 12 mph 94 % 1009 mb 0 mm/h
Tomorrow 10:00 am
weather icon
8° | 8°°C 1 mm 100% 13 mph 93 % 1010 mb 0 mm/h
Tomorrow 1:00 pm
weather icon
8° | 8°°C 0.8 mm 80% 10 mph 91 % 1012 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€78,606.61
2.42%
Ethereum(ETH)
€1,431.73
0.58%
Tether(USDT)
€0.87
0.02%
XRP(XRP)
€1.85
-0.22%
Solana(SOL)
€125.13
3.01%
USDC(USDC)
€0.87
0.00%
Dogecoin(DOGE)
€0.147215
4.20%
Shiba Inu(SHIB)
€0.000011
2.08%
Pepe(PEPE)
€0.000007
5.01%
Scroll to Top