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
## TTP ASA Template | |
## Published 2021.10.12 | |
## Jimmy Taylor | |
## | |
## Template for Cisco ASA configurations that organizes objects, object-groups, and ACLs | |
## for JSON using TTP Project | |
## | |
## TTP Project: https://github.com/dmulyalin/ttp | |
## | |
## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
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
[ | |
{ | |
"source": "https://www.cisco.com/c/en/us/td/docs/security/asa/asa96/configuration/general/asa-96-general-config/ref-ports.html#ID-2120-000002b8", | |
"tcp": { | |
"aol": "5190", | |
"bgp": "179", | |
"chargen": "19", | |
"cifs": "3020", | |
"citrix-ica": "1494", | |
"cmd": "514", |
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
select * | |
from device_port as dp | |
join device as d | |
on dp.ip = d.ip | |
where | |
d.model = '38xxstack' and | |
dp.descr ~ '(Giga|TenGiga)' and | |
dp.ip << '10.0.0.0/8' | |
order by dp.ip desc; |
We can't make this file beautiful and searchable because it's too large.
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
Select a Contest to View,Race Corrected,Selected Contest,Race - Parameter Driven,Precinct,Choice Name,Contest Title,Race Corrected (group),#Precinct,Calculation1,Choice ID,Choice Name Corrected,Choice Party,Choice Party Corrected,Contest ID,Contest Party,Highlight Selection,Legislative District,Line 1,Line 2,Line 3,Line 3 (Mobile),Number,Parameter Page Selector Label,Precinct ID,Precinct Reporting,Race Corrected (copy),Update,% Turnout,Absentee Voting Invalid Votes,Absentee Voting Overvotes,Absentee Voting Undervotes,Absentee Voting Votes,Adjustment 2,Area,Ballots Cast,Calculated Total Votes,Choice ID Mod 4,Choice Sort,Choice Sort Mod 5,Color,Count Number of Precincts,COUNT PRECINTS,Early Voting Invalid Votes,Early Voting Overvotes,Early Voting Undervotes,Early Voting Votes,Election Day Voting Invalid Votes,Election Day Voting Overvotes,Election Day Voting Undervotes,Election Day Voting Votes,F29,F39,FIXED Absentee Mail Voting Votes ,FIXED Con Ballots Cast,FIXED Constitutional Overvotes,FIXED Constitutional |
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
#!/usr/bin/python3 | |
# Jimmy Taylor | |
# https://www.consentfactory.com/python-threading-queuing-netmiko/ | |
# This method will spin up threads and process IP addresses in a queue | |
# Importing Netmiko modules | |
from netmiko import Netmiko | |
from netmiko.ssh_exception import NetMikoAuthenticationException, NetMikoTimeoutException |