Skip to content

Instantly share code, notes, and snippets.

View malwareslayer's full-sized avatar
👨‍🔬
Researching

Dwi Mulia Mokoginta malwareslayer

👨‍🔬
Researching
View GitHub Profile
@malwareslayer
malwareslayer / repatched.py
Created June 6, 2020 16:53
Repatching Anti Decompile
import marshal
import struct
import imp
import struct
import time
import dis
from types import CodeType
with open("anti_decompile.pyc", "rw+b") as file:
@malwareslayer
malwareslayer / magazinesre0x1.practice.markdown
Created November 6, 2019 17:46
Practice Magazines 0x1

Cheat Sheets Assembly

Basic Compiling

File :

; filename : basic.asm
  global _start
section .text
@malwareslayer
malwareslayer / magazinesre0x1.markdown
Last active November 7, 2019 19:05
Indoxploit Magazines 0x1: Bagaimana Sebuah Bahasa Pemrograman Bekerja ?

Image

Reverse Engineering Enhanced Edition | Publish: 0x1

Bagaimana Sebuah Bahasa Pemrograman Bekerja ?

Pada dasarnya CPU bisa melakukan membaca dan menulis, dan melakukan operasi matematika yang mereka pegang diregisters tetapi tidak bisa membaca bahasa pemrograman apapun terkecuali Machine Code (Binary) yang ter-interpretasi ke Instructions Set Architecture (Assembly) secara vice versa. Agar mempermudah dibuatlah program yang merepresentasikan ulang Assembly tersebut kedalam bahasa pemrograman yaitu program Compilers.

Tutorial ini mengguna

#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#define __OPTIMIZE__ 2
#if(__STDC_VERSION__ < 201710L)
#error Should Compile With Flags "-std=c18"
#endif
@malwareslayer
malwareslayer / magazinesre0x0.markdown
Last active December 26, 2022 00:38
Indoxploit Magazines 0x0: Cepat Memahami Instruksi Assembly

Image

Reverse Engineering Enhanced Edition | Refixes: 0x1

Apa Itu Assembly ?


Assembly adalah bahasa pemrograman CPU yang dibuat berdasarkan Native Processor Language atau biasa disebut Instructions Set Architecture (ISA).