- The right information to the right people, at the right time, in the right context, & in most usable format
- Creating, sharing, and acting upon information in ways that measurably improve performance
- Connecting those who know with those who need to know by leveraging knowledge transfers—converting tacit to explicit knowledge
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
| (((Resolve-DnsName -Name key.cipher.sexy -Type TXT -NoHostsFile -DnsOnly | Select-Object -ExpandProperty Strings) -join ',') -replace '[,]') |
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 | |
| function New-AudioNotification | |
| { | |
| [CmdletBinding(SupportsShouldProcess = $True,ConfirmImpact = 'Low')] | |
| Param( | |
| [Parameter(Mandatory = $False,ValueFromPipeline)] | |
| [string]$Message = 'This is a test of the PowerShell broadcast system.' | |
| ) | |
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
| function Get-McAfeeLogs { | |
| [cmdletbinding()] | |
| Param ( | |
| [parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] | |
| [Alias('CN','Hostname','Target','IP','IpAddress')] | |
| [string] $ComputerName = $env:COMPUTERNAME, |
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
| $1337h4x0r = $True | |
| $ErrorActionPreference = 'Stop' | |
| while ($1337h4x0r -eq $True) { | |
| if (!(Get-WinEvent -ListProvider 'CAC-Exempt Script' -ErrorAction SilentlyContinue)) { | |
| New-EventLog -LogName Application -Source 'CAC-Exempt Script' | |
| } # if |
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
| function Enable-DnsClientLogging { | |
| Param ( | |
| [parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] | |
| [Alias('DNSHostName','PSComputerName','CN','Hostname')] | |
| [array] $ComputerName = $env:COMPUTERNAME | |
| ) # End of Param section |
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
| $DefCon24PresoBaseUrl = 'https://media.defcon.org/DEF%20CON%2024/DEF%20CON%2024%20presentations/' | |
| (Invoke-WebRequest -Uri $DefCon24PresoBaseUrl).Links | | |
| Where-Object { $_.href -match '\.pdf' } | | |
| ForEach-Object { | |
| $DefCon24PresoFullUrl = $DefCon24PresoBaseUrl + $_.href ; | |
| $OutFile = "$env:USERPROFILE\Downloads\" + $_.href ; | |
| Invoke-WebRequest -Uri $DefCon24PresoFullUrl -OutFile $OutFile | |
| } |
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
| [cmdletbinding()] | |
| Param ( | |
| [string] $DerbyConFileList = 'https://ia601502.us.archive.org/16/items/DerbyCon6/DerbyCon6_files.xml', | |
| [string] $BaseDownloadUrl = 'https://archive.org/download/DerbyCon6/', | |
| [string] $DestinationFolder = $($HOME + '\Videos\DerbyCon6') |
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
| [cmdletbinding()] | |
| Param ( | |
| [string] $UseNixBaseUrl = 'https://www.usenix.org', | |
| [string] $UsenixSec16BaseUrl = 'https://www.usenix.org/conference/usenixsecurity16/technical-sessions/', | |
| [string] $DestinationFolder = $($HOME + '\Downloads\UsenixSec16') |
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
| [cmdletbinding()] | |
| Param ( | |
| [string] $LlvmBaseUrl = 'http://llvm.org', | |
| [string] $DestinationFolder = $($HOME + '\Downloads\2016-LLVM-Slides') | |
| ) |