Duhokunijei Lawiqoo
@DLawiqoo
N3u.hi.d9p1.info/Pnla
3:55pm · 25 Jan 14
Account already suspended.
# Oona Räisänen 2013 | |
@emoji = qw( 🌀 🌂 🌅 🌈 🌙 🌞 🌟 🌠 🌰 🌱 🌲 🌳 🌴 🌵 🌷 🌸 | |
🌹 🌺 🌻 🌼 🌽 🌾 🌿 🍀 🍁 🍂 🍃 🍄 🍅 🍆 🍇 🍈 | |
🍉 🍊 🍋 🍌 🍍 🍎 🍏 🍐 🍑 🍒 🍓 🍔 🍕 🍖 🍗 🍘 | |
🍜 🍝 🍞 🍟 🍠 🍡 🍢 🍣 🍤 🍥 🍦 🍧 🍨 🍩 🍪 🍫 | |
🍬 🍭 🍮 🍯 🍰 🍱 🍲 🍳 🍴 🍵 🍶 🍷 🍸 🍹 🍺 🍻 | |
🍼 🎀 🎁 🎂 🎃 🎄 🎅 🎈 🎉 🎊 🎋 🎌 🎍 🎎 🎏 🎒 | |
🎓 🎠 🎡 🎢 🎣 🎤 🎥 🎦 🎧 🎨 🎩 🎪 🎫 🎬 🎭 🎮 | |
🎯 🎰 🎱 🎲 🎳 🎴 🎵 🎷 🎸 🎹 🎺 🎻 🎽 🎾 🎿 🏀 |
# Utility function to get a URL with error handling | |
# Accepts URL string or urllib2.Request object | |
def get_url(orig_request): | |
if isinstance(orig_request, basestring): | |
url = orig_request.encode('utf8') | |
request = urllib2.Request(url) | |
elif isinstance(orig_request, urllib2.Request): | |
request = orig_request | |
else: | |
return None |
Duhokunijei Lawiqoo
@DLawiqoo
N3u.hi.d9p1.info/Pnla
3:55pm · 25 Jan 14
Account already suspended.
#! /usr/bin/perl | |
# | |
# Script written to pull IP data from openIOC and search Splunk. | |
# | |
use strict; | |
use warnings; | |
$|=1; |
sudo docker pull jnazario/thug
alias thug='docker run -w /usr/local/src/thug/src -v /home/ubuntu/thuglogs:/usr/local/src/thug/logs jnazario/thug python thug.py'
thug -r http://example.net/myreferer http://evil.example.com/badstuffhere
import os | |
import json | |
import sys | |
# initialization | |
directory = sys.argv[1] | |
dir_list = os.listdir(directory) | |
vcdb = [] | |
for filename in dir_list: |
{ | |
"incident": { | |
"action": { | |
"Unknown": {} | |
}, | |
"actor": { | |
"internal": { | |
"job_change": ["Promoted"], | |
"notes": "This is a test", | |
"variety": [ |
kmaxwell@gauss:~/src/veris$ nosetests --nocapture > tmp | |
........................................................................................................................E | |
====================================================================== | |
ERROR: Failure: JSONDecodeError (Expecting ',' delimiter or '}': line 43 column 3 (char 776)) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/nose/loader.py", line 251, in generate | |
for test in g(): | |
File "/home/kmaxwell/src/veris/tests/tests.py", line 32, in test_Schema | |
test = simplejson.loads(open('./tests/'+eachTestFile).read()) |