Skip to content

Instantly share code, notes, and snippets.

View fartbagxp's full-sized avatar

fartbagxp fartbagxp

  • Some type of engineering
  • Virginia
View GitHub Profile
@fartbagxp
fartbagxp / pwd-password.sh
Created January 21, 2024 20:33
Discover pwd passwords
#!/usr/bin/env bash
set -eu
if [ $# -ne 1 ]; then
echo "Usage: $0 <password>"
exit 1
fi
if command -v curl > /dev/null 2>&1 ; then
#!bin/bash
# Find text in file
DIRECTORY=$1
TXT=$2
grep -rnw "$1" -e "$2"
@fartbagxp
fartbagxp / dig-edns.md
Created October 6, 2019 07:32
Testing eDNS with dig
@fartbagxp
fartbagxp / install-audible-cracker.sh
Created April 28, 2018 20:08
Install audible cracker
##!bin/bash
git clone https://github.com/inAudible-NG/tables.git
git clone https://github.com/KrumpetPirate/AAXtoMP3.git
wget http://project-rainbowcrack.com/rainbowcrack-1.7-linux64.zip
unzip rainbowcrack-1.7-linux64.zip
mv AAXtoMP3/* tables/
mv rainbowcrack-1.7-linux64/* tables/
mv <your_aax_file_name>.aax tables/
cd tables
@fartbagxp
fartbagxp / to-utf8-bom.sh
Created April 17, 2018 03:04
Changing to UTF8 BOM
#!/bin/sh
if [ $# -eq 0 ]
then
echo usage $0 files ...
exit 1
fi
for file in "$@"
do
@fartbagxp
fartbagxp / up-one-level.sh
Created April 9, 2018 17:01
Move files in subfolders up one level
#!bin/bash
find . -mindepth 2 -type f -print -exec mv {} . \;
@fartbagxp
fartbagxp / tunneling.sh
Last active October 27, 2019 20:47
Sock5 tunneling
#!/usr/bin/env bash
port=$1
ipv4=$2
if [ $# -eq 2 ]
then
echo "sh tunneling.sh <port> <ipv4 address>"
fi
@fartbagxp
fartbagxp / server-setup.md
Created March 10, 2018 12:31
RTMP server setup

Overview

Read this where it talks about setting up your own private RTMP server.

Docker image can be found here.

Alternatively: there's this.