I hereby claim:
- I am wazehell on github.
- I am wazehell (https://keybase.io/wazehell) on keybase.
- I have a public key ASAk9fsbMBTWHcWZHQKn-r9xMjtErAdcXadEEPRzG0IGFQo
To claim this, I am signing this object:
import json,xmltodict | |
""" | |
Nmap XML Output to Json Output in Python | |
example : data = xml2json('nmap_output.xml') | |
""" | |
def xml2json(xml): | |
xmlfile = open(xml) | |
xml_content = xmlfile.read() | |
xmlfile.close() | |
xmljson = json.dumps(xmltodict.parse(xml_content), indent=4, sort_keys=True) |
from capstone import * | |
shellcode_here = "" | |
def toop(code): | |
md = Cs(CS_ARCH_X86, CS_MODE_32) | |
for i in md.disasm(code, 0x1000): | |
print("0x%x:\t%s\t%s" %(i.address, i.mnemonic, i.op_str)) | |
toop(shellcode_here) |
Filee=$1 | |
getaddr(){ | |
addr=`ldd $Filee | cut -d " " -f2 | head -n 1|tr -d "(|)" ` | |
echo $addr | |
} | |
for i in {1..5}; do | |
if [ "$( getaddr )" == "$( getaddr )" ]; then | |
echo "[+] $( getaddr ) == $( getaddr ) " | |
echo "[+] ASLR disabled ! " |
# -*- encoding: utf-8 -*- | |
from __future__ import unicode_literals | |
from functools import wraps | |
from django.core.exceptions import PermissionDenied | |
from django.core.exceptions import ObjectDoesNotExist | |
def door_safe(view=None,model=None): | |
def decorator(func): | |
@wraps(func) | |
def inner(request, *args, **kwargs): |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import itertools | |
import sys | |
def GenerateUsername(name): | |
USERNAMES = [] | |
try: | |
import unidecode | |
name = unidecode.unidecode(name) | |
except Exception as e: |
import argparse | |
import time | |
import os | |
import platform | |
from requests import get as http_get | |
from netaddr import IPNetwork | |
def logprint(string): | |
now = time.time() |
# -*- coding: utf-8 -*- | |
import win32com.client | |
import os | |
import argparse | |
def closeallword(): | |
try: | |
objWord = win32com.client.Dispatch("Word.Application") | |
objWord.Application.Quit() |
#include <Windows.h> | |
#include <fltuser.h> | |
#pragma comment(lib,"FltLib.lib") | |
typedef NTSTATUS(NTAPI* _RtlAdjustPrivilege)(ULONG Privilege, BOOL Enable, BOOL CurrentThread, PULONG WasEnabled); | |
int main() | |
{ | |
HRESULT unload; | |
ULONG WasEnabled; | |
HMODULE hNtdll = NULL; | |
LPCWSTR SYSMONDRIVER = L"SysmonDrv"; |
from burp import IBurpExtender | |
from burp import ISessionHandlingAction | |
from burp import ITab | |
import sys | |
import json | |
sys.path.append('/usr/local/lib/python2.7/dist-packages') | |
import urllib3 | |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) |