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
import csv | |
import json | |
import argparse | |
def csvdict_from_json(o365_report): | |
rows = [] | |
for entry in o365_report: | |
for applied_policy in entry["appliedConditionalAccessPolicies"]: |
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
tcpmux 1/tcp | |
tcpmux 1/udp | |
compressnet 2/tcp | |
compressnet 2/udp | |
compressnet 3/tcp | |
compressnet 3/udp | |
sfs 4/tcp | |
rje 5/tcp | |
rje 5/udp | |
echo 7/tcp |
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
<# | |
Ported to powershell2 from script by Laurent Kempé | |
http://laurentkempe.com/2016/04/07/Upload-files-to-DropBox-from-PowerShell/ | |
.SYNOPSIS | |
This is a Powershell script to upload a file to DropBox using their REST API. | |
.DESCRIPTION | |
This Powershell script will upload file to DropBox using their REST API with the parameters you provide. |
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
import os | |
import xml.etree.cElementTree as etree | |
import csv | |
import re | |
import argparse | |
parser = argparse.ArgumentParser(description='Create a CSV with aggregated vulnerabilities') |
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
# Based on https://gist.github.com/mastahyeti/2720173 | |
# Updated for speed by: Kevin Dick, Tevora | |
import xml.etree.cElementTree as etree | |
import shutil | |
import os | |
import argparse | |
from sets import Set | |
parser = argparse.ArgumentParser(description='Merge multiple nessus files into one') |