Skip to content

Instantly share code, notes, and snippets.

View adde88's full-sized avatar
🎯
Focusing

Andreas Nilsen adde88

🎯
Focusing
View GitHub Profile
@adde88
adde88 / PowerLoader.ps1
Last active August 21, 2025 14:57
One script to rule them all. Instantly deploy a complete PowerShell security research and administration arsenal from PSGallery and GitHub. Skips duplicates, validates sources, and gets you operational in minutes.
<#
.SYNOPSIS
Installs and maintains a curated arsenal of PowerShell modules from the PowerShell Gallery and GitHub.
.DESCRIPTION
This script automates the provisioning of a complete security research and administration environment.
It intelligently installs modules from two sources:
1. A curated list of modules from the official PowerShell Gallery.
2. A specialized list of security tools from trusted GitHub repositories.
@adde88
adde88 / gupdate.ps1
Last active July 24, 2025 10:02
Poweshell: GIT Update all GIT-repos within this folder. (Searches all sub-dirs for GIT repos, and updates them perfectly)
# Git Repository Updater - PowerShell Version
# Made by: Andreas Nilsen - [email protected] - https://www.github.com/adde88
# Date: 24.07.2025
# Requires PowerShell 5.0 or higher
# Set error action preference to stop on errors
$ErrorActionPreference = "Stop"
# Initialize variables
$gitRepositories = @()
@adde88
adde88 / aliases.sh
Created July 16, 2025 18:30
Evil Twin - Easy Setup Script - WiFi Pineapple MKVII (airebase-ng) (WPA, WPA2, + New WPA3 Downgrade attack!!
# /etc/profile.d/aliases.sh
alias netstat='netstat -tulnp'
alias ll='ls -alF --color=auto'
alias ps='ps aux'
alias ip='ip -color=auto'
alias du='du -sh'
alias dmesg='dmesg -T'
alias free='free -h'
alias procmtd='cat /proc/mtd'
alias procpart='cat /proc/partitions'
@adde88
adde88 / LICENSE
Last active July 9, 2025 15:56
Windows 11: Right-Clicking (Context Menu) on EXE files, and other similar files. Easy set files,binaries,scripts to now be automatically be ran as Admin each time!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <[email protected]>
Copyright (C) 2025 Andreas Nilsen <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
@adde88
adde88 / setup_usb.sh
Created June 22, 2025 09:48
Auto-setup USB drive on RPi3B+ with ext4 and 2GB swap
#!/bin/bash
# Exit immediately if a command exits with a non-zero status.
set -e
# --- Configuration ---
SWAP_SIZE="2G"
MOUNT_POINT="/mnt/usb"
SWAP_PRIORITY="10" # Lower priority than ZRAM's 32767
31jMWLFSqvNBPNhpyaYCc8Dv37bHdL6WM8
@adde88
adde88 / fm_transmit.sh
Last active June 5, 2025 15:00
FM Radio Audio Transmitter Script for Raserry Pi3B+. Requires working "pi_fm_adv". Supports: wav, mp3, m4a, ogg.
#!/bin/bash
# Author: Andreas Nilsen
# Email: [email protected]
# Github: https://www.github.com/adde88
# License: GPL-3
# Check arguments
if [[ $# -ne 2 ]]; then
echo "Usage: $0 /path/to/file.{wav,mp3,m4a,ogg} frequency_in_MHz"
echo "Example: $0 /home/pi/audio.mp3 100.1"
@adde88
adde88 / 88x2bu.ap.conf
Created April 23, 2025 13:04
TP-Link Archer T4U. RTL8822BU driver. Monitor mode, injection, AP mode + optimizaiton for Raspberry Pi 3B+
# /etc/modprobe.d/88x2bu-profiles/88x2bu.ap.conf
#
# This config was written by Andreas Nilsen - @adde88 - https://www.github.com/adde88
# Date: 23. April 2025
#
blacklist rtw88_8822bu
options 88x2bu \
rtw_drv_log_level=3 # WARNINGS only :contentReference[oaicite:10]{index=10} \
rtw_led_ctrl=1 # LED normal blink :contentReference[oaicite:11]{index=11} \
bc1qrvepmcapn8lywndcnyr8wxs969vgjhrue24gv0
@adde88
adde88 / corsair-quiet.service
Created December 20, 2024 17:51
Corsair AIO Manager - Bash Script | Requires: liquidctl
# Systemd service file.
# Save to: /etc/systemd/system/
# Then: 'sudo systemctl enable corsair-quiet.service'
# Delete these four commented lines before saving this file
[Unit]
Description=Corsair AIO Manager
After=multi-user.target
[Service]
Type=oneshot