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
| # update on Saturday, March 28, 2026 | |
| payload: | |
| - DOMAIN,cdn.usefathom.com | |
| - DOMAIN-SUFFIX,anthropic.com | |
| - DOMAIN-SUFFIX,claudeusercontent.com | |
| - DOMAIN-SUFFIX,claude.ai | |
| - DOMAIN-SUFFIX,intercomcdn.com | |
| - DOMAIN-KEYWORD,claude | |
| - DOMAIN-KEYWORD,anthropic |
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
| #!/usr/bin/env bash | |
| # LiteLLM 通用 IOC 审查脚本 | |
| # 目标: | |
| # 1) 优先发现本次事件强 IOC: | |
| # - litellm_init.pth | |
| # - models.litellm.cloud | |
| # - litellm==1.82.7 / 1.82.8 | |
| # 2) 兼容版本信息缺失、缓存残留、频繁重建环境 | |
| # 3) 避免将普通 base64 / subprocess 误判为高危 | |
| # 4) 默认扫描常见 Python 安装 / 缓存 / 临时目录,并支持 EXTRA_SCAN_ROOTS 扩展 |
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
| #!/bin/sh | |
| export ossl_release=/opt/openssl-1.1.1-release | |
| export C_INCLUDE_PATH=${ossl_release}/include:$C_INCLUDE_PATH | |
| export CPLUS_INCLUDE_PATH=${ossl_release}/include:$CPLUS_INCLUDE_PATH | |
| export LIBRARY_PATH=${ossl_release}/lib:$LIBRARY_PATH | |
| export LD_LIBRARY_PATH=${ossl_release}/lib:$LD_LIBRARY_PATH | |
| export PATH=${ossl_release}/bin:$PATH |
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
| #!/bin/sh | |
| export CROSS_ROOT=/opt/toolchains/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu | |
| export COMPILER_PREFIX=aarch64-linux-gnu- | |
| export AR=${CROSS_ROOT}/bin/${COMPILER_PREFIX}ar | |
| export AS=${CROSS_ROOT}/bin/${COMPILER_PREFIX}as | |
| export LD=${CROSS_ROOT}/bin/${COMPILER_PREFIX}ld | |
| export RANLIB=${CROSS_ROOT}/bin/${COMPILER_PREFIX}ranlib | |
| export CC=${CROSS_ROOT}/bin/${COMPILER_PREFIX}gcc |
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
| Source material: | |
| http://security.stackexchange.com/questions/24444/what-is-the-most-hardened-set-of-options-for-gcc-compiling-c-c | |
| https://wiki.gentoo.org/wiki/Hardened_Gentoo | |
| https://wiki.debian.org/Hardening | |
| ================================================================================================================> | |
| GCC Security related flags and options: | |
| CFLAGS="-fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2" | |
| LDFLAGS="-Wl,-z,now -Wl,-z,relro" |
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
| SYMBOLS = """ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\] ^_`abcdefghijklmnopqrstuvwxyz{|}~""" |
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
| # LINK https://segmentfault.com/a/1190000005356779 | |
| #!/usr/bin/env python | |
| # coding=utf-8 | |
| import sys | |
| import time | |
| start = time.time() | |
| lines = 0 | |
| for each_line in sys.stdin: |
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
| class Test { | |
| constructor() { | |
| this.data = { | |
| name: null, | |
| age: -1, | |
| attr: null | |
| } | |
| } | |
| init() { | |
| this.data = { |
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
| public class ThrowException { | |
| public static void main(String args[]) { | |
| try { | |
| process1(); | |
| } catch (Exception e) { | |
| e.printStackTrace(); | |
| } | |
| } | |
| static void process1() { |
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, b]范围内的随机数据 | |
| * Random numbers in the range of [a,b] | |
| */ | |
| #include <cstdio> | |
| #include <cstdlib> | |
| #include <ctime> | |
| const int MAXN = 1000; | |
| int main() { | |
| int arr[MAXN]; |
NewerOlder