Skip to content

Instantly share code, notes, and snippets.

@thesamesam
thesamesam / xz-backdoor.md
Last active April 7, 2025 09:15
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

@ayebrian
ayebrian / vmware.md
Last active April 17, 2025 12:41
CONTENT REMOVED

Content removed in accordance with GitHub's Terms of Service.

Thank you for your understanding.

@jjaimealeman
jjaimealeman / funsplash
Last active March 25, 2024 06:44
My simple Unsplash image downloader scripts with width & height options.
#!/bin/bash
# funsplash.sh
funsplash() {
clear
printf -- "\n ========================================\n"
printf -- "\n This script presents you with 2 options:\n"
printf -- "\n 1. Choose the width of your pic.\n"
printf -- "\n 2. Choose the height of your pic.\n"
@Informatic
Informatic / README.md
Last active March 24, 2025 12:47
openlgtv webOS hacking notes

This is just a dump of some interesting undocumented features of webOS (3.8 specifically, on early 2018 4k LG TV) and other development-related tips.

Homebrew app ideas

@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active April 18, 2025 18:48
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@jcconnell
jcconnell / USG_OpenVPN_Radius_Auth.md
Last active December 30, 2024 15:01
Unifi Security Gateway (USG) OpenVPN server with RADIUS authentication

Last Updated: 8/30/18

Details

I wanted to run an OpenVPN server on the USG. Since it has a Radius server built in, I figured this would be a much better way to handle OpenVPN authentication. Make sure you have the Radius server enabled on your USG under Settings > Services > Radius > Server in the controller. Add OpenVpn users under Settings > Services > Radius > Server.

Thanks to the following resources in helping to configure this:

@joeharr4
joeharr4 / ssh-cipher-benchmark.sh
Last active November 18, 2024 03:43 — forked from dlenski/ssh-cipher-benchmark.sh
Check speed of ssh cipher(s) on your system
#!/bin/bash
# ssh-cipher-benchmark.sh - Assesses speed of SSH encryption between specific hosts.
# Usage:
# ssh-cipher-benchmark.sh <remotehost> [ciphers]
# Default ciphers: all we can find...
#
# Note: In some cases, the first cipher tested runs faster than the others, regardless of order.
# Cause of this is not known, but changing the order of testing shows it to be true. Run the
# first one twice if you suspect this. Perhaps it is due to buffering?
@TerrenceSun
TerrenceSun / inkscape_label_to_id.pl
Last active January 9, 2023 18:19
This file read file of 'Plain SVG' type and change id with the same value of inkscape:label. The reason of making this script is that some application only read the id attribute, and it needs the value of id following some specified format. Manually way of doing this is to open the 'XML Editor', and type in the id with value you want.
#!/usr/bin/env perl
use strict;
my ($id, $label);
my @all_lines;
my %mapping;
while(<>) {
push @all_lines, $_;
if (/^\s*</) {
$id = undef;
$label = undef;