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

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

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

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

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

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
unfurl — stdin पर प्रदान किए गए URL के अंश निकालें | Kitploit
उपकरण/GitHubGitHub/tomnomnom/unfurl
सामान्य उपयोगिताएँटोहीजानकारी एकत्र करना
GitHubtomnomnom/unfurl

unfurl

stdin पर प्रदान किए गए URL के अंश निकालें

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

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

सभी देखें →

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

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

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

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

unfurl

stdin पर दिए गए URL के भाग निकालें

इंस्टॉलेशन

यदि आपके पास Go इंस्टॉल और कॉन्फ़िगर है:

root@kitploit:~
▶ go install github.com/tomnomnom/unfurl@latest

अन्यथा अपने प्लेटफ़ॉर्म के लिए नवीनतम बाइनरी डाउनलोड करें, इसे निकालें और इसे अपने $PATH में किसी स्थान पर ले जाएँ (जैसे /usr/bin/):

root@kitploit:~
▶ wget https://github.com/tomnomnom/unfurl/releases/download/v0.0.1/unfurl-linux-amd64-0.0.1.tgz
▶ tar xzf unfurl-linux-amd64-0.0.1.tgz
▶ sudo mv unfurl /usr/bin/

उपयोग

unfurl stdin पर दिए गए URL के साथ काम करता है; वे इस जैसी किसी फ़ाइल से आ सकते हैं:

root@kitploit:~
▶ cat urls.txt
https://sub.example.com/users?id=123&name=Sam
https://sub.example.com/orgs?org=ExCo#about
http://example.net/about#contact

डोमेन

आप domains मोड की मदद से URL से डोमेन निकाल सकते हैं:

root@kitploit:~
▶ cat urls.txt | unfurl domains
sub.example.com
sub.example.com
example.net

यदि आप डुप्लिकेट मान आउटपुट नहीं करना चाहते हैं तो आप -u या --unique फ़्लैग का उपयोग कर सकते हैं:

root@kitploit:~
▶ cat urls.txt | unfurl --unique domains
sub.example.com
example.net

-u/--unique फ़्लैग सभी मोड के लिए काम करता है।

Apex डोमेन

