Skip to content

Instantly share code, notes, and snippets.

View jeremy-cxf's full-sized avatar
🐱

Jeremy Cocks jeremy-cxf

🐱
View GitHub Profile
#!/usr/bin/env bash
CIPHERS='ALL:eNULL'
DELAY=${2:-0.1}
SERVER=${1:?usage: $0 <host:port> [delay, default is ${DELAY}s] [ciphers, default is ${CIPHERS}]}
MAXLEN=$(openssl ciphers "$CIPHERS" | sed -e 's/:/\n/g' | awk '{ if ( length > L ) { L=length} }END{ print L}')
echo Using $(openssl version).
declare -A TLSMAP=( [tls1_1]=cipher [tls1_2]=cipher [tls1_3]=ciphersuites )

Keybase proof

I hereby claim:

  • I am jeremy-cxf on github.
  • I am netyaroze (https://keybase.io/netyaroze) on keybase.
  • I have a public key whose fingerprint is 84DF CAEE B653 7A61 7658 3E48 B853 262A 7F6C CBB0

To claim this, I am signing this object:

@jeremy-cxf
jeremy-cxf / uninstallSigSci.ps1
Created August 15, 2023 15:12
Uninstall sigsci-agent/sigsci-module
#set variables
[string]$installDir = "$Env:Programfiles\Signal Sciences"
$installedApplications = 0
#Uninstall the signalsciences packages:
$sigsciProducts = "Signal Sciences IIS Module", "Signal Sciences Agent"
foreach ($sigsciProduct in $sigsciProducts) {
$product = Get-WmiObject -Class Win32_Product | Select-Object | Where-Object { $_.Name -like "$sigsciProduct" }
if (-not ([string]::IsNullOrEmpty($product))) {
$installedApplications++
@jeremy-cxf
jeremy-cxf / install.ps1
Last active May 30, 2022 08:55
Enables IIS (If not enabled) and Installs Sigsci Agent / Module
#Requires -RunAsAdministrator
[CmdletBinding()]
param(
[String]$modversion,
[String]$agentversion,
[String]$accesskeyid,
[String]$secretaccesskey,
[switch]$clean
)