Skip to content

Instantly share code, notes, and snippets.

@SwitHak
SwitHak / 20211210-TLP-WHITE_LOG4J.md
Last active February 22, 2026 09:37
BlueTeam CheatSheet * Log4Shell* | Last updated: 2021-12-20 2238 UTC

Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)

Errors, typos, something to say ?

  • If you want to add a link, comment or send it to me
  • Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak

Other great resources

  • Royce Williams list sorted by vendors responses Royce List
  • Very detailed list NCSC-NL
  • The list maintained by U.S. Cybersecurity and Infrastructure Security Agency: CISA List
@PsychoData
PsychoData / SSL_iDRAC_EnterpriseCA.ps1
Created February 20, 2018 05:51
A Script to generate, sign. and upload an SSL cert to an Dell iDRAC for http://www.contoso.one/2018/02/updating-idrac-ssl-certs-through.html
#Requires -Version 5
#region Requirements
#Make sure you have DRAC tools installed, including racadm https://www.dell.com/support/home/us/en/4/Drivers/DriversDetails?driverId=K7F2N
If (!$(get-command racadm.exe -ErrorAction SilentlyContinue)) {Write-Host "Exiting, racadm does not exist"; Exit }
If (!$(get-command certreq.exe -ErrorAction SilentlyContinue)) {Write-Host "Exiting, certreq does not exist. Please install Certificate services tools."; Exit }
#endregion
$IP = '192.168.100.215' #Hostname also works if DNS is already setup
$idraccred = Get-Credential -Message "Please provide iDrac Login for $IP"
@centic9
centic9 / README.md
Last active March 7, 2026 09:34
notepad++ syntax highlighting for Dockerfiles, store at something like C:\Users\[user]\AppData\Roaming\Notepad++\userDefineLangs\userDefineLang_Dockerfile.xml

Notepad++ syntax highlighting for Dockerfiles

Store userDefineLang_Dockerfile.xml at %AppData%\Roaming\Notepad++\userDefineLangs\userDefineLang_Dockerfile.xml and select Language > Dockerfile in Notepad++.

Automatically apply style

Since Dockerfile has no extension, the style is not automatically applied.

@4ndrej
4ndrej / SSLPoke.java
Last active February 10, 2026 14:30
Test of java SSL / keystore / cert setup. Check the comment #1 for howto.
import javax.net.ssl.SSLParameters;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {