Skip to content

Instantly share code, notes, and snippets.

View garoto's full-sized avatar
💭
All I wanted was an Atari 2600

garoto

💭
All I wanted was an Atari 2600
View GitHub Profile
@garoto
garoto / Controller_Overclock_Guide_with_Secure_Boot_Enabled.md
Created January 25, 2026 22:31 — forked from rstewa/Controller_Overclock_Guide_with_Secure_Boot_Enabled.md
Controller (DS4, Duelsense, Xbox, etc.) Overclock Guide with Secure Boot ON/ENABLED via LordOfMice/Hidusbf

Controller (DS4, Duelsense, Xbox, etc.) Overclock Guide with Secure Boot ON via LordOfMice/Hidusbf for Windows 10/11

Guide created by rstewa35

Update 12/14/24

Removed the registry steps since the drivers are now signed. This should allow you to use hidusbf without affecting secure boot. If you still want to see them, look at the previous revision of this guide.

Warning

Uninstall Microsoft Edge

Important

Working on the latest supported Windows versions. Run Windows Update before following this guide.

1. Open Powershell > RUN AS ADMIN

2. Paste in irm https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6/raw/UninstallEdge.ps1 | iex and press enter

3. Microsoft Edge will be completely uninstalled.

@garoto
garoto / CVE-2025-50753.txt
Created October 1, 2025 21:27 — forked from geraldog/CVE-2025-50753.txt
CVE-2025-50753 - Mitrastar GPT-2741 GNAC-N2 root privilege escalation
## Correction Notice: CVE-2025-50753 Exploit Method
**Important:** The CVE description incorrectly omits
the required newline character.
The correct command argument to gain root access on
Mitrastar GPT-2741 GNAC-N2 devices is:
"\n/bin/sh"
@garoto
garoto / doskey.mac
Last active December 5, 2025 22:26
doskey macros as of 2025
ip2hex=busybox.exe sh -c "bar=$1; printf 'IPv4 %s in Hex: 0x%02X%02X%02X%02X\n' $$bar $${bar//./\ }"
svc?=@rg --color=never -N -B1 -A9 ".Services and Drivers Start numbers:" C:\Users\username\windows_win10_decrap_and_notes.txt
mpv2=cmd /d /c "setlocal & set "MPV_HOME=" & C:\Apps\AV\mpv2\mpv.com $*"
lastboot=powershell.exe -command "(Get-Ciminstance -Class "Win32_operatingsystem" -Namespace "ROOT\CIMV2").lastbootuptime[0]"
ss2=C:\Apps\AV\mpv\mpv.exe --profile=sw-fast --scale=nearest --cache=no --pause --osc=no --video-osd=no --load-scripts=no --fs-screen=1 --fs --stop-screensaver=no av://lavfi:color=size=1280x720:c=black $*
nicbr=busybox echo $1 | C:\BIN\nc.openbsd\netcat.exe -v whois.registro.br 43 | busybox iconv -f CP1252 -t UTF-8
ipc=rg changed %home%/ddns.log | busybox tail
im=C:\Apps\GFX\ImageMagick-7.1.1-Q8\magick.exe $*
stdby=typeperf -si 0 -sc 1 "NUMA Node Memory(_Total)\Free & Zero Page List MBytes"
micro=busybox printf \x1b[?1049h & micro "$*" & busybox printf \x1b[?1049l
@garoto
garoto / twitter_oauth.sh
Created November 15, 2024 04:25 — forked from cmj/twitter_oauth.sh
Grab oauth token for use with Nitter (requires Twitter account)
#!/bin/bash
# Grab oauth token for use with Nitter (requires Twitter account).
# results: {"oauth_token":"xxxxxxxxxx-xxxxxxxxx","oauth_token_secret":"xxxxxxxxxxxxxxxxxxxxx"}
# verified: 2024-11-14
username=""
password=""
if [[ -z "$username" || -z "$password" ]]; then
echo "needs username and password"
@garoto
garoto / _ busybox portable how-to.md
Created July 2, 2024 16:19 — forked from d-faure/_ busybox portable how-to.md
How-to make a busybox-w32 installation more or less portable

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r
@garoto
garoto / disable-defender.bat
Created May 17, 2023 12:41 — forked from tranphuquy19/disable-defender.bat
Disable Windows Defender scripts
@echo off
rem A modified version of the disable defender script from: https://pastebin.com/kYCVzZPz
@echo on
rem ==========================================
rem This section will Disable Windows Defender
rem You can ignore error messages
rem 1 - Disable Real-time protection
reg delete "HKLM\Software\Policies\Microsoft\Windows Defender" /f
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f
msys2 vs msys vs msysgit
MinGW doesn't provide a linux-like environment, that is MSYS(2) and/or Cygwin
Cygwin is an attempt to create a complete UNIX/POSIX environment on Windows.
MinGW is a C/C++ compiler suite which allows you to create Windows executables - you only
need the normal MSVC runtimes, which are part of any normal Microsoft Windows installation.
MinGW provides headers and libraries so that GCC (a compiler suite,
not just a "unix/linux compiler") can be built and used against the Windows C runtime.
@garoto
garoto / doskey.mac
Created June 12, 2022 00:28 — forked from postcog/doskey.mac
my doskey macro file (aka alias) for windows (7) command line shell environment
;============================== loading on startup ===============================
;= create a cmd link with the following target :
;= %comspec% /k "(doskey /macrofile=%userprofile%\doskey.mac)"
;============================= File listing enhancements ============================
alias_old=IF ".$*." == ".." (doskey /macros) ELSE (IF /I "$1" == "SAVE" (doskey /macros $g "%USERPROFILE%\doskey.mac" & ECHO Aliases SAVED) ELSE (IF /I "$1"=="LOAD" (doskey /macrofile="%USERPROFILE%\doskey.mac" & ECHO Aliases LOADED & doskey /macros) ELSE (doskey $*)))
alias=IF ".$*." == ".." (doskey /macros) ELSE (IF /I "$1" == "SAVE" (doskey /macros $g "%USERPROFILE%\doskey.mac" & ECHO Aliases SAVED) ELSE (IF /I "$1"=="LOAD" (doskey /macrofile="%USERPROFILE%\doskey.mac" & ECHO Aliases LOADED & doskey /macros) ELSE (IF /I "$1"=="EDIT" (notepad %userprofile%\doskey.mac) ELSE (IF /I "$1"=="EDIT2" (notepad2 %userprofile%\doskey.mac) ELSE (doskey $*)))))
alias_=IF ".$*." == ".." (doskey /macros) ELSE (IF /I "$1" == "SAVE" (doskey /mac