Skip to content

Instantly share code, notes, and snippets.

View cstanze's full-sized avatar
🖥️
compiler lol

Jules Nieves cstanze

🖥️
compiler lol
View GitHub Profile
@cstanze
cstanze / README.md
Last active October 22, 2024 08:29
eduroam / Legacy WPA2 Enterprise fix for NetworkManager on Linux.

Big thanks to:

Assume you've diagnosed the problem with journalctl -xb and come across something similar to:

Oct 18 09:51:58 florence wpa_supplicant[7999]: SSL: SSL3 alert: write (local SSL3 detected an error):fatal:protocol version
Oct 18 09:51:58 florence wpa_supplicant[7999]: OpenSSL: openssl_handshake - SSL_connect error:0A000102:SSL routines::unsupported protocol
Oct 18 09:51:58 florence wpa_supplicant[7999]: wlo1: CTRL-EVENT-EAP-FAILURE EAP authentication failed
@cstanze
cstanze / polkit_root.sh
Created August 30, 2023 15:59
polkit exploit
#!/bin/bash
$USR
$PASS
$TIME
$FORCE
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
@cstanze
cstanze / root.c
Created August 30, 2023 15:49
Linux 2.6.19 < 5.9 Privilege Escalation CVE-2021-22555
/*
* CVE-2021-22555: Turning \x00\x00 into 10000$
* by Andy Nguyen (theflow@)
*
* theflow@theflow:~$ gcc -m32 -static -o exploit exploit.c
* theflow@theflow:~$ ./exploit
* [+] Linux Privilege Escalation by theflow@ - 2021
*
* [+] STAGE 0: Initialization
* [*] Setting up namespace sandbox...
@cstanze
cstanze / app.js
Created August 1, 2022 23:52
Example included file for .kagiwidget
console.log("This is a very useful feature and works with more than just gists.")
console.log("For those reading the documentation (or even the proposal of this feature), keep reading to learn more about this feature!")