Python – Getting HTML with DOM

The other day I encountered a scenario where I needed to get HTML with Python, but only after Javascript had finished running. I accomplished this using the selenium driver. Download selenium with pip install selenium Download the driver for the browser you want to emulate. You can download them from this page. The driver must be […]

Setting Up SELinux (A quickstart)

What This Tutorial Covers A quick start for installing SELinux A quick start for configuring Multi-Level Security (MLS) Configuring Users and Files for MLS A listing of helpful SELinux commands The aim of this tutorial is to get the user up and running with SELinux quickly and provide additional resources for further research. Tutorial performed on: […]

Connect GNS3 to ESXi

Introduction As far as I can tell, there’s no great way to make this happen. I will explain, but to give you an image up front, below is a diagram of what I did. It may seem daunting at first, but I’ll explain as we go along. Set Up Description My GNS3 server is running on […]

Receive SNMP Traps with Icinga 2 on Ubuntu/Debian

Configure Icinga2 to Receive SNMP Traps on Ubuntu/Debian Warning I’m warning you up front, making this happen is a pain if you’re new to Icinga. I did my best to account for every nuance I ran into, but you may find something else. Feel free to comment if you need help. Introduction Unfortunately, there is no […]

Icinga “ did not exit properly error”

I got this and it took some time to troubleshoot. The error is misleading. What it’s really telling you is that the plugin failed to execute properly. Here’s the catch, this includes warnings. So if you manually test the plugin from the command line outside of Icinga and it works, but gives a warning, when […]

Configuring Icinga for Cisco SNMP

Original Error: “CRITICAL – Plugin timed out while executing system call” I had a bit of trouble getting this to work so I thought I would share my solution. I initially followed the tutorial here. I basically wanted to Icinga to receive SNMP data from a Cisco 7200 I had set up. To begin, set up […]

Using Python for Cisco Serial I/O

pyCiscoConsole v1.00- A Class Based Approach for Serial IO to a Cisco Device Contents Overview Requirements Installation CiscoDevice Class Public Methods __init__ set_receive_wait get_mode set_mode send_command DeviceMode Class Usage Example Downloads Overview pyCiscoConsole provides a class based interface for communicating with a Cisco device over a console cable. pyCiscoConsole is single threaded and uses a heuristic […]

IPv6 – What is the Service Block Model?

Overview The service block model (SBM) is an IPv6 migration strategy utilizing ISATAP tunnels designed for organizations who must rapidly implement IPv6. The service block model acts as an overlay network which has no impact on the underlying IPv6 network. Two Catalyst 6500 switches comprise the core of the SBM. The two Catalyst 6500 switches […]

FTPoverEmail Beta v1.00

I made a few more edits to FTPoverEmail. I got the SSH functionality working and fixed a couple of bugs for this next version. I’ve started studying for CCDP so my work on it has tailed off a fair amount. Here’s the next version with the bug fixes and SSH functionality. I called this one […]