Skip to content

Instantly share code, notes, and snippets.

@msenturk
msenturk / antigravity-browser-wsl.md
Created December 8, 2025 12:12 — forked from junielton/antigravity-browser-wsl.md
How to Run Antigravity Browser Automation on WSL2

Strategy: Bridge the WSL connection to use the native Windows Chrome installation via port forwarding. This avoids slow rendering inside Linux and utilizes your GPU.

1. Windows Setup (One-Time)

Open PowerShell as Administrator for these steps.

  1. Get your WSL Gateway IP (Run this inside your WSL terminal):
    ip route show | grep -i default | awk '{ print $3}'
@msenturk
msenturk / faceit-tpm.check.ps1
Created November 30, 2025 18:43
faceit-tpm-check
Write-Host "===== FACEIT Anti-Cheat Ultimate System Check =====" -ForegroundColor Cyan
# =====================================================
# ADMINISTRATOR CHECK
# =====================================================
$isAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
if (-not $isAdmin) {
Write-Host "`n[CRITICAL ERROR] Please run as Administrator." -ForegroundColor Red
Read-Host "Press Enter to exit..."
Exit
@msenturk
msenturk / vtm.html
Created November 29, 2025 15:13
vtm-session-demo
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Terminal Session: session.cast</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/asciinema-player@3/dist/bundle/asciinema-player.css">
</head>
<body>
<div id="player"></div>
@msenturk
msenturk / demo-simple-login.html
Created September 10, 2025 13:16
demo-simple-login.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Practice Test Login</title>
<style>
body {
background-color: #f9f9f9;
margin: 0;
@msenturk
msenturk / brave-debloat.reg
Last active October 27, 2025 21:04
brave slim debloat
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\BraveSoftware\Brave]
"MetricsReportingEnabled"=dword:00000000
"SafeBrowsingExtendedReportingEnabled"=dword:00000000
"UrlKeyedAnonymizedDataCollectionEnabled"=dword:00000000
"FeedbackSurveysEnabled"=dword:00000000
"AutofillAddressEnabled"=dword:00000000
"AutofillCreditCardEnabled"=dword:00000000
"EnableDoNotTrack"=dword:00000001
@msenturk
msenturk / glpp.bat
Created July 20, 2025 15:29
Get listening port of process OR listening port to process.
@echo off
setlocal EnableDelayedExpansion
call :InitColors
if "%~1"=="" goto usage
if /i "%~1"=="--help" goto usage
if /i "%~1"=="-h" goto usage
if /i "%~1"=="/?" goto usage
@msenturk
msenturk / How passkeys block phishing attacks.md
Last active July 16, 2025 16:10
How passkeys block phishing attacks
Attack vector What phishers try How passkeys stop them Technical reason
Fake domain / look-alike site Lure user to compannyy.com and steal typed credentials No credentials to steal – the browser/OS will not present the passkey unless the domain exactly matches the one registered (company.com) .
Man-in-the-middle / proxy phishing Intercept login traffic between user and real site
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
</head>
<body>
<div id="chart" style="width:auto; height:300px;"></div>
</body>
@msenturk
msenturk / openssl.cnf
Last active September 19, 2023 10:06 — forked from bitoiu/self-signed-wildcard-cert-for-ghes.md
Self-Signed Wildcard certificate with SAN using openssl / SSL
#
# OpenSSL example configuration file.
# This is mostly being used for generation of certificate requests.
#
# Note that you can include other files from the main configuration
# file using the .include directive.
#.include filename
# This definition stops the following lines choking if HOME isn't
@msenturk
msenturk / openconnect.md
Created April 19, 2023 10:13 — forked from moklett/openconnect.md
OpenConnect VPN on Mac OS X

Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.

As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.

Here's how to get it set up on Mac OS X:

  1. OpenConnect can be installed via homebrew:

     brew update
    

brew install openconnect