View sample_get_GPO.ps1
$AppliedGPOs = $(Get-WmiObject -Namespace 'ROOT\RSOP\Computer' -Class RSOP_GPLink -Filter "AppliedOrder <> 0" | Select @{n='GPO';e={$_.GPO.Replace("RSOP_GPO.","")}} | Select -ExpandProperty GPO) | |
Get-WmiObject -Namespace 'ROOT\RSOP\Computer' -Class 'RSOP_GPO' -Filter $AppliedGPOs[0] |
View APIServiceRedacted.swift
import Foundation | |
struct APIService { | |
let baseUrl = "redacted" | |
let applicationId = "redacted" | |
let eventCode = "redacted" | |
let token: String? | |
func login(c: Credentials, andThen: APIService -> ()) -> () { |
View gist:ddd82f3a14d152404c46
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.Security.Cryptography; | |
namespace Base64 | |
{ | |
public class Base64Stream | |
{ | |
public static int Main(string[] args) |
View Main
module Main where | |
import Debug.Trace | |
import Network.XHR | |
import qualified Thermite as T | |
import qualified Thermite.Html as T | |
import qualified Thermite.Html.Elements as T | |
import qualified Thermite.Action as T | |
import qualified Thermite.Types as T |
NewerOlder