Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
troll-a — गोपनीय जानकारी (पासवर्ड, API कुंजियाँ, टोकन) WARC वेब आर्काइव्स से Gitleaks नियमों का उपयोग करके निकालता है। HTTP, S3, स्थानीय फ़ाइलों और संपीड़ित आर्काइव्स को समवर्ती प्रसंस्करण के साथ समर्थन करता है। | Kitploit
उपकरण/GitHubGitHub/crissyfield/troll-a
भेद्यता विश्लेषणजानकारी एकत्र करनाउपयोगिताएँ और फ्रेमवर्कसीक्रेट डिटेक्शन
GitHubcrissyfield/troll-a

troll-a

गोपनीय जानकारी (पासवर्ड, API कुंजियाँ, टोकन) WARC वेब आर्काइव्स से Gitleaks नियमों का उपयोग करके निकालता है। HTTP, S3, स्थानीय फ़ाइलों और संपीड़ित आर्काइव्स को समवर्ती प्रसंस्करण के साथ समर्थन करता है।

रिपॉजिटरी देखें
140111 साल पहलेKitploit द्वारा समीक्षित

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

Troll-A

License: Apache Go Report Card Go Reference

Troll-A एक कमांड लाइन टूल है जो WARC (वेब आर्काइव) फ़ाइलों से पासवर्ड, API कुंजी और टोकन जैसे रहस्य (secrets) निकालने के लिए है। Troll-A वेब आर्काइव में रहस्य खोजने का एक उपयोग में आसान, व्यापक और तेज़ समाधान है।

विशेषताएं

  • प्रोटोकॉल: HTTP/HTTPS के माध्यम से नेटवर्क सर्वर से, Amazon S3 ऑब्जेक्ट स्टोरेज सेवा से, स्थानीय फ़ाइल सिस्टम से, या STDIN से सीधे वेब आर्काइव प्राप्त करने का समर्थन करता है।
  • संपीड़न: GZip, BZip2, XZ, या ZStd से संपीड़ित वेब आर्काइव का समर्थन करता है। ZStd के लिए, यह संपीड़ित डेटा स्ट्रीम में पूर्ववर्ती कस्टम शब्दकोशों (जैसा कि *.megawarc.warc.zst फ़ाइलों में उपयोग किया जाता है) का भी समर्थन करता है।
  • व्यापक: Gitleaks प्रोजेक्ट के युद्ध-परीक्षित नियम सेट का उपयोग करके 166 विभिन्न प्रकार के रहस्यों, टोकन, कुंजियों या अन्य संवेदनशील जानकारी का पता लगाता है।
  • प्रदर्शन: समवर्ती रूप से काम करता है और वैकल्पिक रूप से अनुकूलित रेगुलर एक्सप्रेशन ( go-re2 के माध्यम से) का उपयोग करके AWS c7g.12xlarge पर एक सामान्य Common Crawl वेब आर्काइव (~34.000 पृष्ठ) को 30 सेकंड से कम समय में संसाधित करता है। --filter विकल्प के माध्यम से संसाधित किए जाने वाले WARC रिकॉर्ड को सीमित करके इसे और बेहतर बनाया जा सकता है।
  • वितरण: Troll-A प्रीबिल्ट बाइनरी, Docker इमेज, या स्रोत रूप में वितरित किया जाता है।

स्थापना

Docker

Troll-A Github की कंटेनर रजिस्ट्री पर उपलब्ध है और इसका उपयोग इस प्रकार किया जा सकता है:

root@kitploit:~
docker run --rm ghcr.io/crissyfield/troll-a [flags] [url]

प्रीबिल्ट बाइनरी

Troll-A macOS और Linux के लिए बाइनरी रूप में रिलीज़ पेज पर भी उपलब्ध है।

[!NOTE] Docker इमेज के विपरीत, प्रीबिल्ट बाइनरी Go की Stdlib रेगुलर एक्सप्रेशन का उपयोग करके संकलित की जाती हैं, इसलिए ये काफी धीमी होती हैं। यदि देशी बाइनरी को प्राथमिकता दी जाती है और प्रदर्शन महत्वपूर्ण है, तो स्रोत से बाइनरी बनाने की अनुशंसा की जाती है।

स्रोत से निर्माण

बेहतर प्रदर्शन के लिए, Troll-A को स्रोत से बनाने की अनुशंसा की जाती है, क्योंकि यह go-re2 द्वारा प्रदान किए गए अनुकूलित रेगुलर एक्सप्रेशन इंजन का उपयोग करने की अनुमति देता है। इसके लिए, पहले RE2 निर्भरता स्थापित करनी होगी।

