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
import sys | |
import threading | |
import time | |
import scapy | |
import scapy.contrib.dtp | |
from scapy.contrib.dtp import * | |
import scapy.contrib.vtp | |
from scapy.contrib.vtp import * | |
from scapy.sendrecv import sniff | |
from scapy.layers.l2 import * |
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
# 0. Requirements | |
apt install -y growisofs genisoimage | |
# 1. Extract installer resources | |
mkdir iso | |
cp /data/ISOs/pfSense-CE-2.7.2-RELEASE-amd64.iso pfsense-2.7.2.unattended.iso | |
mount pfsense-2.7.2.unattended.iso iso | |
cp iso/etc/rc.local . | |
cp iso/usr/libexec/bsdinstall/auto . | |
umount iso |
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 <mruby.h> | |
#include <mruby/array.h> | |
#include <mruby/hash.h> | |
#include <mruby/irep.h> | |
#include <mruby/string.h> | |
#include <unistd.h> | |
mrb_value qux(mrb_state*, mrb_value); | |
int main(int argc, char** argv, char** envp) { |