This file contains 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 | |
echo don't try this at home | |
SET SHOULD_PAUSE= | |
REM kill them all !!! | |
wmic process where name="teams.exe" call terminate || taskkill /f /im teams.exe || echo o.O | |
REM Uses the file name as the profile name | |
call :teamsMC "%~n0" | |
call :teamsMC "default" |
This file contains 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
Host Enumeration: | |
--- OS Specifics --- | |
wmic os LIST Full (* To obtain the OS Name, use the "caption" property) | |
wmic computersystem LIST full | |
--- Anti-Virus --- | |
wmic /namespace:\\root\securitycenter2 path antivirusproduct |
This file contains 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
>> Register-PSSessionConfiguration -SessionType Workflow -Name CPUKiller -SessionTypeOption (New-PSWorkflowExecutionOption -MaxActivityProcesses 100) | |
114 [C:\windows\system32] | |
>> $s = New-PSSession -ConfigurationName CPUKiller | |
115 [C:\windows\system32] | |
>> icm $s { | |
>>> workflow Test-Myworkflow { | |
>>> param | |
>>> ( |
This file contains 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
$what_you_like = @{} | |
foreach($processor_arch in @("x64","x86")) | |
{ | |
foreach($channel in @("stable", "Beta", "Canary", "Dev")) | |
{ | |
$versionObj = $null | |
$RequestArg = @{ | |
TimeoutSec = 1800 | |
Uri = "https://msedge.api.cdp.microsoft.com/api/v1.1/contents/Browser/namespaces/Default/names/msedge-{0}-win-{1}/versions/latest?action=select" -f ($channel, $processor_arch) | |
Method = "POST" |
This file contains 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
//------------------------------------------------------------------------------ | |
// pdbdump.c - dump symbols from .pdb and executable files (public domain). | |
// - to compile; cl.exe /Ox /Zi pdbdump.c | |
// - | |
// - Martin Ridgers, pdbdump 'at' fireproofgravy.co.uk | |
//------------------------------------------------------------------------------ | |
#include <stdio.h> | |
#include <Windows.h> | |
#include <DbgHelp.h> |
This file contains 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
Name: <%= name %> | |
Version: <%= version %> | |
Release: 1%{?dist} | |
Group: <%= group %> | |
Summary: <%= summary %> | |
License: <%= license %> | |
Packager: <%= author %> <<%= email %>> | |
Requires: <%= requires %> | |
BuildRequires: <%= build_requires %> | |
URL: <%= url %> |
This file contains 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
#!/bin/bash | |
{ | |
echo $(date) | |
echo ">>>Disk found" | |
echo ">>>Setting the title..." | |
title=$(makemkvcon -r info) | |
title=`echo "$title" | grep "DRV:0\+"` | |
title=${title:53} |
This file contains 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
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <sys/time.h> | |
#include <dlfcn.h> | |
#include <stdio.h> | |
static timeval * timezero = 0; | |
typedef int (*go)(timeval *tv, timezone *tz); |