From 4c2377b70cd5df2a8701eea3b8a10087baa7117a Mon Sep 17 00:00:00 2001 From: John Lukach Date: Sun, 14 Apr 2024 13:22:12 +0000 Subject: [PATCH] new hosting location --- README.md | 24 ++++++++++++------------ mmi.png => images/mmi.png | Bin mmi/__init__.py | 2 +- mmi/cli.py | 30 +++++++++++++++--------------- 4 files changed, 28 insertions(+), 28 deletions(-) rename mmi.png => images/mmi.png (100%) diff --git a/README.md b/README.md index 787fd69..f11364d 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,7 @@ GetBlocks generates the dataset using the SHA256 format for directories, files, https://github.com/4n6ir/getblocks -A pipeline runs every hour to determine if AWS has released any new verified Amazon Machine Image (AMI) to harvest artifacts with the current coverage available. - -https://static.matchmeta.info/amazonami.json +A pipeline runs every hour to determine if AWS has released any new verified Amazon Machine Image (AMI) to harvest artifacts. ### DISTRIBUTION @@ -33,19 +31,19 @@ mmi -d Please use these links to download the bloom filters for offline analysis. -https://static.matchmeta.info/gtfo.bloom +https://dl.4n6ir.com/match-meta-info/gtfo.bloom -https://static.matchmeta.info/mmi.bloom +https://dl.4n6ir.com/match-meta-info/mmi.bloom You can verify the integrity of the bloom filters by using the provided SHA256 hash values. -https://static.matchmeta.info/gtfo.sha256 +https://dl.4n6ir.com/match-meta-info/gtfo.sha256 -https://static.matchmeta.info/mmi.sha256 +https://dl.4n6ir.com/match-meta-info/mmi.sha256 -It is available for download if you're interested in the raw data using API keys available through self-registration. +Raw data is available for download if you want to use the artifacts elsewhere. -https://store.lukach.io/l/sha256 +https://dl.4n6ir.com/?p=amazon-linux-pipeline/ ### LAST UPDATED @@ -57,13 +55,13 @@ mmi -u Or by hitting the provided website for the last updated timestamp. -https://static.matchmeta.info/mmi.updated +https://dl.4n6ir.com/match-meta-info/last.updated ### COUNTS -https://static.matchmeta.info/mmi.count +https://dl.4n6ir.com/match-meta-info/gtfo.count -https://static.matchmeta.info/gtfo.count +https://dl.4n6ir.com/match-meta-info/mmi.count ### DETECTIONS @@ -126,3 +124,5 @@ pip install matchmeta ``` python setup.py install --user ``` + +![Match Meta Inforamtion (MMI)](images/mmi.png) \ No newline at end of file diff --git a/mmi.png b/images/mmi.png similarity index 100% rename from mmi.png rename to images/mmi.png diff --git a/mmi/__init__.py b/mmi/__init__.py index ca6a351..6fff60b 100644 --- a/mmi/__init__.py +++ b/mmi/__init__.py @@ -10,4 +10,4 @@ __gtfo__ = GTFO = pathlib.Path.joinpath(pathlib.Path.home(), 'gtfo.bloom') __mmi__ = MMI = pathlib.Path.joinpath(pathlib.Path.home(), 'mmi.bloom') -__version__ = VERSION = '2023.5.30' \ No newline at end of file +__version__ = VERSION = '2024.4.14' \ No newline at end of file diff --git a/mmi/cli.py b/mmi/cli.py index 60e76e8..02123c9 100644 --- a/mmi/cli.py +++ b/mmi/cli.py @@ -95,23 +95,23 @@ def download(): def gtfobloom(): - r = requests.get('https://static.matchmeta.info/gtfo.bloom') + r = requests.get('https://dl.4n6ir.com/match-meta-info/gtfo.bloom') if r.status_code == 200: with open(__gtfo__, 'wb') as f: - print('SUCCESS: https://static.matchmeta.info/gtfo.bloom') + print('SUCCESS: https://dl.4n6ir.com/match-meta-info/gtfo.bloom') f.write(r.content) else: - print('FAILED: https://static.matchmeta.info/gtfo.bloom') + print('FAILED: https://dl.4n6ir.com/match-meta-info/gtfo.bloom') sys.exit(1) def gtfoverify(): - r = requests.get('https://static.matchmeta.info/gtfo.sha256') + r = requests.get('https://dl.4n6ir.com/match-meta-info/gtfo.sha256') if r.status_code == 200: - print('SUCCESS: https://static.matchmeta.info/gtfo.sha256') + print('SUCCESS: https://dl.4n6ir.com/match-meta-info/gtfo.sha256') return r.text else: - print('FAILED: https://static.matchmeta.info/gtfo.sha256') + print('FAILED: https://dl.4n6ir.com/match-meta-info/gtfo.sha256') sys.exit(1) def hasher(fullpath, mmi, gtfo): @@ -152,23 +152,23 @@ def metahash(fullpath, mmi, gtfo): def mmibloom(): - r = requests.get('https://static.matchmeta.info/mmi.bloom') + r = requests.get('https://dl.4n6ir.com/match-meta-info/mmi.bloom') if r.status_code == 200: with open(__mmi__, 'wb') as f: - print('SUCCESS: https://static.matchmeta.info/mmi.bloom') + print('SUCCESS: https://dl.4n6ir.com/match-meta-info/mmi.bloom') f.write(r.content) else: - print('FAILED: https://static.matchmeta.info/mmi.bloom') + print('FAILED: https://dl.4n6ir.com/match-meta-info/mmi.bloom') sys.exit(1) def mmiverify(): - r = requests.get('https://static.matchmeta.info/mmi.sha256') + r = requests.get('https://dl.4n6ir.com/match-meta-info/mmi.sha256') if r.status_code == 200: - print('SUCCESS: https://static.matchmeta.info/mmi.sha256') + print('SUCCESS: https://dl.4n6ir.com/match-meta-info/mmi.sha256') return r.text else: - print('FAILED: https://static.matchmeta.info/mmi.sha256') + print('FAILED: https://dl.4n6ir.com/match-meta-info/mmi.sha256') sys.exit(1) def normalize(path): @@ -283,12 +283,12 @@ def start(skip): def updated(): - r = requests.get('https://static.matchmeta.info/mmi.updated') + r = requests.get('https://dl.4n6ir.com/match-meta-info/last.updated') if r.status_code == 200: - print('SUCCESS: https://static.matchmeta.info/mmi.updated') + print('SUCCESS: https://dl.4n6ir.com/match-meta-info/last.updated') print('LAST UPDATED: '+r.text) else: - print('FAILED: https://static.matchmeta.info/mmi.updated') + print('FAILED: https://dl.4n6ir.com/match-meta-info/last.updated') sys.exit(1) def main():