Skip to content

Instantly share code, notes, and snippets.

View tconqueror's full-sized avatar

Hoang NguyenDuc tconqueror

  • VPS Securities
  • Vietnam
View GitHub Profile
@TheWover
TheWover / PowershellRunspace.cs
Created January 22, 2019 21:49
Runs PowerShell from C# through System.Management.Automation
using System;
using System.Management.Automation;
using System.Collections.ObjectModel;
static void Main(string[] args)
{
//Using this class: https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.powershell?view=powershellsdk-1.1.0
using (PowerShell PowerShellInstance = PowerShell.Create())
{
@jtschichold
jtschichold / TAXII-1.1.postman_collection.json
Last active June 10, 2024 04:31
Simple Postman Collection for TAXII 1.1 Requests
{
"variables": [],
"info": {
"name": "TAXII-1.1 (0.1)",
"_postman_id": "f355c2a2-5d3e-6f5b-f957-afe4d5646d7a",
"description": "Simple collection of TAXII 1.1 requests.\nYou need an environment with the following keys to run this:\n- hostname: hostname of the TAXII server\n- collection: name of the collection to poll (needed only for Poll Request)\n\nDiscovery request points to {{hostname}}/taxii-discovery-service\n\nCollection Information Request points to {{hostname}}/taxii-collection-management-service\n\nPoll Request to {{hostname}}/taxii-poll-service",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{