This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################################################################################## | |
| ## | |
| ## This plugin is the client for the HashDB lookup service operated by OALABS: | |
| ## | |
| ## https://hashdb.openanalysis.net/ | |
| ## | |
| ## _ _ _ ____________ | |
| ## | | | | | | | _ \ ___ \ | |
| ## | |_| | __ _ ___| |__ | | | | |_/ / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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=""> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import struct | |
| import lznt1 # lznt1 | |
| import capstone # capstone-engine | |
| import re | |
| import pefile # pefile | |
| def DWORD(i): | |
| return i & 0xFFFFFFFF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "dns": { | |
| "hosts": { | |
| "domain:googleapis.cn": "googleapis.com" | |
| }, | |
| "servers": [ | |
| "1.1.1.1" | |
| ] | |
| }, | |
| "inbounds": [ |