Skip to content

Instantly share code, notes, and snippets.

View TobjasR's full-sized avatar
💔
thiswillmakeyoucry.de

Tobias Reich | tobsec TobjasR

💔
thiswillmakeyoucry.de
View GitHub Profile
@VGostyuzhov
VGostyuzhov / scan-axfr.py
Last active November 5, 2021 09:34
This script checks bunch of domains for DNS Zone Transfer vulnerability. Usage: python dns_axfr.py domains.txt where 'domains.txt' file with list of domains to scan. Requirements: pip install dnspython,termcolor
import sys
import dns.resolver
import dns.query
import dns.zone
import csv
from termcolor import colored
from pprint import pprint
resolver = dns.resolver.Resolver()
@fxsjy
fxsjy / SimpleAuthServer.py
Created April 26, 2013 06:23
SimpleAuthServer: A SimpleHTTPServer with authentication
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
import sys
import base64
key = ""
class AuthHandler(SimpleHTTPRequestHandler):
''' Main class to present webpages and authentication. '''
def do_HEAD(self):
@nirenjan
nirenjan / bishop.c
Created January 4, 2013 06:34
Simulate a drunken bishop walk to produce OpenSSL random art.
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#define XLIM 17
#define YLIM 9
#define ARSZ (XLIM * YLIM)
#define DEBUG 0