macOS

root@kitploit:~
# Install dependencies
brew install re2

# Install with RE2 activated
go install -tags re2_cgo github.com/crissyfield/[email protected]

Debian / Ubuntu

root@kitploit:~
# Install dependencies
sudo apt install -u build-essential libre2-dev

# Install with RE2 activated
go install -tags re2_cgo github.com/crissyfield/[email protected]

उपयोग

root@kitploit:~
Usage:
  troll-a [flags] [url]

This tool allows to extract (potential) secrets such as passwords, API keys, and tokens
from WARC (Web ARChive) files. Extracted information is output as structured text org
JSON, which simplifies further processing of the data.

"url" can be either a regular HTTP or HTTPS reference ("https://domain/path"), an Amazon
S3 reference ("s3://bucket/path"), a file path (either "file:///path" or simply "path"),
or a dash ("-") to read from STDIN. If "url" is omitted data is read from STDIN. If the
input data is compressed with either GZip, BZip2, XZ, or ZStd it is automatically
decompressed. ZStd with a prepended custom dictionary (as used by "*.megawarc.warc.zstd")
is also handled transparently.

This tool uses rules from the Gitleaks project (https://gitleaks.io) to detect secrets.

Flags:
  -c, --custom stringArray     additional custom rule to apply. Secrets that match the
                               given regular expression (using RE2 syntax) will also be
                               reported. Can be specified multiple times.
  -e, --enclosed               only report secrets that are enclosed within their context
  -f, --filter string          filter for the target URL of each WARC record. Only WARC
                               records that match the given regular expression (using RE2
                               syntax) will be checked for secrets. An empty filter will
                               match everything.
  -h, --help                   help for troll-a
  -j, --jobs uint              detect secrets with this many concurrent jobs (default 8)
  -s, --json                   output detected secrets as JSON
  -p, --preset rules-preset    rules preset to use. This could be one of the following:
                               all:         All known rules will be applied, which can
                                            result in a significant amount of noise for
                                            large data sets.
                               most:        Most of the rules are applied, skipping the
                                            biggest culprits for false positives.
                               secret:      Only rules are applied that are most likely
                                            to result in an actual leak of a secret.
                               none:        No rules at all are applied. This can be used
                                            in combination with custom rules via the
                                            --custom/-c switch.
                               No other values are allowed. (default secret)
  -q, --quiet                  suppress success message(s)
  -r, --retry retry-strategy   retry strategy to use. This could be one of the following:
                               never:       This strategy will fail after the first fetch
                                            failure and will not attempt to retry.
                               constant:    This strategy will attempt to retry up to 5
                                            times, with a 5s delay after each attempt.
                               exponential: This strategy will attempt to retry for 15
                                            minutes, with an exponentially increasing
                                            delay after each attempt.
                               always:      This strategy will attempt to retry forever,
                                            with no delay at all after each attempt.
                               No other values are allowed. (default never)
  -t, --timeout duration       fetching timeout (does not apply to files) (default 30m0s)
  -v, --version                version for troll-a

उदाहरण

Common Crawl

Common Crawl एक मुफ्त, खुला वेब क्रॉल डेटा का भंडार बनाए रखता है जिसका उपयोग कोई भी कर सकता है। Common Crawl कॉर्पस में 2008 से नियमित रूप से एकत्र किया गया पेटाबाइट डेटा शामिल है।

उदाहरण के लिए, नवंबर/दिसंबर 2023 क्रॉल (जिसे CC-MAIN-2023-50 कहा जाता है) के सभी 3.35 बिलियन पृष्ठों से रहस्य निकालने के लिए, आप यह कर सकते हैं:

root@kitploit:~
# Download the list of all 90.000 WARC paths
curl -sSL -O https://data.commoncrawl.org/crawl-data/CC-MAIN-2023-50/warc.paths.gz

# Iterate through all paths using 64 scanning jobs, output matches as JSON
gzcat warc.paths.gz | \
xargs -I{} -- troll-a -e -s -j64 https://data.commoncrawl.org/{} > secrets.json

[!WARNING] इसमें बहुत समय लगेगा! आपके हार्डवेयर और इंटरनेट कनेक्शन के आधार पर, इसमें एक सप्ताह से लेकर कई महीनों तक का समय लग सकता है। आप इस उदाहरण को केवल warc.paths.gz की पहली कुछ पंक्तियों के लिए चलाना चाह सकते हैं।

Internet Archive

Archive Team एक समूह है जो डिजिटल संरक्षण और वेब आर्काइविंग के लिए समर्पित है, जिसकी स्थापना 2009 में हुई थी। वेब आर्काइव WARC फ़ाइलों (अधिक विशेष रूप से, MegaWARC प्रारूप में) के रूप में संग्रहीत किए जाते हैं और Internet Archive के माध्यम से उपलब्ध कराए जाते हैं।

उदाहरण के लिए, अप्रैल 2023 में Archive Team द्वारा pastebin.com से क्रॉल किए गए 113,372 पृष्ठों से रहस्य निकालने के लिए (यहां Internet Archive पर संबंधित प्रकाशन है), आप यह कर सकते हैं:

root@kitploit:~
# Call troll-a directly with the MegaWARC URL
troll-a -e https://archive.org/download/archiveteam_pastebin_20230421003309_a3b951b4/pastebin_20230421003309_a3b951b4.1603050931.megawarc.warc.zst

...जिसके परिणामस्वरूप...

root@kitploit:~
Detected: secret="acf30fb56amsh654fa8104418601p1e420cjsn3152a0032f0b" rule="rapidapi-access-token" uri="https://pastebin.com/raw/bKMJXkQE" line=36 column=15
Detected: secret="acf30fb56amsh654fa8104418601p1e420cjsn3152a0032f0b" rule="rapidapi-access-token" uri="https://pastebin.com/raw/bKMJXkQE" line=36 column=15
Detected: secret="acf30fb56amsh654fa8104418601p1e420cjsn3152a0032f0b" rule="rapidapi-access-token" uri="https://pastebin.com/raw/nferefe2" line=37 column=6
Detected: secret="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" rule="github-pat" uri="https://pastebin.com/print/cQEA2GCS" line=39 column=123
Detected: secret="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" rule="github-pat" uri="https://pastebin.com/embed_js/cQEA2GCS" line=11 column=2688
Detected: secret="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" rule="github-pat" uri="https://pastebin.com/embed_iframe/cQEA2GCS?theme=dark" line=49 column=123
Detected: secret="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" rule="github-pat" uri="https://pastebin.com/cQEA2GCS" line=222 column=123
Detected: secret="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" rule="github-pat" uri="https://pastebin.com/raw/cQEA2GCS" line=22 column=22
Detected: secret="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" rule="github-pat" uri="https://pastebin.com/embed_iframe/cQEA2GCS" line=48 column=123
Detected: secret="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" rule="github-pat" uri="https://pastebin.com/embed_js/cQEA2GCS?theme=dark" line=11 column=2796
Detected: secret="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" rule="github-pat" uri="https://pastebin.com/clone/cQEA2GCS" line=152 column=27
Success: Processed https://archive.org/download/archiveteam_pastebin_20230421003309_a3b951b4/pastebin_20230421003309_a3b951b4.1603050931.megawarc.warc.zst (113372 records)

श्रेय

वास्तविक रहस्यों का पता लगाने के लिए उपयोग किए जाने वाले नियमों का सेट Gitleaks प्रोजेक्ट का हिस्सा है। हम इस सारी जानकारी को संकलित करने में उनके द्वारा किए गे जबरदस्त कार्य के लिए बहुत आभारी हैं!

नाम के पीछे क्या है?

Troll A प्लेटफ़ॉर्म नॉर्वे के पश्चिमी तट पर Troll गैस क्षेत्र में एक प्राकृतिक गैस प्लेटफ़ॉर्म है। 2014 तक, यह सबसे ऊंची संरचना थी जिसे कभी पृथ्वी की सतह के सापेक्ष किसी अन्य स्थान पर ले जाया गया था, और यह इतिहास में सबसे बड़ी और सबसे जटिल इंजीनियरिंग परियोजनाओं में से एक है। 1996 में, प्लेटफ़ॉर्म ने सबसे बड़े अपतटीय गैस प्लेटफ़ॉर्म के लिए गिनीज वर्ल्ड रिकॉर्ड बनाया।

[!NOTE] जबकि हम प्राकृतिक संसाधनों के दोहन को गहराई से नापसंद करते हैं, हम इंजीनियरिंग उपलब्धि की सराहना करते हैं!

टूल डाउनलोड करें