आप apexes मोड का उपयोग करके डोमेन का apex भाग निकाल सकते हैं (जैसे http://sub.example.com में example.com):

root@kitploit:~
▶ cat urls.txt | unfurl -u apexes
example.com
example.net

पथ

root@kitploit:~
▶ cat urls.txt | unfurl paths
/users
/orgs
/about

क्वेरी स्ट्रिंग कुंजियाँ

root@kitploit:~
▶ cat urls.txt | unfurl keys
id
name
org

क्वेरी स्ट्रिंग मान

root@kitploit:~
▶ cat urls.txt | unfurl values
123
Sam
ExCo

क्वेरी स्ट्रिंग कुंजी/मान जोड़े

root@kitploit:~
▶ cat urls.txt | unfurl keypairs
id=123
name=Sam
org=ExCo

JSON

root@kitploit:~
▶ cat urls.txt | unfurl json
{"scheme":"https","opaque":"","user":"","host":"sub.example.com","path":"/users","raw_path":"","raw_query":"id=123\u0026name=Sam","fragment":"","parameters":[{"key":"id","value":"123"},{"key":"name","value":"Sam"}],"url":"https://sub.example.com/users?id=123\u0026name=Sam","domain":"sub.example.com","subdomain":"sub","root":"example","tld":"com","apex":"example.com","port":"","extension":""}
{"scheme":"https","opaque":"","user":"","host":"sub.example.com","path":"/orgs","raw_path":"","raw_query":"org=ExCo","fragment":"about","parameters":[{"key":"org","value":"ExCo"}],"url":"https://sub.example.com/orgs?org=ExCo#about","domain":"sub.example.com","subdomain":"sub","root":"example","tld":"com","apex":"example.com","port":"","extension":""}
{"scheme":"http","opaque":"","user":"","host":"example.net","path":"/about","raw_path":"","raw_query":"","fragment":"contact","parameters":null,"url":"http://example.net/about#contact","domain":"example.net","subdomain":"","root":"example","tld":"net","apex":"example.net","port":"","extension":""}

कस्टम फ़ॉर्मेट

आप कस्टम आउटपुट फ़ॉर्मेट निर्दिष्ट करने के लिए format मोड का उपयोग कर सकते हैं:

root@kitploit:~
▶ cat urls.txt | unfurl format %d%p
sub.example.com/users
sub.example.com/orgs
example.net/about

उपलब्ध फ़ॉर्मेट निर्देश हैं:

root@kitploit:~
%%  एक शाब्दिक प्रतिशत वर्ण
%s  अनुरोध स्कीम (जैसे https)
%u  उपयोगकर्ता जानकारी (जैसे user:pass)
%d  डोमेन (जैसे sub.example.com)
%S  सबडोमेन (जैसे sub)
%r  डोमेन का रूट (जैसे example)
%t  TLD (जैसे com)
%P  पोर्ट (जैसे 8080)
%p  पथ (जैसे /users)
%e  पथ की फ़ाइल एक्सटेंशन (जैसे jpg, html)
%q  कच्ची क्वेरी स्ट्रिंग (जैसे a=1&b=2)
%f  पेज फ़्रैगमेंट (जैसे page-section)
%@  यदि उपयोगकर्ता जानकारी निर्दिष्ट है तो @ डालता है
%:  यदि पोर्ट निर्दिष्ट है तो कोलन डालता है
%?  यदि क्वेरी स्ट्रिंग मौजूद है तो प्रश्न चिह्न डालता है
%#  यदि फ़्रैगमेंट मौजूद है तो हैश डालता है
%a  Authority (`%u%@%d%:%P` का उपनाम)

जो भी वर्ण किसी फ़ॉर्मेट निर्देश से मेल नहीं खाते, वे बिना बदले रहते हैं:

root@kitploit:~
▶ cat urls.txt | unfurl -u format "%d (%s)"
sub.example.com (https)
example.net (http)

ध्यान दें कि यदि किसी URL में अनुरोधित डेटा शामिल नहीं है, तो उस URL के लिए कोई आउटपुट नहीं होगा:

root@kitploit:~
▶ echo http://example.com | unfurl format "%P"
▶ echo http://example.com:8080 | unfurl format "%P"
8080

सहायता

root@kitploit:~
▶ unfurl -h
Format URLs provided on stdin

Usage:
  unfurl [OPTIONS] [MODE] [FORMATSTRING]

Options:
  -u, --unique   Only output unique values
  -v, --verbose  Verbose mode (output URL parse errors)

Modes:
  keys     Keys from the query string (one per line)
  values   Values from the query string (one per line)
  keypairs Key=value pairs from the query string (one per line)
  domains  The hostname (e.g. sub.example.com)
  paths    The request path (e.g. /users)
  apexes   The apex domain (e.g. example.com from sub.example.com)
  json     JSON encoded url/format objects
  format   Specify a custom format (see below)

Format Directives:
  %%  A literal percent character
  %s  The request scheme (e.g. https)
  %u  The user info (e.g. user:pass)
  %d  The domain (e.g. sub.example.com)
  %S  The subdomain (e.g. sub)
  %r  The root of domain (e.g. example)
  %t  The TLD (e.g. com)
  %P  The port (e.g. 8080)
  %p  The path (e.g. /users)
  %e  The path's file extension (e.g. jpg, html)
  %q  The raw query string (e.g. a=1&b=2)
  %f  The page fragment (e.g. page-section)
  %@  Inserts an @ if user info is specified
  %:  Inserts a colon if a port is specified
  %?  Inserts a question mark if a query string exists
  %#  Inserts a hash if a fragment exists
  %a  Authority (alias for %u%@%d%:%P)

Examples:
  cat urls.txt | unfurl keys
  cat urls.txt | unfurl format %s://%d%p?%q
टूल डाउनलोड करें