Skip to content

Instantly share code, notes, and snippets.

global _start
section .text
_start
MOV ebx,23133
MOV eax,12733
MOV ecx,27798
CMP ebx,eax
JL L1
<?php
// You put your own App ID and Sender IDs
define("GOOGLE_APP_ID", "AIxxxxxxxxx");
define("SENDER_ID", "xxxxxxxxxx");
// Device ID to send the message to
$deviceId = "insertdeviceidhere";
$message = "Message from PHP!";
// Create the POST request
/*
Reads data from /etc/passwd to /tmp/outfile
No null bytes
Author: Chris Higgins <chris@chigs.me>
@ch1gg1ns -- github.com/chiggins
chigstuff.com
Date: 3-27-2014
Size: 118 bytes
Tested: ArchLinux x86_64 3.13.6-1
BITS 64
[SECTION .text]
global _start
_start:
; sys_write
xor rax, rax
mov rax, 1 ; syscall
global _start
section .text
_start:
;print on screen
mov rax, 1
mov rdi, 1
mov rsi, hello_world
mov rdx, length