competition-file-parser-chain
यह क्या करती है
यह टूल समझने में मदद करता है कि सिस्टम में अपलोड की गई फ़ाइल को स्टेप-बाय-स्टेप कैसे प्रोसेस किया जाता है। यह फ़ाइल के अंदर आने से लेकर extraction, conversion और parsing से होते हुए आखिरी नतीजे तक का पूरा हिसाब रखता है।
कब इस्तेमाल करें
- ✓जब आप जानना चाहते हों कि अपलोड के बाद फ़ाइल के साथ क्या हुआ।
- ✓यह समझने के लिए कि फ़ाइल सही तरीके से extract या convert हुई या नहीं।
- ✓जब जांचना हो कि कोई खास फ़ाइल सिस्टम में समस्या क्यों पैदा कर रही है।
Skill का लिंक
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-file-parser-chain/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे 'document.zip' अपलोड करने के बाद उसे कैसे प्रोसेस किया गया?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह फ़ाइल प्रोसेसिंग का हर स्टेप रिकॉर्ड करता है: वह कहां अस्थायी रूप से सेव हुई, क्या उसे किसी archive से extract किया गया, क्या उसे दूसरे format में बदला गया, और किस प्रोग्राम ने उसका कंटेंट एनालाइज़ किया। इससे फ़ाइल के सफर का एक 'नक्शा' बन जाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Competition File Parser Chain
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the hard part is following a file from ingress through every parser, extractor, converter, or deserializer boundary that matters.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Preserve the original upload and every derived artifact separately.
- Map the chain in order: ingress, temp storage, archive extraction, format conversion, parser call, deserialization, and final consumer.
- Record filenames, MIME guesses, extensions, temp paths, and parser choices before mutating anything.
- Separate client-visible validation from backend parser behavior.
- Reproduce the smallest file-processing chain that yields the decisive branch or artifact.
Workflow
1. Map File Ingress And Derivation
- Record request shape, multipart names, content type, filename, temp paths, upload staging, and storage keys.
- Note every derived artifact: extracted archive member, converted preview, generated thumbnail, temp document, or deserialized object.
- Keep original file and each derivative labeled separately.
2. Trace Parser And Conversion Boundaries
- Show which parser, converter, extractor, or deserializer runs at each step.
- Record parser-specific decisions driven by extension, MIME, magic bytes, schema, archive member names, or embedded metadata.
- Distinguish parsing success, preview success, conversion success, and business-logic acceptance.
3. Reduce To The Decisive File Chain
- Compress the result to the smallest sequence: upload -> derived artifact -> parser boundary -> resulting effect.
- State clearly whether the decisive weakness lives in archive handling, MIME inference, file conversion, path resolution, or deserialization.
- If the chain becomes mostly a generic async worker problem after enqueue, hand off to the tighter queue or worker skill.
Read This Reference
- Load
references/file-parser-chain.mdfor the ingress checklist, parser checklist, and evidence packaging.
What To Preserve
- Original uploads, derived files, temp paths, storage keys, parser names, and conversion steps
- The exact boundary where backend behavior diverges from user-visible validation
- One minimal replayable file-processing sequence that reaches the decisive effect
अक्सर पूछे जाने वाले सवाल
'deserialization' क्या है?
यह वह प्रक्रिया है जिसमें स्टोरेज या ट्रांसमिशन के लिए बदला गया डेटा (जैसे टेक्स्ट) वापस ऐसे format में लाया जाता है जिसे प्रोग्राम सीधे इस्तेमाल कर सके।
'magic bytes' क्या होते हैं?
ये फ़ाइल की शुरुआत में मौजूद bytes का ऐसा क्रम होते हैं जिससे सिस्टम फ़ाइल का प्रकार पहचान लेता है, भले ही extension (जैसे '.jpg') गलत हो या न हो।
यूज़र को दिखने वाली validation को बैकएंड के व्यवहार से अलग क्यों रखें?
यह समझने के लिए कि समस्या इसलिए है कि यूज़र को गलत error मैसेज दिखा, या असली दिक्कत सिस्टम की उस अंदरूनी प्रोसेसिंग में है जो यूज़र को दिखती नहीं।
जानकारी
लेखक का मूल विवरण
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for file uploads, imports, previews, archive extraction, format conversion, parser invocation, and deserialization chains. Use when the user asks to inspect an upload or import path, trace archive extraction, preview or converter behavior, explain how a file reaches a parser or deserializer, or connect one uploaded artifa
लोकप्रियता
- GitHub स्टार
- 42k
- रैंकिंग में स्थान
- #6427
- लाइसेंस
- MIT
- अपडेट की गई
- 22/9/2026
कमेंट
- …
इस repository की और skills
competition-ad-certificate-abuse
42kयह आपके एजेंट को digital certificate सिस्टम पर होने वाले हमलों का विश्लेषण करने में मदद करता है। जाँच करता है कि certificates का गलत इस्तेमाल करके एक्सेस कैसे पाया जा सकता है।
competition-agent-cloud
42kयह आपके एजेंट को AI और cloud सिस्टम की सुरक्षा चुनौतियों का विश्लेषण करने में मदद करता है। जाँच करता है कि prompts, tools और cloud का गलत फ़ायदा कैसे उठाया जा सकता है।
competition-android-hooking
42kयह आपके एजेंट को Android एप्लिकेशन की जाँच करने में मदद करता है। विश्लेषण करता है कि ऐप अंदर से कैसे काम करते हैं और उन्हें कैसे बदला या exploit किया जा सकता है।
competition-browser-persistence
42kयह आपके एजेंट को समझने में मदद करता है कि वेबसाइटें ब्राउज़र में जानकारी कैसे स्टोर करती हैं। cookies और दूसरे डेटा की जाँच करके सेशन कैसे काम करते हैं, यह समझाता है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।