Skip to content

Instantly share code, notes, and snippets.

@iexpurgator
iexpurgator / ICSharpCode.ILSpyCmd.csproj
Created February 25, 2026 04:25
Configure the build for single-file publish (framework-dependent) https://github.com/icsharpcode/ILSpy
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ServerGarbageCollection>true</ServerGarbageCollection>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<InvariantGlobalization>true</InvariantGlobalization>
@iexpurgator
iexpurgator / main.py
Created November 25, 2024 06:40
SurfShark Server list Clusters
import http.client
import json
import csv
class ServerData:
def __init__(self):
self.servers = []
def fetch_data(self):
conn = http.client.HTTPSConnection("api.surfshark.com")
@iexpurgator
iexpurgator / hashdb.py
Created September 28, 2024 11:50
version python 2 of OALabs/hashdb-ida (BUGGGG)
########################################################################################
##
## This plugin is the client for the HashDB lookup service operated by OALABS:
##
## https://hashdb.openanalysis.net/
##
## _ _ _ ____________
## | | | | | | | _ \ ___ \
## | |_| | __ _ ___| |__ | | | | |_/ /
@iexpurgator
iexpurgator / DarkModeDefault.xml
Created August 2, 2024 17:13
DarkModeDefault++ for Notepad++
<?xml version="1.0" encoding="UTF-8" ?>
<!-- %AppData%\Notepad++\themes -->
<!--
Dark mode default style for Notepad++.
This file is based on Zenburn them (zenburn.xml)
License: GPL2
-->
<NotepadPlus>
<LexerStyles>
<LexerType name="actionscript" desc="ActionScript" ext="">
@iexpurgator
iexpurgator / CreateSuperTimlineOnLinux.sh
Last active April 11, 2023 03:57
Create Super Timline On Linux
sudo apt install dotnet-sdk-6.0
sudo apt install python3 python3-pip python3-venv
sudo apt install libssl-dev
# create virtual environment
python -m venv venv
source venv/bin/activate
pip install plaso
deactivate
@iexpurgator
iexpurgator / office.bat
Created December 23, 2022 02:23
0ff1c3 @ct1v4t3
@echo off
color 0f
pushd "%~dp0"
set command=cscript //nologo ospp.vbs
title Auto activate Office 2010-2013-2016 Volume License
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if "%errorlevel%" NEQ "0" (
echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs" & exit
@iexpurgator
iexpurgator / windef_toggle.ps1
Created December 7, 2022 17:57
Simple windows defender toggle
## Shortcut (Administrator): powershell.exe -ExecutionPolicy Bypass -File "<full path>\windef_toggle.ps1"
$preferences = Get-MpPreference
$realtimeDisableStatus = $preferences.DisableRealtimeMonitoring
# Set-MpPreference -DisableRealtimeMonitoring (!$preferences.DisableRealtimeMonitoring)
if ($realtimeDisableStatus) { # Disabled -> Enable
Set-MpPreference -DisableRealtimeMonitoring $false
Set-MpPreference -MAPSReporting Advanced
Set-MpPreference -SubmitSamplesConsent 1
import struct
import lznt1 # lznt1
import capstone # capstone-engine
import re
import pefile # pefile
def DWORD(i):
return i & 0xFFFFFFFF
@iexpurgator
iexpurgator / sv1.json
Last active March 24, 2022 00:20
4G Viettel Free
{
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com"
},
"servers": [
"1.1.1.1"
]
},
"inbounds": [