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
package main | |
import ( | |
"fmt" | |
"syscall" | |
"unicode/utf16" | |
"unsafe" | |
) | |
//https://github.com/golang/go/wiki/WindowsDLLs |
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
#requires -version 2 | |
<# | |
Author: Noah | |
@subTee's reflexive loader | |
Required Dependencies: msbuild, csc | |
Execute: Run-UpdateKatz -Verbose |
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
// Configuration Type: DLL | |
// Runtime Library: /MT | |
// Use of MFC: Use MFC in Static Library | |
// Architecture must match target _process_ | |
// dllmain.cpp : Defines the entry point for the DLL application. | |
#include "stdafx.h" | |
#include <windows.h> | |
#include <sstream> |
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 python3 | |
import os | |
import re | |
import sys | |
import json | |
import gzip | |
import csv | |
import datetime | |
import shodan |
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 python3 | |
import os | |
import sys | |
import time | |
import shodan | |
import netaddr | |
import ipaddress | |
''' |
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 python3 | |
import os | |
import sys | |
import json | |
import time | |
import random | |
import string | |
import shodan | |
import ipaddress |
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 | |
''' | |
Just a python re-write of a tool by akerl | |
https://blog.akerl.org/2018/03/15/stealing-slack-creds-from-chrome/ | |
https://github.com/akerl/limp | |
# user profiles | |
for tok in $(python3 slack-jack.py); do echo "Trying $tok"; curl -s https://slack.com/api/users.profile.get\?token\=$tok -H'Content-Type: application/x-www-form-urlencoded' | jq ; done |
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
import netaddr, ipaddress | |
def file_to_array(fname): | |
with open(fname) as f: | |
farr = [l.strip() for l in f if l.strip()] | |
return farr | |
def cidrs_to_hosts(input_arr): | |
output_arr = [] | |
for e in input_arr: |
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
package main | |
import ( | |
"io/ioutil" | |
"os" | |
"os/exec" | |
"strconv" | |
"syscall" |
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 | |
# pip install python-ldap | |
import sys, ldif | |
def main(): | |
if len(sys.argv) != 3: | |
print("Usage: %s <ldif_dump.ldif> <outfile>") % sys.argv[0] | |
sys.exit(-1) | |
ldif_file = sys.argv[1] |