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 […]

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 […]

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 […]

How to Setup OpenVPN on Ubuntu 14.04

Below is a setup for OpenVPN on Ubuntu 14.04. With some modifications, it should work on most flavors of Linux  Much of the setup came from https://help.ubuntu.com/14.04/serverguide/openvpn.html with a couple of modifications to work out any bugs I ran across. Keep in mind this is for a routed VPN. A good explanation of routed vs […]

Create DHCP Server in VyOS

set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> start <IP-ADDRESS-OF-START>stop <IP-ADDRESS-OF-STOP> You may want to set up static leases which you can do by using set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> static-mapping <NAME-OF-RULE> mac-address <MAC-ADDRESS-OF-MACHINE> set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> static-mapping <NAME-OF-RULE [same as above]> ip-address <IP-ADDRESS-OF-MACHINE> You can also set the default […]

CCNP Route

Passed CCNP Route! If you’re studying for CCNP Route I strongly recommend finding a review guide and ditching the official book. The official book by Odem was a great reference, but it just had far too much extraneous information. While I do love learning for learning’s sake, at the end of the day you still […]

How to Use Proxychains / Forwarding Ports

I was recently in an exercise requiring some pivoting. You know what’s really useful, but has absolutely no decent documentation anywhere!? Proxychains. I wrote a Code Project tip on how to use proxychains for simple pivoting. The article is hosted here: How to Use Proxychains