Skip to content

Instantly share code, notes, and snippets.

@hkraw
hkraw / fs-2.cc
Created February 21, 2021 06:30
#include <iostream>
#include <pwntools>
#include <string>
#include <vector>
using namespace pwn;
auto io = Remote("13.233.166.242", 49157);
void add(uint32_t idx, uint32_t size, const std::string &data,
const std::string &s = "\n") {
@hkraw
hkraw / fs-1.cc
Created February 20, 2021 20:22
#include <iostream>
#include <pwntools>
#include <string>
#include <vector>
using namespace pwn;
// auto io = Process("./FS-1");
auto io = Remote("13.126.21.122", 49160);
void add(uint32_t idx, uint32_t size, const std::string &data,