Skip to content

Commit

Permalink
new hosting location
Browse files Browse the repository at this point in the history
  • Loading branch information
jblukach committed Apr 14, 2024
1 parent 05fa167 commit 4c2377b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -126,3 +124,5 @@ pip install matchmeta
```
python setup.py install --user
```

![Match Meta Inforamtion (MMI)](images/mmi.png)
File renamed without changes
2 changes: 1 addition & 1 deletion mmi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
__version__ = VERSION = '2024.4.14'
30 changes: 15 additions & 15 deletions mmi/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit 4c2377b

Please sign in to comment.