Skip to content

Instantly share code, notes, and snippets.

import pypff
import argparse
import os
import hashlib
import concurrent.futures
import re
import markdown
import traceback
from collections import defaultdict
@dmaynor
dmaynor / gist:678ac9df318e9286529d90d1f5a290df
Created September 12, 2023 14:44
keywords for insider breach search
Exploit
Malware
Ransomware
Phishing
DDoS
Distributed Denial of Service
VPN
Virtual Private Network
Encryption key
Password dump
@dmaynor
dmaynor / gist:91258a0b5b5f9a236bce032bdc1c4231
Created November 14, 2022 19:21
GITHUB Codespaces linpeas run
▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄             ▄▄▄▄[4
@dmaynor
dmaynor / gist:7a07808d9e65ee7c428533dd75007726
Created May 11, 2022 02:25
clean_kali_update_20220510
Completing external command
\[ expand less perl5.34.0 sslh
1password2john expect lessecho perl5.34-x86_64-linux-gnu sslh-select
2to3-2.7 expect_autoexpect lessfile perlbug sslscan
7z expect_autopasswd lesskey perldoc sslsplit
7z2john expect_cryptdir lesspipe perlivp sslyze
7za expect_decryptdir le
The main direcotry for this will be ~/code/gr-radio. All projects are built from there.
Everything built and installed will go in /usr/local
sudo apt install mlocate
#dependecy installs
sudo apt install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy \
python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev \
libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 \
liblog4cpp5-dev libzmq3-dev python3-yaml python3-click python3-click-plugins \
@dmaynor
dmaynor / tmux-cheatsheet.markdown
Created February 19, 2020 02:25 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@dmaynor
dmaynor / checklist
Last active August 29, 2015 14:25
raspberry pi, adhoc wifi, cjdns
- hostname
- publickey auth
- apt-get update/upgrade
- modprobe ipv6
- vim, htop, build-essential
- https://github.com/voltz/nacl4raspi.git
- http://nodejs.org/dist/v0.11.10/node-v0.11.10-linux-arm-pi.tar.gz
- ./cjdroute --genconf >> cjdroute.conf
- ./cjdroute < cjdroute.conf > cjdroute.log
-
@dmaynor
dmaynor / gist:0bb250c6007b288b63d5
Created June 11, 2015 20:12
Echo date range in bash
#!/usr/bin/env bash
# Snippet that finds the current date, subtracts a week, and
# echoes the date range from a week ago to current.
DATE=date
FORMAT="%Y-%m-%d"
now=`$DATE +$FORMAT`
start_time=`$DATE +$FORMAT -d "$now - 1 week"`
### Keybase proof
I hereby claim:
* I am dmaynor on github.
* I am dave_maynor (https://keybase.io/dave_maynor) on keybase.
* I have a public key whose fingerprint is 2BB9 EB57 C8D6 0EA2 4363 6085 A666 82A5 6568 5938
To claim this, I am signing this object:
DTE SPEED : 115200
DTE FORMAT : 8N1
GSM DATA MODE : Not Transparent
AUTOBAUD : +IPRxxx00=NO
COMMAND ECHO : E0=NO
RESULT MESSAGES : Q0=YES
VERBOSE MESSAGES : V1=YES
EXTENDED MESSAGES : X1=YES
LINE SPEED : F0=autodetect
CONSTANT DTE SPEED : YES