I hereby claim:
- I am jeffbryner on github.
- I am 0x7eff (https://keybase.io/0x7eff) on keybase.
- I have a public key ASC1HuFOZoQ-lVt-4CZ2rozOACHs2rJbmX2DmfiuJ1SNVgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| FROM centos:7 | |
| LABEL maintainer="[email protected]" | |
| ENV NODE_VERSION 4.7.0 | |
| ENV METEOR_VERSION 1.4.2.3 | |
| ENV MONGO_URL=mongodb://mongodb:3002/meteor | |
| ENV ROOT_URL=http://localhost | |
| ENV PORT=3000 |
| --- | |
| version: '2.2' | |
| services: | |
| mongodb: | |
| build: mongodb/ | |
| restart: always | |
| command: /usr/bin/mongod --smallfiles --config /etc/mongod.conf | |
| volumes: | |
| - mongodb:/var/lib/mongo | |
| ports: |
| magnet:?xt=urn:btih:7ffbcd8cee06aba2ce6561688cf68ce2addca0a3&dn=BreachCompilation&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fglotorrents.pw%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337 |
| #build mozdefUI | |
| #rm all previous docker containers/images | |
| docker ps -a | |
| <list> | |
| docker rm <imageid> | |
| docker images | |
| <list> | |
| docker rmi $(docker images -qf "dangling=true") | |
| #!/usr/bin/env python | |
| import re | |
| import json | |
| import requests | |
| from datetime import datetime | |
| from dateutil.parser import parse | |
| def apachetime(s): | |
| """ |
| Input: A json file with iocs of IP address, category and score like: | |
| { | |
| "2.3.4.5" : { | |
| "P2P" : "55" | |
| }, | |
| "1.2.3.4" : { | |
| "Brute_Forcer" : "117", | |
| "Scanner" : "117" | |
| } | |
| } |
| import requests | |
| import json | |
| r=requests.get(url="http://elasticsearchservernamegoeshere:9200/_nodes/stats?pretty=true") | |
| nodestats=r.json() | |
| for node in nodestats['nodes']: | |
| nodename=nodestats['nodes'][node]['name'] | |
| threadpool=nodestats['nodes'][node]['thread_pool'] | |
| for pool in threadpool: | |
| threads=threadpool[pool]['threads'] | |
| rejected=threadpool[pool]['rejected'] |
| def to_unicode_or_bust(obj, encoding='utf-8'): | |
| if isinstance(obj, basestring): | |
| if not isinstance(obj, unicode): | |
| obj = unicode(obj, encoding) | |
| return obj |
| def genMeteorID(): | |
| return('%024x' % random.randrange(16**24)) |