Skip to content

Instantly share code, notes, and snippets.

View darkr4y's full-sized avatar
🎯
Self-Introspection

D@rkR4y. darkr4y

🎯
Self-Introspection
  • Pand0ra
  • Origin
View GitHub Profile
@darkr4y
darkr4y / WIngIDE_Keygen.py
Created September 2, 2014 05:58
WIngIDE_Keygen.py
#!/usr/bin/env python
#coding:utf-8
#author blog link - http://blog.csdn.net/stevendbaguo/article/details/37320705 thx
import sha
import string
BASE2 = '01'
BASE10 = '0123456789'
BASE16 = '0123456789ABCDEF'
BASE30 = '123456789ABCDEFGHJKLMNPQRTVWXY'
BASE36 = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
@darkr4y
darkr4y / wormhole_scanner.py
Last active November 5, 2015 08:31
simple baidu moplus sdk vuln aka wormhole scanner
#!/usr/bin/python
'''
convert curl to py request - http://curl.trillworks.com/
pip install ipaddr
pip install requests
'''
import requests
@darkr4y
darkr4y / easyicon.py
Created April 28, 2016 08:47
easyicon download
#!/usr/bin/python
import sys
import urllib
import re
GetZipUrl = "http://www.easyicon.net/api/get_zip_api.php?id=" #1179177,1179178
def DownLoad(id):
url = GetZipUrl + id
@darkr4y
darkr4y / Openwrt B70
Last active October 30, 2021 05:09
openwrt
# the snapshot
src/gz openwrt_core http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages
src/gz openwrt_kmods http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/kmods/4.14.152-1-a9cdac360b981f868e31773c1230fcd0
src/gz openwrt_base http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base
src/gz openwrt_luci http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci
src/gz openwrt_packages http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages
src/gz openwrt_routing http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing
src/gz openwrt_telephony http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony
# 18.06
@darkr4y
darkr4y / Aes
Last active February 24, 2020 05:41
public class Main {
public static void main(String[] argv) throws Exception {
System.out.println("Keystore: " + argv[0]);
System.out.println("Keystore Password: " + argv[1]);
System.out.println("Key Password: " + argv[1]);
@darkr4y
darkr4y / s5.go
Created December 21, 2019 02:53
go socks5 proxy server
package main
import (
"log"
"flag"
"os"
"github.com/armon/go-socks5"
)
var (
@darkr4y
darkr4y / httpsrv.py
Last active May 2, 2024 20:42
python simple http server with upload & download
#!/usr/bin/env python
"""Extend Python's built in HTTP server to save files
curl or wget can be used to send files with options similar to the following
curl -X PUT --upload-file somefile.txt http://localhost:8000
wget -O- --method=PUT --body-file=somefile.txt http://localhost:8000/somefile.txt
__Note__: curl automatically appends the filename onto the end of the URL so
[
{
"type": "network",
"flip": true,
"align": "left",
"width": 80,
"bordered": false
},
{
"type": "staticButton",
@darkr4y
darkr4y / dll_hijack_x64.py
Created January 6, 2022 10:57
Dll Hijack x64 support
#!/usr/bin/python
# coding=utf-8
# stolen from https://github.com/InoriJam/DLL-hijack-X64 tested on vs2019
import os
import pefile
import sys
@darkr4y
darkr4y / aircrack_check.sh
Last active January 22, 2022 08:22
aircrack-ng batch valid pcap
#!/bin/sh
# ref - https://stackoverflow.com/questions/9612090/how-to-loop-through-file-names-returned-by-find
# ref - https://github.com/kimocoder/wifite2/tree/master/wifite/tools/
# ref - https://stackoverflow.com/questions/55011240/how-to-count-the-number-of-valid-wpa-handshakes-in-a-cap-file
# ref - https://kalitut.com/how-to-extract-handshake-from-capture/
echo "WARNING: quick & dirty, will miss valid wpa handshake pcap files :("
TARGET=$1