Skip to content

Instantly share code, notes, and snippets.

@malvidin
malvidin / splunk_python_lookup.py
Last active October 7, 2021 04:56
Splunk Python External Lookup
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# https://docs.splunk.com/Documentation/Splunk/8.0.0/Knowledge/Configureexternallookups
import argparse
import csv
import sys
from splunklib.six import text_type
from splunklib.searchcommands.internals import CsvDialect
@malvidin
malvidin / xor.py
Created November 27, 2018 20:21
Bitwise XOR an input stream with a known key
#!/usr/bin/env python
import argparse
import sys
from builtins import bytes
__title__ = 'xor.py'
__version__ = '1.0'
__author__ = 'malvidin'

Keybase proof

I hereby claim:

  • I am malvidin on github.
  • I am malvidin (https://keybase.io/malvidin) on keybase.
  • I have a public key whose fingerprint is 4B62 2D04 E5E3 4C6E 7DA3 2B75 A48A CA2A B85D 9A05

To claim this, I am signing this object: