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
[multi] | |
machinery = xenserver,physical |
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
### hostapd configuration file | |
ctrl_interface=/var/run/hostapd | |
ctrl_interface_group=0 | |
interface=wlan0 | |
driver=nl80211 | |
#noscan=1 | |
bridge=br0 | |
### IEEE 802.11 | |
ssid=xxxxx |
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
// ==UserScript== | |
// @name Splunk Cloud - Advanced Edit | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Splunk Cloud - Advanced Edit | |
// @author Steve McMaster <mcmaster[at]hurricanelabs[.]com> | |
// @match http*://*/en-US/manager/*/data/* | |
// @match http*://*/en-US/manager/*/saved/* | |
// @grant none | |
// @require https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.18.0/URI.js |
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 json | |
import os | |
import socket | |
import sys | |
import urllib2 | |
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
import argparse | |
from http.server import SimpleHTTPRequestHandler, test | |
class MyHTTPRequestHandler(SimpleHTTPRequestHandler): | |
def end_headers(self): | |
self.send_my_headers() | |
super().end_headers() | |
def send_my_headers(self): |
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
import logging | |
import json | |
import requests | |
OPSGENIE_API_KEY = "" | |
ZENDESK_USERNAME = "" | |
ZENDESK_API_KEY = "" |
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
--- a/common/compat.c | |
+++ b/common/compat.c | |
@@ -816,7 +816,7 @@ getauxval (unsigned long type) | |
extern int __libc_enable_secure; | |
secure = __libc_enable_secure; | |
-#elif defined(HAVE_ISSETUGID) | |
+#elif defined(HAVE_ISSETUGID) && !defined(__APPLE__) | |
secure = issetugid (); | |
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
ipvoid: | |
name: IPVoid | |
otypes: | |
- ip | |
webscraper: | |
setup: | |
url: http://www.ipvoid.com/ | |
method: post | |
data: | |
ip: '{target}' |
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
import collections | |
import re | |
import requests | |
import sys | |
import yaml | |
from urllib.parse import parse_qs | |
Result = collections.namedtuple("Result", ("value", "pretty_name")) |
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
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) HVM-boot-policy="" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) HVM-boot-params:order="" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) PV-args="-- quiet console=hvc0" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) PV-bootloader="eliloader" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) other-config:install-distro="debianlike" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) other-config:install-repository=http://us.archive.ubuntu.com/ubuntu | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) other-config:debian-release=trusty | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) other-config:insta |