Skip to content

Instantly share code, notes, and snippets.

View robbert1978's full-sized avatar
😴
Sleeping

V1nhNg0 robbert1978

😴
Sleeping
View GitHub Profile
@Dovias
Dovias / terminal-default-application-admin.md
Last active June 6, 2026 06:41
Set Windows 10/11 default terminal for admin privileges

Set Windows 10/11 default terminal for admin and user-level privileges

This tutorial allows you to manually set version of microsoft/terminal to be used as default terminal with and without administrative privileges on Microsoft Windows 10 or 11.

Note

This tutorial is for educational purposes only. I am not responsible for any damages that may have caused this. By attempting to follow this guide, you are on your own risk.

Instructions.

  1. Download unpackaged version of Microsoft Terminal from GitHub. You can find latest working version for this guide here..

[!NOTE]

@UDPctf
UDPctf / solve.py
Created July 16, 2023 08:02
zer0pts CTF 2023 - himitsu note exploit script
#!/usr/bin/env python3
from pwn import *
elf = ELF("./chall_patched")
libc = ELF("./libc-2.31.so")
ld = ELF("./ld-2.31.so")
context.binary = elf
#p = process(elf.path)
@Roarcannotprogramming
Roarcannotprogramming / banzi.c
Created July 16, 2023 07:00
EXP for zer0pt ctf 2023 flipper
#include "banzi.h"
/**
* global variables
*/
int sprayfd_child[2];
int sprayfd_parent[2];
int socketfds[10*INITIAL_PAGE_SPRAY];
unsigned long user_cs, user_ss, user_rflags, user_sp;
unsigned long long int base_addr;
@ameetsaahu
ameetsaahu / spray_cred.md
Created November 30, 2022 13:52
Cred spraying techniques

Using capset

// Thanks to @pqlqpql
#include <linux/io_uring.h>
#include <sys/capability.h>
#include <sys/syscall.h>

struct user_cap_data_struct {
    uint32_t effective;
    uint32_t permitted;
@niutech
niutech / hosts
Last active February 27, 2026 23:09
/etc/hosts file for blocking Microsoft Edge tracking domains (and more)
0.0.0.0 a-0001.a-msedge.net
0.0.0.0 a-0002.a-msedge.net
0.0.0.0 a-0003.a-msedge.net
0.0.0.0 a-0004.a-msedge.net
0.0.0.0 a-0005.a-msedge.net
0.0.0.0 a-0006.a-msedge.net
0.0.0.0 a-0007.a-msedge.net
0.0.0.0 a-0008.a-msedge.net
0.0.0.0 a-0009.a-msedge.net
0.0.0.0 a-msedge.net
@HikariKnight
HikariKnight / pkexec
Last active June 30, 2025 12:30
A "pkexec" replacement for use in wsl2 until microsoft fixes policykit in wsl2 (DO NOT USE FOR PRODUCTION)
#!/bin/bash
# Dependencies: zenity
#
# Installation: download the file, name it "pkexec" and make it executable, then put it in /usr/local/bin
# This should in theory auto "fix" programs like synaptic which launches using pkexec from its desktop file.
#
# THIS SCRIPT IS NOT A PROPER REPLACEMENT, SENDING THE PASSWORD THROUGH SUDOS STDIN IS NOT SECURE!
# THIS IS MEANT AS A TEMPORARY WORKAROUND, DO NOT USE IN PRODUCTION!
exec sudo -HSkp '' -- $@ <<<$(zenity --password --title=Authentication) 2>/dev/null
@muzlightbeer
muzlightbeer / windbg.md
Last active June 8, 2026 06:27
WinDbg for Linux Users

The Windows Debugger (WinDbg) for Linux users

The following provides commands for getting started with WinDbg if you've come from a Linux only background and have only used GDB and LLDB.

VMware Fusion and VHD images

Some Windows operating system trials come as virtual hard disk (VHD) images, that state Hyper-V is required to use them. With macOS and VMware Fusion (at the time of writing, VMware Fusion 12.1.2), you can drag the executable files into VMware (the same as with ISO images) and install them normally. No subscriptions are required to obtain access to a DVD or ISO image if you do not have a system that uses Windows as the base operating system.

Microsoft symbols

@TameemS
TameemS / debloatMEmu.md
Last active June 1, 2026 23:01
Debloating & Optimizing MEmu

Inspired by this

More of my guides: Debloating LDPlayer - Debloating Nox (Updated)

Edit 22/8/2021: I have updated MEmu and it seems like it reinstalls the apps and re-enables the services. Repeat steps 5, 7, 8, and 9 if you update MEmu.

Debloating MEmu

In my experience, Nox can be quite slow and choppy, and looks like I'm not the only person with this problem. A lot of people say that MEmu performs better than Nox, and I could agree with that. I have no chopping issues with it so far. But like Nox, there are kinda shady stuff going on.

@ulidtko
ulidtko / qnap-qts-fw-cryptor.py
Last active January 18, 2026 19:19
QNAP QTS firmware encryptor/decryptor.
#!/usr/bin/env python3
import os, sys
import argparse
import struct
from functools import reduce
"""
QNAP QTS firmware encryptor/decryptor.
Based on https://pastebin.com/KHbX85nG