Skip to content

Instantly share code, notes, and snippets.

View SaphirePhenux's full-sized avatar
💻
Rebuilding my Empire

Andrew SaphirePhenux

💻
Rebuilding my Empire
  • Utah, USA
  • 04:55 (UTC -06:00)
View GitHub Profile
@githubfoam
githubfoam / windows forensics cheat sheet
Last active September 19, 2025 12:01
windows forensics cheat sheet
============================================================================
https://www.sans.org/tools/
============================================================================
FTK Imager, ANJP, EZ Tools, SIFT, Regripper, Windows Event Log Explorer, Volatility, Plaso, DensityScout, SigCheck
============================================================================
Live System Analysis for computers with Windows 10 operating system with tools such as Sysinternals, Powershell, WM
Collecting triage data and parsing methods with KAPE
Physical Imaging with FTK Imager
Logical Imaging with FTK Imager
Memory Imaging with FTK Imager, DumpIT, WinPmem
@mark05e
mark05e / Get-ChromeExtension.ps1
Last active January 15, 2025 02:33
Audit Chrome Extensions with PowerShell. Maintenance Note - https://gist.github.com/mark05e/0a04a54c1e8489c770bd91e4910d7df9
# ref - https://write-verbose.com/2018/12/15/audit-google-chrome-extensions/
function Get-ChromeExtension {
<#
.SYNOPSIS
Gets Chrome Extensions from a local or remote computer
.DESCRIPTION
Gets the name, version and description of the installed extensions
Admin rights are required to access other profiles on the local computer or
any profiles on a remote computer.
@jdhitsolutions
jdhitsolutions / Get-GPLink.ps1
Created January 18, 2021 16:47
A PowerShell function to list Group Policy links
@FreddieOliveira
FreddieOliveira / docker.md
Last active October 22, 2025 10:36
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@ld100
ld100 / ArchLinuxWSL2.md
Last active September 14, 2025 12:21
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Obsolete notice

This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.
@artman41
artman41 / wsl-install_another_distro.md
Last active July 13, 2025 15:12
Instructions on how to install a custom distro in WSL2 (Windows SubSystem for Linux 2)

WSL install another distro

  1. Here are some default vars for the process
ISO_DIR=~/fedora;
ROOTFS_MOUNT_DIR=/mnt/contents

DISTRO_LOCATION=
@kiriwalawren
kiriwalawren / README.md
Last active August 22, 2024 19:50
WSL Configuration

Installing WSL (windows subsystem for linux)

Running the azure-team terraform make file to create your infrastructure may not work on a Windows machine. If you cannot get it to run, install a linux distribution where you will exectute the tf files. Setting up a distribution with all of the right dependencies does involve a bit of setup to get it configured properly. The following is a list of steps you'll need to complete:

Install WSL

@mihalyr
mihalyr / forensics-cheatsheet.md
Created January 29, 2020 14:15
Linux Compromise Assessment Command Cheat Sheet
@coltenkrauter
coltenkrauter / fix-wsl2-dns-resolution.md
Last active September 26, 2025 13:26
Fix DNS resolution in WSL2

Permanent WSL DNS Fix (WSL 2.2.1+)

If you're encountering ping github.com failing inside WSL with a Temporary failure in name resolution, you're not alone — this has been a long-standing issue, especially when using VPNs or corporate networks.

This issue is now fixed robustly with DNS tunneling, which preserves dynamic DNS behavior and avoids limitations like WSL’s former hard cap of 3 DNS servers in /etc/resolv.conf.

DNS tunneling is enabled by default in WSL version 2.2.1 and later, meaning that if you're still seeing DNS resolution issues, the first and most effective fix is simply to upgrade WSL. Upgrading WSL updates the WSL platform itself, but does not affect your installed Linux distributions, apps, or files.

To upgrade WSL, follow these steps,

@trajano
trajano / settings.json
Last active June 21, 2024 11:27
Windows Terminal (with git bash and additional shortcuts)
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}",
"launchMode": "maximized",
"theme": "light",
"useTabSwitcher": false,
"tabWidthMode": "titleLength",
"profiles": {