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
#!/bin/sh | |
# Convert a raw binary image into an ELF file suitable for loading into a disassembler | |
# | |
# Usage: bin2elf input_binary_file output_elf_file base_address | |
cat > raw$$.ld <<EOF | |
SECTIONS | |
{ | |
EOF |
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
#!/bin/bash | |
echo "Your code please." | |
FOLDER=$(mktemp -d) | |
cp flag.txt "$FOLDER" | |
cd "$FOLDER" | |
mkdir src | |
cat <<EOF > Cargo.toml | |
[package] | |
name = "funsafe" |
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
#!/bin/env python | |
""" | |
A simple example calling any functon in the foreground from background threads, including a response, using Queues. | |
""" | |
from multiprocessing import Queue, Process, cpu_count | |
from collections import namedtuple | |
import traceback | |
Event = namedtuple("Event", "thread_id function args kwargs") |
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
var subnet = "http://192.168.178." | |
var timeout = 4000; | |
var TIMEOUT = "timeout"; | |
var ERROR = "error"; | |
var LOADED = "loaded"; | |
function request(url, wait) { | |
return new Promise((resolve, reject) => { | |
setTimeout(function () { |