#!/usr/bin/env python3 import re from pwn import * from typing import Type, Union from solver import Solver CHALLENGE_NUMBER = 8 CHALLENGE_PORT = 1345 def solve(pwn_tube:Type[tube],file:str) -> Union[None,str]: context(arch='amd64',os='linux', log_level = "ERROR") context.terminal = ["tmux", "splitw", "-h"] context.log_level = 'DEBUG' #comment out this line to reduce console output """ Your code goes here, please return the flag from this function """ if __name__ == "__main__": solver = Solver(solve,CHALLENGE_NUMBER,CHALLENGE_PORT) flag = solver.solve() print(flag)