Skip to content

Instantly share code, notes, and snippets.

View D3Ext's full-sized avatar
🇪🇦

D3Ext D3Ext

🇪🇦
View GitHub Profile
@D3Ext
D3Ext / arch_installation.md
Last active February 8, 2024 18:52
Arch Linux Installation + Customization

Introduction

This guide aids with the ArchLinux installation using VMWare

This is based on the official Arch Linux installation guide, my own experience and some videos I found on Youtube.

Installation

First of all change the keyboard layout to the desired language with loadkeys, in my case to spanish

@D3Ext
D3Ext / settings.sh
Created January 5, 2023 23:09
Automatic dark/light theme changer
#!/bin/bash
# This script is designed to run on background to change between light and dark theme
night_hour="22:00"
day_hour="9:00"
dark_wallpaper="/usr/share/backgrounds/home127-dark.jpg"
light_wallpaper="/usr/share/backgrounds/home127-light.jpg"
@D3Ext
D3Ext / debruijn.go
Created January 5, 2023 12:32
Golang implementation of the De Bruijn algorith
package main
import (
"fmt"
"os"
"strings"
"bytes"
"strconv"
"flag"
)
@D3Ext
D3Ext / amsi-bypass.md
Last active March 30, 2024 02:23
All methods to bypass AMSI (2022)

AMSI Bypass

To perform all this techniques you can simply try them by typing "Invoke-Mimikatz" into your powershell terminal, you'll notice that even if you haven't imported Mimikatz it will detect that as malicious. But if the AMSI is off or you avoid it, it just will say that "it's not recognized as the name of a cmdlet", so you could say that you've bypassed the AMSI

However some methods may be detected by the AV but most of them actually work without problem

Powershell downgrade

The first and worst way to bypass AMSI is downgrading powershell version to 2.0.

@D3Ext
D3Ext / deauth-detector.py
Created September 12, 2022 21:18
A simple deauth packets detector in python
#!/usr/bin/env python3
from scapy.all import *
def PacketHandler(pkt):
if pkt.haslayer(Dot11) and pkt.type == 0 and pkt.subtype == 0xC:
print("Deauth packet sniffed: %s" % (pkt.summary()))
sniff(iface="wlan0mon", prn = PacketHandler)