Skip to content

Instantly share code, notes, and snippets.

@bagder
bagder / slop.md
Last active July 14, 2025 12:29
AI slop security reports submitted to curl

Slop

This collection is limited to only include the reports that were submitted as security vulnerabilities to the curl bug-bounty program on Hackerone.

Reports

  1. [Critical] Curl CVE-2023-38545 vulnerability code changes are disclosed on the internet. #2199174
  2. Buffer Overflow Vulnerability in WebSocket Handling #2298307
  3. Exploitable Format String Vulnerability in curl_mfprintf Function #2819666
@thoughtsunificator
thoughtsunificator / README.md
Last active June 27, 2025 17:50
Setup a native proxy switcher on Firefox
  • Download script.pac to /home/user/script.pac
  • Go to FF network settings and select 'Automatic proxy configuration URL'
  • Enter file:///home/user/script.pac
  • Enjoy

Note: If you're using SOCKS v5 you might want to also select 'Proxy DNS when using SOCKS v5'

Tested on 116.0.2 (64 bit) Arch Linux

TODO Dokumenty do inżynierki (W4)

  • Teczka (Do odebrania za darmo w dziekanacie)
    • Czytelne, drukowane litery napisane grubym czarnym markerem (grubość 1mm max)
    • Przy wybranej formie pracy na pierwszej stronie dopisać tryb studiów (S - Stacjonarnie, N - Zaoczne (Niestacjonarne))
  • Wydrukowana praca dyplomowa
    • Kolor dowolny, nie musi być kolorowy, może być czarno-biały
    • Strona tytułowa zgodna z wzorem (Jedyna strona w oryginalnej wielkości!)
    • Druk dwustronny, dwie strony na jednej stronie (4 strony na jednej kartce, dwie po jednej stronie, dwie po drugiej po drugiej, przewrót wzdłuż dłuższego boku)
  • Koperta (nie musi być B5, może być C5) wraz z płytą na końcu teczki (Płyta oraz koperta podpisana: imię, nazwisko i numer indeksu) - NIE ZAKLEJAMY KOPERTY
@motorailgun
motorailgun / idea.md
Last active April 11, 2025 11:36
Installing Windows and Linux into the same partition

Installing Windows and Linux into the same partition

But WHY?

There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /(C:\), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.

Pre-requirements

  • UEFI system
  • Any Linux live-boot CD/DVD/USB... with Linux kernel newer than 5.15
  • Windows installer USB
@unixfox
unixfox / howto.md
Last active June 8, 2025 01:10
Install Alpine Linux on Oracle Cloud ARM VPS with Ubuntu pre-installed
@ctsrc
ctsrc / README.md
Last active July 2, 2025 14:28 — forked from niw/README.en.md
Guide: Run FreeBSD 13.1-RELEASE for ARM64 in QEMU on Apple Silicon Mac (MacBook Pro M1, etc) with HVF acceleration (Hypervisor.framework)
@unixfox
unixfox / README.md
Last active May 3, 2025 08:57
Install alpine linux on Scaleway stardust
@thalamus
thalamus / ArchLinuxARM-M1
Last active February 23, 2025 12:24
How to boot Arch Linux ARM in QEMU (patched for M1)
/*
* This document is provided to the public domain under the
* terms of the Creative Commons CC0 public domain license
*/
How to boot Arch Linux ARM in QEMU (patched for M1)
Prerequisites:
QEMU - patched for M1 processors - patches: https://github.com/utmapp/qemu
@willeccles
willeccles / shellandc.c
Last active November 23, 2024 17:15
A C program which is also a valid bash script, and vice versa.
#include <stdio.h>
#define $x ,x
#define $i ,i
#define eval int
#define read scanf
#define $scanfpat "%d", &
#define $(x) ,(x)
#define $open (
#define $close )
#define do {
@unixfox
unixfox / readme.md
Last active June 29, 2025 00:18
How to get IPv4 connectivity on an IPv6 only VPS

Some hosting providers like scaleway allows to remove the IPv4 from the VPS in order to save 1€/month but doing this will result in losing connectivity to the "IPv4 world".
Or you may have ordered a VPS that only has IPv6 connectivity and you want to access to a resource only accessible from the "IPv4 world".
Here is how to gain your access back to the "IPv4 world".

Change your name servers(s) to DNS64 name servers(s)

Note: You may deploy your own DNS64 & NAT64 server on a separate server by following this tutorial (untested): https://packetpushers.net/nat64-setup-using-tayga/.
Note²: You may find a explanation of what is NAT64 and DNS64 on Wikipedia.

  1. Choose a/multiple DNS64 public server(s) that has/have its own NAT64 public service from this list: