Skip to content

Instantly share code, notes, and snippets.

View RedToor's full-sized avatar
💭
Good black magic

RT RedToor

💭
Good black magic
View GitHub Profile
@RedToor
RedToor / sys_write_log.asm
Created February 20, 2023 18:51
sys_write log shellcode
;
; sys_write log shellcode for Linux x86_64-bits
; nasm -felf64 sys_write_log.asm -o sys_write_log.o
;
;
; call write@lib <-| replace original (write) address in binary to
; 0x0FFFFFF <-| shellcode address offset into himself.
;
global _start
# Lenguaje Ensamblador
## Apuntes del libro "Lenguaje Ensamblador Para Computadoras Basadas en Intel 5ed"
## Epilogo
En los primeros años de los programadores se usaba el assembler para programar las aplicaciones, esto por que se limitaba a
el hardware de aquellos dias, al momento que los procesadores fueron mas rapidos y con mayor capacidad en paralelo fue permitiendole
a el programador dejar la optmizacion por la funcionalidad del software se introdujeron lenguajes como FORTRAN, COBOL, C hasta llegar
a lenguajes de alto nivel como C++, Java, C#, GO.
@RedToor
RedToor / jmp.cpp
Created May 5, 2017 07:30
JMP (SWAP Functions)
/*
Trampolin de FuncionA a FuncionB
1) Establecer permisos de escritura en la memoria.
2) Obtener direccion de la FuncionB
3) Ecribir en memoria OPCODE(0xE9) = JMP + direccion de FuncionB
*/
#include <windows.h>
#include <cstdio>
@RedToor
RedToor / befa.php
Last active October 18, 2016 06:04
[Bypass Head for authentication]
<?php
/*
Coder : [f][t] \ RedToor
Project: BEFA [Bypass Head for authentication]
Date 1 : 11/08/2014 Vs 1
Date 2 : 11/19/2014 Vs 2
Date 3 : 10/18/2016 Vs 3
how it works
@RedToor
RedToor / review.c
Last active September 28, 2016 20:40
C Language in one file
/*
C Language in one file
by RedToor - sep, 27' 2016
C - gcc review.c -o review.o -fpermissive
X - ./review.o
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@RedToor
RedToor / Leer.asm
Last active November 30, 2021 02:45
Leer datos en Lenguaje Ensamblador
; Ensamblador Para 8086
; Recibir Cadenas
; http://www.ousob.com/ng/asm/ng5589f.php
; Por RedToor
.MODEL TINY
.STACK
.DATA
VAR DB ? ; Variable para la Entrada
@RedToor
RedToor / Imprimir.asm
Last active October 17, 2022 01:14
Imprimir Datos en Lenguaje Ensamblador
; Ensamblador Para 8086
; Imprimir Cadenas
; http://www.ousob.com/ng/asm/ng4776d.php
; Por RedToor
.MODEL TINY
.STACK
.DATA
MSG DB 10,13,'Hola Mundo$'
@RedToor
RedToor / Suma.asm
Last active July 18, 2023 08:06
Suma en Lenguaje Ensamblador
; 1) PROGRAM in ASM FOR 8086/x32
; by RedToor
.MODEL SMALL
.STACK
.DATA
N1 DB 0 ; VARIABLE PARA ENTRADA 1
N2 DB 0 ; VARIABLE PARA ENTRADA 2
N3 DB 0 ; VARIABLE PARA RESULTADO
@RedToor
RedToor / btDVR.py
Last active November 8, 2023 19:41
BruteForce IP CAMERA H.264 DVR - Exploit
# Exploit Title: BruteForce IP CAMERA H.264 DVR
# Google Dork: intext:Any time & Any where IP Surveillance for Your Life
# Date: 10/2/15
# Exploit Author: RedToor
# Source: https://gist.github.com/RedToor/71a109a7732884714e8ee07f61cfda59
# Version: ALL
# Tested on: Windows and Linux
# USE:
# python btDVR.py -h 127.0.0.1 -p 3000 -l passwords.txt -u admin
#