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 os | |
| import sys | |
| import time | |
| from subprocess import Popen, DEVNULL | |
| import datetime | |
| from scapy.all import IP, UDP, NTP | |
| from netfilterqueue import NetfilterQueue | |
| def get_switch_ip(): |
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
| { | |
| "type": "cybox-container", | |
| "spec_version": "3.0", | |
| "objects": { | |
| "0": { | |
| "type": "email-message-object", | |
| "header": { | |
| "received_lines": [ | |
| "from mail.wayneindustries.com ([1.2.3.4]) | |
| by smtp.gmail.com with ESMTPSA id q23sm23309939wme.17.2016.07.19.07.20.32 |
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 | |
| # quick shell hack for generating xkcd-style passwords | |
| wordcount=$1 | |
| MIN_WORD_LENGTH=4 | |
| MAX_WORD_LENGTH=7 | |
| LANGUAGE='en' |