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
using System; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
public class TestClass | |
{ | |
public TestClass() | |
{} |
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
#WMIC Commands from https://blogs.technet.microsoft.com/askperf/2012/02/17/useful-wmic-queries/ | |
wmic baseboard get Manufacturer, Model, Name, PartNumber, slotlayout, serialnumber, poweredon | |
wmic bios get name, version, serialnumber | |
wmic bootconfig get BootDirectory, Caption, TempDirectory, Lastdrive | |
wmic cdrom get Name, Drive, Volumename | |
wmic computersystem get Name, domain, Manufacturer, Model, NumberofProcessors, PrimaryOwnerName,Username, Roles, totalphysicalmemory /format:list | |
wmic cpu get Name, Caption, MaxClockSpeed, DeviceID, status | |
wmic datafile where name=’c:\boot.ini’ get Archive, FileSize, FileType, InstallDate, Readable, Writeable, System, Version | |
wmic dcomapp get Name, AppID /format:list | |
wmic desktop get Name, ScreenSaverExecutable, ScreenSaverActive, Wallpaper /format:list |
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
$hostlist = "","" | |
$userSearch = "" | |
$ErrorActionPreference = "SilentlyContinue" | |
function Invoke-QueryDowngrade{ | |
$downgradeXML = @" |
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
Add-Type -AssemblyName System.Windows.Forms | |
$screen = [System.Windows.Forms.SystemInformation]::VirtualScreen | |
[Windows.Forms.Cursor]::Position = "$($screen.Width),$($screen.Height)" | |
function Click-MouseButton | |
{ | |
$signature=@' | |
[DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)] | |
public static extern void mouse_event(long dwFlags, long dx, long dy, long cButtons, long dwExtraInfo); | |
'@ |
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
Add-Type -AssemblyName System.Windows.Forms;$screen = [System.Windows.Forms.SystemInformation]::VirtualScreen;[Windows.Forms.Cursor]::Position = "$($screen.Width),$($screen.Height)" |
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
#!/usr/bin/env python | |
################################################## | |
# Gnuradio Python Flow Graph | |
# Title: Top Block | |
# Generated: Sat Mar 19 12:29:45 2016 | |
################################################## | |
from gnuradio import analog | |
from gnuradio import audio | |
from gnuradio import blocks |
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 is nothign but a test document. |
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
#requires -Version 2 | |
$header = @" | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> | |
<html><head><title>Windows Event Logs</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style type="text/css"> | |
<!- | |
NewerOlder