From 5b42f93b5b0d33dc5c790991431b6282a5671bc9 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Tue, 12 Apr 2016 18:35:37 +0200 Subject: Some housekeeping/reorganizing moving things that need work into extras/ --- extras/fap/dhcpd/module_craft_option.py | 79 +++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100755 extras/fap/dhcpd/module_craft_option.py (limited to 'extras/fap/dhcpd/module_craft_option.py') diff --git a/extras/fap/dhcpd/module_craft_option.py b/extras/fap/dhcpd/module_craft_option.py new file mode 100755 index 0000000..35e7328 --- /dev/null +++ b/extras/fap/dhcpd/module_craft_option.py @@ -0,0 +1,79 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +''' + Created by Jonas 'j' Lindstad for The Gathering 2015 + License: GPLv3 + + Class used to craft byte hex encoded DHCP options + + NB: No direct support for suboptions. Should be possible to craft suboptions as + options, and inject them with craft_option(