Skip to content

Instantly share code, notes, and snippets.

View unixfox's full-sized avatar

Émilien (perso) unixfox

View GitHub Profile
@karolba
karolba / alpine-on-stardust-no-rescue.md
Last active June 8, 2025 01:09
Install Alpine Linux on Scaleway Stardust without the rescue image using https://netboot.xyz

A way to install Alpine Linux on a Scaleway Stardust instance without the use of a rescue image, but by booting into the install image over the network using https://netboot.xyz.

  1. Connect to the serial console, using scw instance server console {uuid} zone={zone}

  2. Reboot the VM into UEFI settings

    • either by executing systemctl reboot --firmware on the machine
    • or by using scw instance server reboot {uuid} zone={zone} locally and repeatedly mashing the escape key on the serial console image
  3. Go to Device Manager -> Network Device List -> the only network device -> HTTP Boot Configuration -> Boot URI

@coletdjnz
coletdjnz / unavailabletest.py
Last active January 5, 2023 21:36
test for unavailable on this app video
# depends: tqdm, requests, brotli
import json
from datetime import datetime
from pathlib import Path
from tqdm import tqdm
import requests.cookies
import multiprocessing
video_id = "7-BqJKE14Yo"
proxies = {}
@SamantazFox
SamantazFox / client_context.json
Last active August 29, 2022 09:02
Reversing of youtube client context's names
{
"1:0:embedded": { // client
"1:0:embedded": { // context
"1:string": "fr", // hl
"2:string": "FR", // gl
// 4? "remoteHost": "141.98.6.54",
"10:string": "FR", // ???
@approovm
approovm / 00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Last active June 17, 2025 05:12
Certificate Pinning Bypassing: Setup with Frida, mitmproxy and Android Emulator with a writable file system
@lizthegrey
lizthegrey / attributes.rb
Last active May 23, 2025 05:50
Hardening SSH with 2fa
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'
@akabe1
akabe1 / frida_multiple_unpinning.js
Last active June 16, 2025 10:59
Another Android ssl certificate pinning bypass for various methods
/* Android ssl certificate pinning bypass script for various methods
by Maurizio Siddu
Run with:
frida -U -f <APP_ID> -l frida_multiple_unpinning.js [--no-pause]
*/
setTimeout(function() {
Java.perform(function() {
console.log('');
@victornpb
victornpb / deleteDiscordMessages.js
Last active June 13, 2025 17:07
Delete all your messages from DM or Channel in Discord
/*
This file is now hosted here:
https://github.com/victornpb/undiscord
*/
@superbrothers
superbrothers / kubectl-delete_all
Last active October 1, 2024 05:27
Kubernetes: Delete all objects in the namespace
kubectl delete "$(kubectl api-resources --namespaced=true --verbs=delete -o name | tr "\n" "," | sed -e 's/,$//')" --all
@quyenlv
quyenlv / remote-capture-packet-simple.rst
Last active March 20, 2025 08:52
Remote capturing packet with tcpdump and wireshark.

Topology

+------------------+                    +----------------------+
|   Local host     |  tcpdump over ssh  |    Remote Host       |
|                  |--------------------|                      |\ eth0
| +--------------+ |--------------------|                      |/
| |   Wireshark  | |                    |  tcpdump -i eth0...  |
@ServerlessBot
ServerlessBot / IAMCredentials.json
Last active February 24, 2025 15:51
Minimum credential set for Serverless Framework
{
"Statement": [
{
"Action": [
"apigateway:*",
"cloudformation:CancelUpdateStack",
"cloudformation:ContinueUpdateRollback",
"cloudformation:CreateChangeSet",
"cloudformation:CreateStack",
"cloudformation:CreateUploadBucket",