Skip to content

Instantly share code, notes, and snippets.

@Chenx221
Chenx221 / recovery.json, cloudready_recovery.json
Last active July 22, 2026 19:46
Chrome OS recovery images manual download (Flex)
# Chrome OS recovery images manual download
https://dl.google.com/dl/edgedl/chromeos/recovery/recovery2.json
https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.json
# Google Chrome OS Flex images manual download
https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery2.json
https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery.json
@Jeffreyxdev
Jeffreyxdev / a_file.txt
Created July 22, 2026 19:40
bbp test gist A
test file for security research - account A
@nikias
nikias / limd-build-macos.sh
Last active July 22, 2026 19:35
Build libimobiledevice stack for macOS with ease
#!/bin/bash
# If you like this script and my work on libimobiledevice, please
# consider becoming a patron at https://patreon.com/nikias - Thanks <3
REV=1.0.22
if test "`echo -e Test`" != "Test" 2>&1; then
echo Please run this with zsh or bash.
exit 1
@brandonprry
brandonprry / gist:f83917e0fcc3bf3ccd6b
Last active July 22, 2026 19:32
Raritan PowerIQ 4.1/4.2/4.3 known session secret unauthenticated RCE
msf exploit(rails_secret_deserialization) > show options
Module options (exploit/multi/http/rails_secret_deserialization):
Name Current Setting Required Description
---- --------------- -------- -----------
COOKIE_NAME no The name of the session cookie
DIGEST_NAME SHA1 yes The digest t
# Copyright (C) 2017 Mandiant, Inc. All Rights Reserved.
#!/usr/bin/env python3
"""
Run FLOSS to automatically extract obfuscated strings and apply them to the
currently loaded module in IDA Pro.
author: Willi Ballenthin
email: willi.ballenthin@gmail.com
"""
@spvkgn
spvkgn / capture_tls_quic.py
Last active July 22, 2026 19:15
Capture TLS ClientHello / QUIC Initial
#!/usr/bin/env python3
"""
capture_tls_quic.py — Capture TLS ClientHello and QUIC Initial
-t : capture TLS ClientHello (default)
-q : capture QUIC Initial
-a : capture both (TLS + QUIC)
"""
from __future__ import annotations
@jonlabelle
jonlabelle / ANSI.md
Created August 14, 2021 16:21 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1b
  • Decimal: 27
# https://learn.microsoft.com/en-us/windows/wsl/wsl-config#example-wslconf-file
# Per-distro settings go in /etc/wsl.conf
# $env:userprofile\.wslconfig
# WSL2-specific options
[wsl2]
processors = 4 # Makes the WSL 2 VM use two virtual processors
memory = 8GB # Limits VM memory in WSL 2
swap = 0 # Do not use swap file
localhostforwarding=true # bind WSL 2 localhost to Windows localhost
@markasoftware
markasoftware / enterprise_token.rb
Last active July 22, 2026 18:52
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
@ksprashu
ksprashu / GEMINI.md.prompt
Last active July 22, 2026 18:48
GEMINI.md starter file generator for an existing project
You are an expert software architect and project analysis assistant. Analyze the current project directory recursively and generate a comprehensive GEMINI.md file. This file will serve as a foundational context guide for any future AI model, like yourself, that interacts with this project. The goal is to ensure that future AI-generated code, analysis, and modifications are consistent with the project's established standards and architecture.
+ Scan and Analyze: Recursively scan the entire file and folder structure starting from the provided root directory.
+ Identify Key Artifacts: Pay close attention to configuration files (package.json, requirements.txt, pom.xml, Dockerfile, .eslintrc, prettierrc, etc.), READMEs, folder hierarchy, documentation files, and source code files.
+ Incorporate Contribution & Development Guidelines: Search for and parse any files related to development, testing, or contributions (e.g., CONTRIBUTING.md, DEVELOPMENT.md, TESTING.md). The instructions within these guides are critical