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
FROM debian:unstable | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN sed -i 's/main/main contrib non-free/' /etc/apt/sources.list | |
RUN echo "deb-src http://deb.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list | |
RUN apt-get -y update | |
RUN apt-get -y install build-essential bear | |
RUN useradd -ms /bin/bash builder | |
RUN apt-get -y install sudo | |
RUN adduser builder sudo |
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
#!/bin/bash | |
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
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 re | |
import sys, os | |
sys.path.append('/usr/lib/python3/dist-packages') | |
import apt | |
import apt_pkg | |
import argparse | |
def urljoin(*args): |
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
{ | |
"data-root": "/fastdata/docker_img/storage", | |
"storage-driver": "overlay2", | |
"hosts": [ | |
"unix:///var/run/docker-nvme.sock" | |
], | |
"pidfile": "/var/run/docker-nvme.pid", | |
"exec-root": "/fastdata/docker_img/run", | |
"bridge": "docker0", | |
"iptables": true |
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
# Install with: | |
# sudo install -m 600 ephemeral-github-actions-runner.env /etc/ | |
RUNNER_SCOPE=org | |
ORG_NAME=NYUAppSec | |
RUNNER_NAME_PREFIX=appsec_runner | |
ACCESS_TOKEN=INSERT_YOUR_GH_TOKEN_HERE | |
RUNNER_WORKDIR=/tmp/runner/work | |
EPHEMERAL=true |
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 python3 | |
import psutil | |
import docker | |
from datetime import timedelta, datetime | |
import time | |
client = docker.from_env() | |
while True: | |
time.sleep(10) |
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
I'm broken. Please show this to someone who can fix can fix | |
-- | |
I dddon't go any higher than filll. | |
-- | |
Things are pretty mixed up, but I think the worst is over. | |
-- | |
Sorry, I don't know how to help in this situation. | |
Maybe you should try asking a human? | |
-- | |
If you really absolutely need more capacity, |
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
print_err("Emergency stop"); help1(s); succumb; | |
-- | |
help1("I'm broken. Please show this to someone who can fix can fix"); | |
-- | |
help1("The magnification ratio must be between 1 and 32768."); | |
-- | |
help1("I'm forgetting what you said and using zero for this \the."); | |
-- | |
help1("I'm forgetting what you said and using zero for this \the."); | |
-- |
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 python3 | |
import os | |
import sys | |
import hashlib | |
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes | |
SHA384_SIZE=48 | |
if len(sys.argv) != 4: |