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
diff --git a/configure.ac b/configure.ac | |
index 691fbea..c2c68ff 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -3,7 +3,7 @@ | |
# All rights reserved, all wrongs reversed | |
# Minimum autoconf version | |
-AC_PREREQ(2.65) | |
+AC_PREREQ(2.63) |
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 | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# | |
# You should have received a copy of the GNU General Public License | |
# along with this program; if not, write to the Free Software | |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
# |
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
package main | |
import . "syscall" | |
import "fmt" | |
import "unsafe" | |
type NetlinkAuditRequest struct { | |
Header NlMsghdr | |
Data RtGenmsg | |
} |
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
#include <netdb.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#define CANARY "in_the_coal_mine" | |
struct { | |
char buffer[1024]; |
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 | |
# Test if NS sanitizes CVE-2015-0235 | |
#Check output with tcpdump ;) | |
from scapy.all import * | |
ip="your local ip here" | |
ns="your ns ip here" | |
t='0' * 10000 + '377.255.255.255' |
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
/* ns_exec.c | |
Copyright 2013, Michael Kerrisk | |
Licensed under GNU General Public License v2 or later | |
Join a namespace and execute a command in the namespace | |
*/ | |
#define _GNU_SOURCE | |
#include <fcntl.h> | |
#include <sched.h> |
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 | |
# See also https://developer.github.com/v3/search/ | |
# First: | |
# git clone https://github.com/michaelliao/githubpy | |
import githubpy.github as github | |
import urllib | |
API_KEY="" | |
USERS=['gdestuynder', 'kangsterizer'] | |
ORGS=['mozilla-it'] |
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 | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
# Required packages (available from pip) : pyqrcode, pypng | |
import pyqrcode | |
import base64 |
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 | |
# Note: this script uses generic exception catching with no traceback logging for file operations. | |
# Note: this is to be superseded by MIG | |
# | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
# Copyright (c) 2012 [email protected] | |
import os |
OlderNewer