Skip to content

Instantly share code, notes, and snippets.

@jNizM
jNizM / winget.ps1
Created June 24, 2022 13:18
Install and upgrade / update apps with winget
$apps = @(
@{name = "7zip.7zip" },
@{name = "BraveSoftware.BraveBrowser" },
@{name = "Discord.Discord" },
@{name = "Lexikos.AutoHotkey" },
@{name = "Microsoft.PowerShell" },
@{name = "Microsoft.PowerToys" },
@{name = "Mozilla.Firefox" },
@{name = "Notepad++.Notepad++" },
@{name = "Spotify.Spotify" },
@jNizM
jNizM / FortiClientVPN.reg
Last active May 9, 2023 15:38
FortiClient VPN - Terms of Use / EULA Accept
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Fortinet\FortiClient\FA_UI\VPN-7.2.0.0690]
"installed"=dword:63d8cd2e
[HKEY_CURRENT_USER\SOFTWARE\Fortinet\FortiClient\FA_UI\VPN-7.0.7.0345]
"installed"=dword:630f39a6
[HKEY_CURRENT_USER\SOFTWARE\Fortinet\FortiClient\FA_UI\VPN-7.0.6.0290]
"installed"=dword:62bdbc48
@jNizM
jNizM / W1709N.ps1
Last active March 28, 2018 14:18
[UNFINISHED] Create a windows 10 iso without crappy and useless windows appx packages
<#
.WINDOWS 10 ENTERPRISE N
todo todo todo
.UNZIP ISO
->
.RUN .PS1 SCRIPT
@jNizM
jNizM / nvapi-debug.ahk
Last active October 18, 2017 10:10
[AHK] NvAPI Debug
; GLOBAL SETTINGS ===============================================================================================================
#NoEnv
#SingleInstance Force
#NoTrayIcon
SetBatchLines -1
global app := { name: "NvAPI_Debug", version: "2016.375.00025", author: "jNizM", licence: "MIT" }
@jNizM
jNizM / ahk_gui_gradient.ahk
Last active May 16, 2019 17:30
[AHK] Create Gardient in GUI
; GLOBAL SETTINGS ===============================================================================================================
#NoEnv
#SingleInstance Force
SetBatchLines -1
; GUI ===========================================================================================================================
Gui, +LastFound +hwndhMyGUI
Gui, Margin, 0, 0
@jNizM
jNizM / Class_ProcessExplorer.ahk
Created May 9, 2016 08:41
[AHK] ProcessExplorer (v0.07 beta)
; ===============================================================================================================================
; Title .........: ProcessExplorer
; AHK Version ...: 1.1.23.05 x64 Unicode
; Win Version ...: Windows 10 Professional - x64
; Description ...: Log Remote Session Information
; Version .......: v0.07 Beta
; Modified ......: 2016.04.20-1653
; Author(s) .....: jNizM
; ===============================================================================================================================
;@Ahk2Exe-SetName ProcessExplorer
@jNizM
jNizM / NtQuerySystemInformation.h
Last active November 6, 2023 04:19
Undocumented NtQuerySystemInformation Structures
// http://www.exploit-monday.com/2013/06/undocumented-ntquerysysteminformation.html
// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
enum _SYSTEM_INFORMATION_CLASS
{
SystemBasicInformation = 0x0000,
SystemProcessorInformation = 0x0001,
SystemPerformanceInformation = 0x0002,
SystemTimeOfDayInformation = 0x0003,
@jNizM
jNizM / class_dropbox.ahk
Last active May 16, 2019 17:32
[AHK] Dropbox Class (GetPath / GetStatus / GetPID)
; License: Unlicense (http://unlicense.org/)
/*
* Function DropBox.GetPath()
*
* Parameters
* Account: can be "personal" or "business" (personal if omitted)
*
* Return Values
* if the function succeeds ==> PATH
@jNizM
jNizM / Gui.ahk
Last active May 16, 2019 17:33
[AHK] GUI Test for Win 8.1 & Win 10
; http://ahkscript.org/boards/viewtopic.php?f=17&t=9057
; 2015-07-30 10:52
; TODO ==========================================================================================================================
; - add child
; GLOBAL SETTINGS ===============================================================================================================
#Warn
#NoEnv
@jNizM
jNizM / gist:019696878590071cf739
Created July 17, 2015 12:25
[AHK] GUI - How-to draw a line / frame
; http://ahkscript.org/boards/viewtopic.php?f=7&t=8846
; https://dl.dropboxusercontent.com/u/186419968/Scripte/Gui/Gui_Draw_Line.png
; GLOBAL SETTINGS ===============================================================================================================
#Warn
#NoEnv
#SingleInstance Force
SetBatchLines -1