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
D [0-9] | |
L [a-zA-Z_] | |
H [a-fA-F0-9] | |
E ([Ee][+-]?{D}+) | |
P ([Pp][+-]?{D}+) | |
FS (f|F|l|L) | |
IS ((u|U)|(u|U)?(l|L|ll|LL)|(l|L|ll|LL)(u|U)) | |
%{ | |
#include <stdio.h> |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <iostream> | |
#include <unistd.h> | |
#include <boost/thread.hpp> | |
#include <sys/mman.h> | |
#include <poll.h> | |
#include <arpa/inet.h> |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
#include <signal.h> | |
#include <errno.h> | |
#include <fcntl.h> | |
#include <stddef.h> | |
#include <sys/syscall.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> |
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
diff --git a/python/gumbo/bs4_adapter.py b/python/gumbo/bs4_adapter.py | |
new file mode 100644 | |
index 0000000..5a8d273 | |
--- /dev/null | |
+++ b/python/gumbo/bs4_adapter.py | |
@@ -0,0 +1,183 @@ | |
+# -*- coding: utf-8 -*- | |
+# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab | |
+ | |
+from __future__ import unicode_literals, print_function |
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
""" | |
Solution from Disconnect3d [playing in Just Hit the Core] | |
""" | |
import os | |
import angr | |
import pwn | |
import subprocess | |
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
/* | |
* gcc console.c -lncurses | |
* | |
* then run after export TERM=xterm-256color | |
* | |
* (C) 2010, 2017 rofl0r | |
* | |
* displays a nice 256color picture on the terminal, if the terminal | |
* supports it. | |
*/ |
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 44eac78981c07cf2f73a338d3e34eed685f6309d Mon Sep 17 00:00:00 2001 | |
From: Siarhei Siamashka <siarhei.siamashka@gmail.com> | |
Date: Mon, 25 Jul 2016 17:42:19 +0300 | |
Subject: [PATCH] OpenRISC support for GCC 5.3.0 | |
This is the difference between dfad8a2635433704c74c70db28c3559867c2e362 | |
from https://github.com/openrisc/or1k-gcc.git and vanilla GCC 5.3.0 | |
--- | |
ChangeLog.or1k | 8 + | |
config/picflag.m4 | 3 + |
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
# musl-cross config template to build a cross-compiler for sabotage | |
# set your ARCH | |
#ARCH=i486 | |
#ARCH=x86_64 | |
#ARCH=powerpc | |
#ARCH=arm | |
#ARCH=microblaze | |
#ARCH=mips | |
#ARCH=mipsel | |
#ARCH=armv7hf |
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
.DEFAULT_GOAL := all | |
.PHONY: ${MAKECMDGOALS} | |
$(filter-out all,${MAKECMDGOALS}) all: .forward-all ; | |
.forward-all: | |
${MAKE} -C build ${MAKECMDGOALS} | |
${MAKEFILE_LIST}: ; | |
.SUFFIXES: |
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
/* | |
* issetugid implementation for Linux | |
* Public domain | |
*/ | |
#include <errno.h> | |
#include <gnu/libc-version.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <unistd.h> |