This file contains 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 python3 | |
# coding: utf-8 | |
from pwn import * | |
context.terminal = ['tmux', 'sp', '-h'] | |
#context.log_level = 'DEBUG' | |
HOST = "104.248.128.57" | |
PORT = 13337 | |
LOCAL = False |
This file contains 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/python | |
from pwn import * | |
context.terminal = ['tmux', 'sp', '-h'] | |
#context.log_level = 'DEBUG' | |
elf = ELF('./ghostdiary') | |
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec = False) | |
io = process(elf.path) |
This file contains 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 python3 | |
# coding: utf-8 | |
from pwn import * | |
context.terminal = ['tmux', 'sp', '-h'] | |
#context.log_level = 'DEBUG' | |
HOST = "docker.hackthebox.eu" | |
PORT = 30692 | |
LOCAL = False |
This file contains 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
from pwn import * | |
import time | |
context.arch = "amd64" | |
HOST = "pwn4.ctf.nullcon.net" | |
PORT = 5003 | |
def screen_clean(): | |
sys.stdout.write("\033[F") |
This file contains 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 python3 | |
# coding: utf-8 | |
from pwn import * | |
context.terminal = ['tmux', 'sp', '-h'] | |
#context.log_level = 'DEBUG' | |
HOST = "ctf.h-c0n.com" | |
PORT = 60003 |
This file contains 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 python3 | |
# coding: utf-8 | |
from pwn import * | |
context.terminal = ['tmux', 'sp', '-h'] | |
#context.log_level = 'DEBUG' | |
HOST = "3.93.128.89" | |
PORT = 1215 |
This file contains 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
# NOTE: This Dockerfile is provided for reference ONLY. | |
# It is NOT the production Dockerfile used for the challenge. | |
# The sole purpose here is to reveal the system environment | |
# that the challenge is being hosted in. | |
# | |
# In other words the most important clause is the FROM clause. | |
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 | |
RUN useradd -u 1234 -m demo | |
ADD pwn2.csproj /home/demo |
This file contains 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
using System; | |
using System.Drawing; | |
using System.IO; | |
namespace BMPExtractor { | |
internal class Program { | |
private static int len_key = 6; |
This file contains 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
import os, sys | |
from pwn import * | |
HOST = '10.10.10.139' | |
USER = 'margo' | |
PASS = 'iamgod$08' | |
LOCAL = False | |
elf = ELF('./garbage') |
This file contains 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
from pwn import * | |
elf = ELF('./tweetdb') | |
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec = False) | |
local = False | |
HOST = 'challenges.hackplayers.com' | |
PORT = 1337 | |
# context.terminal = ['tmux', 'sp', '-h'] |