Skip to content

Instantly share code, notes, and snippets.

View etra0's full-sized avatar
need more coffee

Sebastián A. etra0

need more coffee
View GitHub Profile
<mxfile host="app.diagrams.net" modified="2021-01-25T16:30:29.575Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36" etag="N6uqm_aVjF8VW4OCiYk5" version="14.2.7" type="embed"><diagram id="Gm-DEJnpBQt_tOzBdzbB" name="Page-1">3ZnLcpswFIafhm0GEDL2MnGcZpFepl502VFAAU0EYmT51qevCAKMBTVMUgvihQf+Iy7n09Hvg7HAMjl84SiLv7IQU8u1w4MF7i3Xhe5MfufCsRA8AAsh4iQsJKcW1uQPVqKt1C0J8aYxUDBGBcmaYsDSFAeioSHO2b457IXR5lUzFGFNWAeI6uovEoq4UOeuX+uPmERxeWVntigiCSoHq0w2MQrZ/uSsYGWBJWdMFFvJYYlpzq7kUhz30BGtbozjVPQ5AKr72CG6VcmpGxPHMlvOtmmI8wMcC9ztYyLwOkNBHt3L6ZVaLBKqwhvB2WtFBUrlhVC6ZJTxt7OB4lONPIk8vH1kRE9C5bXDXODDOS1ZZZglWPCjHKKic5WXKjDXVvv7eroc21difDJXYKZEpGokqs5dY5QbimQ7VTC7TDWSWLP+mVbFjJ7LM9j/JOC4ZwjmLQhmLQSq2nwXAXCZgKz9LN9MDlHuEjfPWZLebDDfkQD/Fmjz2qwsthWUpLJgyjVtt5Zbd1mdFmLKUtxaadXUXS61SyAd+BEgPQ3kN2mnUnE0oPKGRdtqPEu6hQOiJErlbiA5YKnf5ekTaXi3KpCQMMwv07r8a4Ow38u0/IWAjdp1fL12YVvpfgRwqAH/8XS7XD1+f7pf/fzEzEEfy/xf0H3zhgnMGuZ8qobpd0yAKcNcdBmmDnS0i7c/U/OG6ekt5CQNczBzk4bpORr0qxsmNGqYn
@etra0
etra0 / README.md
Last active December 27, 2020 19:44

I did this exercise in order to learn about internal hacking using DLL injection and interfacing ASM with Rust.

This code will not compile by itself, you need to create the rust structure which should look something like this

dll
├── Cargo.toml
├── build.rs
└── src
    ├── interceptor.asm
 └── lib.rs
__declspec(naked) void shellcode()
{
// rax -> jmpBackAddress
// rax+8 -> camera pointer location
__asm__ volatile (
".intel_syntax noprefix;"
"lea r11,[rip+0x200];"
"push rbx;"
"mov rbx,rcx;"
"mov [r11+8],rbx;"
@etra0
etra0 / metacritic_scores.csv
Last active December 23, 2019 03:41
Metacritic scores
We can't make this file beautiful and searchable because it's too large.
release_date;score;title;user_score
Nov 23, 1998;99;The Legend of Zelda: Ocarina of Time (N64);9.1
Sep 20, 2000;98;Tony Hawk's Pro Skater 2 (PS);7.5
Apr 29, 2008;98;Grand Theft Auto IV (PS3);7.5
Sep 8, 1999;98;SoulCalibur (DC);8.6
Apr 29, 2008;98;Grand Theft Auto IV (X360);7.9
Nov 12, 2007;97;Super Mario Galaxy (WII);9.0
May 23, 2010;97;Super Mario Galaxy 2 (WII);9.1
Oct 26, 2018;97;Red Dead Redemption 2 (XONE);7.6
Nov 18, 2014;97;Grand Theft Auto V (XONE);7.8
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<title>Random Sierpinsky</title>
</head>
<body>
</body>
<script src='https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/addons/p5.dom.min.js'></script>
@etra0
etra0 / .block
Created September 24, 2018 03:02
demo final stgo
license: gpl-3.0
width: 900
height: 900
scrolling: no
border: no
@etra0
etra0 / .block
Created June 9, 2018 02:43
PS4 Loading Screen in d3js
license: gpl-3.0
width: 910
height: 310
scrolling: no
border: no
@etra0
etra0 / love.py
Last active February 26, 2018 23:43
import numpy as np
import sys
import matplotlib.pyplot as plt
import matplotlib as mpl
import matplotlib.font_manager as fm
from scipy.misc import imread
from PIL import Image
f = fm.FontProperties(fname='/System/Library/Fonts/Times.dfont')
carrera codigo
Arquitectura 13
Construcción Civil 12
Ingeniería Civil 11
Ingeniería Civil Ambiental 84
Ingeniería Civil Electrónica 21
Ingeniería Civil Eléctrica 23
Ingeniería Civil Industrial 60
Ingeniería Civil Matemática 10
Ingeniería Civil Mecánica 41
@etra0
etra0 / .block
Last active October 16, 2017 03:16
Runge's phenomenom
license: gpl-3.0
height: 800
scrolling: no
border: yes