Skip to content

Instantly share code, notes, and snippets.

@redgoldlace
Created December 19, 2020 23:21
Show Gist options
  • Save redgoldlace/f0e96036060824055681f3eba86922ff to your computer and use it in GitHub Desktop.
Save redgoldlace/f0e96036060824055681f3eba86922ff to your computer and use it in GitHub Desktop.
# coding: horror
from horror import horror
@horror
def it_has_begun():
%define stdout 1
%define stderr 2
%define newline 10
section .data
message db "Everything is terrible", newline
message_length equ $-message
section .text
global _start
_start:
mov rax, 1
mov rdi, stdout
mov rsi, message
mov rdx, message_length
syscall
mov rax, 60
xor rdi, rdi
syscall
print("Oh god oh fuck oh shit")
it_has_begun()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment