https://c2rsetup.officeapps.live.com/c2r/downloadVS.aspx?sku=community&channel=Stable&version=VS18
https://c2rsetup.officeapps.live.com/c2r/downloadVS.aspx?sku=enterprise&channel=Stable&version=VS18
| package main | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "fmt" | |
| "net" | |
| "time" | |
| ) |
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| Register-ArgumentCompleter -Native -CommandName 'stack' -ScriptBlock { | |
| param($wordToComplete, $commandAst) | |
| [string[]]$localCommand = @('"--bash-completion-enriched"') | |
| $hay = [System.Collections.Generic.List[string]]::new() | |
| foreach ($item in $commandAst.CommandElements) { | |
| $localCommand += '"--bash-completion-word"' | |
| $localCommand += """$item""" | |
| $hay.Add($item.ToString()) |
| import nimcrypto | |
| import winim/clr except `[]` # https://s3cur3th1ssh1t.github.io/Playing-with-OffensiveNim/ <-- thank you so much, 2 hours googling I almost went crazy | |
| #[ | |
| All credit goes to @byt3bl33d3r (OffensiveNim) and @s3cur3th1ssh1t | |
| nimble install winim nimcrypto zippy | |
| nim c -d:danger -d:strip --opt:size rsrcDecryptAssembly.nim | |
| slurp = "staticRead" will read the file and store it in the variable (.rdata) on compile time. |
| ; Speed Test for Windows x64, v1.01 / fasm 1 | |
| ; (c) 2020 Jin X (jin_x@list.ru) | |
| format PE64 Console 5.0 | |
| include 'win64axp.inc' | |
| define REQUIRE_ADMIN_RIGHTS 1 ; 1 - run with the highest (realtime) priority, 0 - run with just high priority | |
| ;-- CODE SECTION ------------------------------------------------------------------------------------------------------- |
| ********************************************************************************************* | |
| ** Below is the header text written in the .sln files produced by Microsoft Visual Studio. ** | |
| ** By default, each header is preceeded by a Windows new line character (CRLF) in the .sln ** | |
| ** file. I've identified the specific Visual Studio version used to create each header in ** | |
| ** place of this blank line and indicated each as such [[ VS<VERSION> (PLATFORM TOOLSET) ]]** | |
| ********************************************************************************************* | |
| ** DO NOT INCLUDE ANYTHING FROM THIS LINE IN YOUR .SLN FILE. REPLACE THIS WITH A NEW LINE ** | |
| ** CHARACTER (CRLF) OR JUST DELETE IT ENTIRELY. OTHERWISE VISUAL STUDIO WILL NOT BE ABLE ** | |
| ** TO READ THE .SLN FILE TO OPEN THE SOLUTION. ** | |
| ********************************************************************************************* |
| @Echo off | |
| reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f | |
| reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f | |
| reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f | |
| pause |