This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| SETLOCAL ENABLEEXTENSIONS | |
| REM 424_tunnel script (c) 2024 suuhm | |
| REM netsh interface ipv4 set interface "Ethernet" forwarding=enabled | |
| REM netsh interface portproxy add v4tov4 listenaddress=lokal_IP listenport=9999 connectaddress=target_IP connectport=80 | |
| REM netsh interface portproxy show all | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # hashes only: | |
| #grep -Eo "\b[a-f0-9]{32}\b" hashes.txt > md5-hashes.txt | |
| # Mails:Hashes extract from your textfile: | |
| sed -nE "s/.*'([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})'.*'([a-f0-9]{32})'.*/\1:\2/p" your_text_file.txt > mail-md5.txt | |
| # Crack hashes with usernames: | |
| hashcat -a0 -m0 --username --potfile-path mail_md5.potfile mail-md5.txt /usr/share/wordlists/rockyou.txt.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| SET mypath=%~dp0 | |
| echo %mypath:~0,-1% | |
| pushd %~dp0 | |
| echo\ | |
| REM popd | |
| REM !!! YOU NEED PSEXEC !!! | |
| REM DOWNLOAD zip package incl psexec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # PIP / VIRTUALENV | |
| # ---------------- | |
| python -m pip install --upgrade pip || \ | |
| # | |
| apt update && \ | |
| apt install python-pip python3-pip python3-virtualenv | |
| # OLD: ( pip install virualenv ) | |
| virtualenv [--python=python3] project-XYZ | |
| cd project-XYZ ; source bin/activate | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Setting Up OpenWRT on a Virtual Machine with Proxmox | |
| # Based on: https://community.bigbeartechworld.com/t/setting-up-openwrt-on-a-virtual-machine-with-proxmox/257 | |
| # Set your wished version: | |
| export VER="23.05" | |
| export ARCH="amd64" | |
| export INDEX_URL="https://images.linuxcontainers.org/images/openwrt/$VER/$ARCH/default" | |
| #export BUILDDATE=$(date -d "yesterday" '+%Y%m%d') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |