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 / New Bash Script
Last active January 17, 2024 20:14
Kali / Debian Linux + Gnome Desktop - Right-Clicking on the Desktop to Create a New File
#!/bin/bash
# Written by: Andreas Nilsen, 09.01.2023 - <adde88@gmail.com>
# Made for Kali Linux 2024.1 / Debian 12, with Gnome Desktop Environment
#
# Installing zenity package if not already installed
if ! command -v zenity &> /dev/null; then
echo "Installing missing: 'zenity' package..."
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root to install any missing packages."
@adde88
adde88 / stable-diffusion.service
Last active January 12, 2024 18:58
Stable Diffusion: Systemd service-file (Debian Linux), to automatically start at boot
# Script to run Stable Diffusion at launch using systemd
# Modify script, like directories and username as needed
# File should then be located here: /usr/lib/systemd/system/stable-diffusion.service
# Then run "sudo systemctl enable stable-diffusion"
# "sudo systemctl start stable-diffusion"
#
# Written by Andreas Nilsen - <adde88@gmail.com>
#
#
@adde88
adde88 / mount-disks.sh
Last active January 10, 2024 01:03
mount-disks.sh
#!/usr/bin/env bash
#
# Written by: Andreas Nilsen - <adde88@gmail.com>
#
# This script is custom made to mount my drives, USB drives, and SWAP to their correct directory, due to issues with fstab and systemctl on my system.
# it will attempt to detect any drives that are already mounted correctly and uncorrectly, and then behave accordingly
# it will attempt to fix any NTFS partitions by using 'ntfsfix' on them before mounting them.
# it is meant to be run as a cronjob every minutes, and will ONLY do anything IF it detects that a drive is NOT mounted correctly.
@adde88
adde88 / deps.sh
Created November 7, 2023 20:46
Binwalk deps.sh script for Kali-2023.3
#!/bin/bash
# Check for the --yes command line argument to skip yes/no prompts
if [ "$1" = "--yes" ]
then
YES=1
else
YES=0
fi
@adde88
adde88 / .openwrt_aliases
Last active March 19, 2023 17:22
My private OpenWRT (SDK) Build Helper Scripts, for easy building of packages on my Kali/Debian/Arch distros.
#!/bin/bash
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE# Version 2, December 2004
# Copyright (C) 2023 Andreas Nilsen <adde88@gmail.com>
#
# 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.
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@adde88
adde88 / 7-Disks.ini
Created December 30, 2022 13:55
7-Disks.ini - Custom Rainmeter Config
; This is a custom Rainmeter Config for my Windows server with 7 Disks
; Your system will MOST LIKELY NOT support this OUT OF THE BOX!
; To get it working, you will likely need to define your own variables within the Variables section, specifically the variables naming each disk: (Ex: disk1=C: disk2=D:)
; Script written by: Andreas Nilsen <adde88@gmail.com>
[Rainmeter]
Update=1000
Background=#@#Background.png
BackgroundMode=3
BackgroundMargins=0,34,0,14
@adde88
adde88 / conky.config
Last active December 12, 2022 16:28
Min private conky config (+ script fil)
-- Denne Norske conky configen ble laget av: Andreas Nilsen <adde88@gmail.com> - github.com/adde88
-- Lagre denne filen her: ~/.config/conky/conky.config
--
-- © 09.12.2022
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
color1 = '#07CC0D',
@adde88
adde88 / Makefile
Created January 13, 2020 22:33
Custom 'kismet-remote' Makefile for OpenWRT (Kismet source-files located within 'src' directory in the same dir as this makefile)
include $(TOPDIR)/rules.mk
PKG_NAME:=kismet-remote-custom
PKG_VERSION:=13012020
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
# Hak5 Community Packages
src/gz 1907_pineapple https://downloads.hak5.org/packages/mk6/1907
# Zylla Custom Packages (Bleeding Edge)
src/gz 1907_custom http://adde88.asuscomm.com:1080/packages/mips_24kc/custom
@adde88
adde88 / sqlmap-tamper-scripts-evaluation.md
Created May 25, 2019 14:13 — forked from mgeeky/sqlmap-tamper-scripts-evaluation.md
SQLMap Tamper scripts evaluation against F5 Big-IP ASM WAF

SQLMap Tamper scripts evaluation against F5 Big-IP ASM WAF

The below table represents results of tests launched against F5 Big-IP ASM WAF appliance in it's XX version of YY and ZZ version of XY

Below names are to be passed to the --tamper= parameter of sqlmap.

The column Violation Rating represents most dominant rating of topmost 20 Requests observed by F5 in it's Security>>Event Logs:Application:Requests view.

The scale is 0-5.