Skip to content

Instantly share code, notes, and snippets.

View dancornell's full-sized avatar

Dan Cornell dancornell

View GitHub Profile
@dancornell
dancornell / generate_exception_report.py
Last active March 11, 2020 18:15
Example Python script that pulls vulnerability data according to a specified criteria and places it into a CSV file.
#!/usr/bin/python3
import csv
import sys
from ThreadFixProApi import threadfixpro
def make_tags_list(tf_con, tags):
ret_val = []
my_tags = tags.split(',')
pip install python-nmap
pip install threadfix_api
#!/usr/bin/python
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the