This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * SO_ATTACH_REUSEPORT_CBPF UAF -> modprobe_path LPE (panic-free) | |
| * Target: CentOS 10 — 6.12.0-228.el10.x86_64 (AMD64, 2 CPUs, KVM) | |
| * | |
| * !!! NOT A RELIABLE EXPLOIT !!! | |
| * | |
| * Build: | |
| * gcc -O2 -static -o reuseport_cbpf_lpe_centos10 \ | |
| * reuseport_cbpf_lpe_centos10.c -lpthread | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * CAN BCM thrtimer UAF LPE (commit f1b4e32aca08) | |
| * | |
| * Tested on : Linux centos10 6.12.0-228.el10.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 14 14:51:31 UTC 2026 x86_64 GNU/Linux | |
| * | |
| * Lore / provenance: | |
| * https://lore.kernel.org/all/969151cc-5316-472b-970b-c29b8aadc1f9@hartkopp.net | |
| * https://lore.kernel.org/all/20260526165257.3705239-1-lee@kernel.org | |
| * | |
| * Bug: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * gro_frag.c — LPE via GRO managed-frag UAF (io_uring SEND_ZC + veth) | |
| * | |
| * The bug: skb_gro_receive() copies frag descriptors from a ZC skb | |
| * (SKBFL_MANAGED_FRAG_REFS → no per-frag page refs) into a non-ZC | |
| * GRO accumulator. When the accumulator is freed, skb_release_data() | |
| * calls put_page() on each frag — including the stolen ones that never | |
| * had get_page() called. This gives us one extra put_page per merged | |
| * ZC frag: a refcount underflow. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * sockmap_lpe_ktls.c — full LPE via kTLS + sockmap page cache corruption | |
| * | |
| * https://lore.kernel.org/stable/20260517121626.406516-1-rollkingzzc@gmail.com/ | |
| * | |
| * Works on ALL kernels 4.18+ (including 6.5+ where sendpage was removed). | |
| * | |
| * Chain: sendfile → tls_sw_sendmsg(MSG_SPLICE_PAGES) | |
| * → tls_sw_sendmsg_splice → sk_msg_page_add(msg_pl, page) | |
| * → bpf_exec_tx_verdict(msg_pl) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import magic | |
| import r2pipe | |
| import hashlib | |
| import argparse | |
| import subprocess | |
| from unicorn import * | |
| from unicorn.x86_const import * | |
| # from udbserver import * # uncomment this line if you want to debug | |
| def pad_size(size): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import polars as pl | |
| import typer | |
| import re | |
| app = typer.Typer(help="""Contract Query Tool""") | |
| @app.command("bytes") | |
| def find_code( | |
| code: str = typer.Argument(..., help="Bytes/string pattern to search for"), | |
| init: bool = typer.Option(False, "--init", "-i", help="Search in init_code instead of runtime code"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 924 days ago (Oct-22-2022 01:41:11 AM UTC) | |
| {"evt_tx_hash":"0x6293113475f1fdd7079727d88ec4951a57ed7fbcd72567b25b52ad79767d07bd","name":"\u003cscript\u003ealert(\"xss\")\u003c/script\u003e"}, | |
| 820 days ago (Feb-03-2023 08:45:59 AM UTC) | |
| {"evt_tx_hash":"0x0c2232ce1a7fdcd9f3db20881eb9e42340b2d1afdb716a19be7bf524c80860c1","name":"\u003cscript\u003ealert(/Hey there/)\u003c/script\u003e"}, | |
| 810 days ago (Feb-13-2023 02:03:23 PM UTC) | |
| {"evt_tx_hash":"0xfd8df3795190abf1ba4fe03bea4c6c6691cbc43a78e7dcc52d17b40b786e3924","name":"\u003cscript\u003ealert('plsgibgoodbountythx')\u003c/script\u003e"}, | |
| 810 days ago (Feb-13-2023 12:54:23 PM UTC) | |
| {"evt_tx_hash":"0x8fbbc2b3a835d54c63a370c55bd1274ac9c64cb1dd26ef9540644c23db8d2022","name":"\u003cscript\u003ealert('lcfr.eth')\u003c/script\u003e"}, | |
| 810 days ago (Feb-13-2023 01:00:23 AM UTC) | |
| {"evt_tx_hash":"0x97fc5acbd7e1897ff6b2dd0b73628024036299851fa35d66d0aba357fcdead9b","name":"\u003cscript\u003e$=1,alert($)\u003c/script\u003e"}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ┌───────────────────┐ | |
| │ 371 Code Findings │ | |
| └───────────────────┘ | |
| admin-test.php | |
| ❯❯❱ php.lang.security.exec-use.exec-use | |
| Executing non-constant commands. This can lead to command injection. | |
| Details: https://sg.run/5Q1j | |
| 71┆ exec( $cmd ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| # ./a | |
| main pid: 78193 | |
| child: 78194 | |
| dropped to 33 | |
| attempt trace self - pid: 78194 | |
| ptrace: Operation not permitted | |
| Failed to trace self. Errno: 1 | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Parent: 77345 | |
| child: 77346 | |
| dropped to : 33 | |
| trying to trace 77345 | |
| ptrace: Operation not permitted | |
| failed tracing parent. Errno: 1 | |
| Parent: rip children | |
| */ |
NewerOlder