Coding Packets Blog

Author Archives: Coding Packets Blog

Ansible AWX Part 1

Ansible AWX is the upstream open source project to Ansible Tower. This is the first part of a series on Ansible AWX. In this part we will install Ansible AWX. Code versions used for this post Centos 7 - minimal 1705.02 (vagrant box) Python - 2.7.13 Ansible - 2.4.0 docker - 1.12.6 ...

Ruby Quick Reference

Best Practices Ruby Style Guide Rails Testing Best Practices Comment Variable String Stings are mutable in Ruby HERE Doc HERE are used for multi-line strings Symbol Symbols are similar to strings except they are immutable Integer Boolean Array Hash # New syntax - Ruby >= 1.9 For Loop #...continue reading

NMAP Quick Reference

NMAP is a tool for network discovery and auditing. This is not a comprehensive tutorial, only a quick reference source. Consult the man pages and/or documentation for indepth explanation of commands. Port Scan Top Ports Scan the top N number of ports cmd nmap --top-ports 10 www.google.com UDP...

Netcat Quick Reference

Netcat is a utility for checking open ports. It has more flexibility than using the telnet command and can be used with scripts more easily. This is not a comprehensive tutorial, only a quick reference source. Consult the man pages and/or documentation for indepth explanation of commands. I...

Napalm Getting Started

Napalm is a network automation library written in python that abstracts the differences between libraries such as Juniper's pyez and Arista's pyeapi bringing a common interface across many API's. Napalm is well supported in the network community, originally started by David Barroso and Elisa...

TextFSM Getting Started

Textfsm is a text parsing library written in python to turn plain text into structured data. Originally created by Google, the project seemed largely abandoned until recently being added to github and receiving a small update. This post will show how to extract interesting data from the...