Skip to content

Instantly share code, notes, and snippets.

View jonz-secops's full-sized avatar

mrz-secops-offsec jonz-secops

View GitHub Profile
@jonz-secops
jonz-secops / update_mozilla_firefox.sh
Created January 5, 2022 19:35 — forked from mzpqnxow/update_mozilla_firefox.sh
Install/Update Mozilla release of Firefox on Debian and other Linux distributions, can be run from cron
#!/bin/bash
#
# Install/Update Mozilla Firefox conveniently and repeatably, allowing version selection
# The ESR Firefox that ships with Debian 10/11 (and probably Ubuntu, etc) doesn't support
# containers, so I found myself installing the Mozilla distribution of Firefox. That had
# me a little concerned about keeping it up to date, so I run this out of cron. Maybe it's
# useful for someone ...
#
# This is intended for use with XFCE but I think most window managers use the .desktop style
# metadata files for launchers/menus/etc. Check /usr/share/applications/ on your system to
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<dt><a href="https://splunkbase.splunk.com/">Splunkbase</a>
<dt><a href="https://git.io/splhighlighter">Splunk Highlighter</a>
<dt><a href="http://regex101.com/">regex101.com</a>
<dt><a href="http://strftime.net/">strftime.net</a>
<DT><H3 ADD_DATE="1551742873" LAST_MODIFIED="1553513798">.Conf Files</H3>
@jonz-secops
jonz-secops / all.txt
Created February 24, 2020 23:38 — forked from jhaddix/all.txt
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
@jonz-secops
jonz-secops / markdown-to-slack.py
Created January 27, 2020 22:40 — forked from mrts/markdown-to-slack.py
Markdown to Slack
# Translates Markdown syntax to Slack, replaces:
#
# - hyphened lists with bullet symbols
# - double bold marker asterisks `**` with single asterisk `*`
# - headers `#` with bold marker asterisks `*`
#
# Run with
#
# python markdown-to-slack.py filename.md
#
@jonz-secops
jonz-secops / openssl_commands.md
Created December 2, 2019 21:40 — forked from p3t3r67x0/openssl_commands.md
Some list of openssl commands for check and verify your keys

openssl

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@jonz-secops
jonz-secops / gist:d80b89054f70c052af0d69d6b382867a
Created November 12, 2019 18:53 — forked from ntanya/gist:816cba067f0e0dccc524
Python script to check HTTP status and redirect chains
import requests
def get_status_code(url):
try:
r = requests.get(url)
print "Processing " + url
if len(r.history) > 0:
chain = ""
code = r.history[0].status_code