[![Trello Development Board](https://trello.com/b/nC8QJJoZ.png)](https://trello.com/b/nC8QJJoZ)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
kill -9 `ps auxc | grep "Little Snitch Daemon" | awk '{print $2}'`; | |
echo "Killed Little Snitch Daemon" > /tmp/snitchkiller.log; | |
date >> /tmp/snitchkiller.log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal ENABLEEXTENSIONS | |
@REM get local Path of script | |
for /F %%I in ("%0") do set localDir=%%~dpI | |
@REM Check for MSEC.dll in current directory, and in script directory | |
if not exist .\msec.dll ( | |
if not exist %localDir%\msec.dll ( | |
echo. | |
echo MSEC.dll not in current directory, please copy MSEC.dll locally and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BASH function to get the result | |
# of a ^ b when a, b are in the | |
# following hexadecimal string | |
# form: AF396463D8705 ... | |
# Obtained from here: | |
# http://www.codeproject.com/Tips/470308/XOR-Hex-Strings-in-Linux-Shell-Script | |
# Author is Sanjay1982 (see http://www.codeproject.com/Members/Sanjay1982) | |
# Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python3 | |
import string | |
import urllib | |
from urllib.request import urlopen | |
import requests # <- bitch (always URL-encodes POST data) | |
url = "http://58.229.183.24/5a520b6b783866fd93f9dcdaf753af08/index.php" | |
cookie_jar = [] | |
cnt = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A minimal SQLite shell for experiments | |
import sqlite3 | |
con = sqlite3.connect(":memory:") | |
con.isolation_level = None | |
cur = con.cursor() | |
buffer = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from lib.core.enums import PRIORITY | |
import phpserialize | |
import urllib | |
import base64 | |
import hashlib | |
__priority__ = PRIORITY.HIGHEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import requests | |
import pprint | |
cookie_jar = \ | |
{ | |
"PHPSESSID": "g53q6qct4l2bbgs1p5t48denf1", | |
"widget_tracker": "YTozOntpOjA7aTo1MzMwO2k6MTtpOjUzMzc7aToyO2k6NTM0MDt9", | |
"widget_validate": "05963d6a3e0abdc7df29beae3c68c6e933d4021446f060024aa4b8fa9cf61928748d4a93bce9209a106db6ef8dbba2ddf8aa0ef105bb11ec0b911a9e513718f" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' Simple Python script to convert STDIN to 13375p34k with limited dictionary ''' | |
''' | |
Usage: | |
$ chmod +x leet_speak.py | |
$ echo "All your base are belong to us" | leet_speak.py | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All credit: http://stackoverflow.com/questions/4006324/how-to-atomically-delete-keys-matching-a-pattern-with-redis | |
redis-cli [options] KEYS "prefix:*" | xargs redis-cli [options] DEL |
NewerOlder