Skip to content

Instantly share code, notes, and snippets.

@echo off
REM https://www.telerik.com/products/decompiler.aspx
set targetDir="C:\inetpub\SolarWinds - Copy\bin"
set outDir="c:\SWDecompiled"
For /R %targetDir% %%G IN (*.dll) do (
justdecompile /target:"%%G" /out:"%outDir%\%%~nxG"
)
#!/bin/bash
# Source: /usr/share/ubios-udapi-server/ips/bin/getsig.sh
#
# These are the URLs where the source data is pulled from.
# https://assets.unifi-ai.com/idsips/5.0.5/rules.tar.gz
# https://assets.unifi-ai.com/reputation/alien.list.gz
# https://assets.unifi-ai.com/reputation/tor.list.gz
UPDATEURL="https://assets.unifi-ai.com"
@absane
absane / randUsernameDiceware.js
Created September 2, 2022 16:52
Generate a random username using EFF's large diceware wordlist
return function() {
// wordList=$(curl -s "https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt" | awk '{print $2}' | sed 's/./\u&/')
// jq -ncR '[inputs]' <<< "$wordList"
var length = 2;
var wordList = ["Abacus","Abdomen","Abdominal","Abide","Abiding","Ability","Ablaze","Able","Abnormal","Abrasion","Abrasive","Abreast","Abridge","Abroad","Abruptly","Absence","Absentee","Absently","Absinthe","Absolute","Absolve","Abstain","Abstract","Absurd","Accent","Acclaim","Acclimate","Accompany","Account","Accuracy","Accurate","Accustom","Acetone","Achiness","Aching","Acid","Acorn","Acquaint","Acquire","Acre","Acrobat","Acronym","Acting","Action","Activate","Activator","Active","Activism","Activist","Activity","Actress","Acts","Acutely","Acuteness","Aeration","Aerobics","Aerosol","Aerospace","Afar","Affair","Affected","Affecting","Affection","Affidavit","Affiliate","Affirm","Affix","Afflicted","Affluent","Afford","Affront","Aflame","Afloat","Aflutter","Afoot","Afraid","Afterglow","Afterlife","Afte
@absane
absane / DDOS.go
Last active February 9, 2023 07:39
package main
import (
"net/http"
"bufio"
"os"
"time"
"fmt"
"math/rand"
"context"
#!/usr/bin/python3
import argparse
import requests
# CVE-2022-37434
# zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field.
# NOTE: only applications that call inflateGetHeader are affected.
# Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).
b = b""