Skip to content

Instantly share code, notes, and snippets.

View jas-'s full-sized avatar
🏃‍♂️

Jason Gerfen jas-

🏃‍♂️
View GitHub Profile
@jas-
jas- / stigadm.json
Last active December 5, 2018 23:49
stigadm reporting
{
"date": "20181205-231751",
"system": {
"hostname": "solaris11",
"kernel": "SunOS solaris11 5.11 11.3 i86pc i386 i86pc",
"OS": "Solaris",
"version": "11"
},
"stigs": [
{
@jas-
jas- / stig.sh
Last active October 8, 2020 03:06
Find potential privilege escalation with defined services. STIG VID's; V-906, V-907, V-910, V-4089, V-4090, V-4091, V-22354, V-22355, V-59827, V-59831, V-59833, V-59835, V-59837, V-59839, V-59841, V-59843
#!/bin/bash
# Handle the following STIG Vulnerability ID's
# Requires bash > v4
# HP-UX: V-906, V-907, V-910, V-4089, V-4090, V-4091, V-22354, V-22355
# OEL: V-906, V-907, V-910, V-4089, V-4090, V-4091, V-22354, V-22355
# RHEL: V-906, V-907, V-910, V-4089, V-4090, V-4091, V-22354, V-22355
# Solaris: V-906, V-907, V-910, V-4089, V-4090, V-4091, V-22354, V-22355, V-59827, V-59831, V-59833, V-59835, V-59837, V-59839, V-59841, V-59843
# Author: Jason Gerfen <jason.gerfen@gmail.com>
@jas-
jas- / packet-capture.sh
Last active November 19, 2022 17:04
A semi self aware packet trace tool; supports multiple packet capture tools such as tcpdump, tshark & snoop, monitors log disk for space constraints & can be configured to run for only a specified amount of time.
#!/bin/bash
#############################################################
# Functional description:
# Automates packet captures while safely monitoring disk
# space constraints for a specified amount of time.
#
# Supported OS:
# Solaris 10/11
# RHEL 5/6/7/8
@jas-
jas- / wifi_map
Created January 8, 2019 01:46
20190107 - WiFi connected devices
WhosHouse:
a0:a3:e2:f9:a6:45:
bssid: a0:a3:e2:f9:a6:45
bytes: 611376
channels:
- 1
- 2
- 140
devices:
01:00:5e:00:00:fb: