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 / Makefile
Created August 26, 2018 19:14
mdk4 - LEDE
#
# Copyright (C) 2009-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mdk4
#!/bin/bash
# Private script i use while booting a Live distribution of Linux (Kali)
# to fix my grub. Windows seems to be removing it every now and then.
# Which is annoying as hell...
# Feel free to customize it to your own needs if nessecary.
# At least the correct root partition and EFI partition needs to be edited.
# Zylla - <[email protected]>
#
sudo mount /dev/sda6 /mnt
sudo mount /dev/sda2 /mnt/boot/efi
@adde88
adde88 / iface.c.patch
Created March 1, 2019 10:03
Kernel patch: Ignore 802.11d TX power frames, when setting "fixed TX power"
This will force the linux kernel to ignore 802.11d frames sent by acces spoints.
This will only work when TX power is set to fixed. (iwconfig wlan0 txpower fixed)
Andreas Nilsen <[email protected]> / @adde88
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -65,7 +65,8 @@ bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata)
if (sdata->user_power_level != IEEE80211_UNSET_POWER_LEVEL)
power = min(power, sdata->user_power_level);
@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.

# 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 / 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
@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 <[email protected]> - 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 / 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 <[email protected]>
[Rainmeter]
Update=1000
Background=#@#Background.png
BackgroundMode=3
BackgroundMargins=0,34,0,14
@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 <[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.
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@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