
أداة سريعة لتعداد النطاقات الفرعية بشكل سلبي.
الميزات • التثبيت • الاستخدام • إعداد API • المكتبة • انضم إلى Discord
subfinder هي أداة لاكتشاف النطاقات الفرعية، تُرجع النطاقات الفرعية الصالحة للمواقع الإلكترونية باستخدام مصادر سلبية عبر الإنترنت. تتميز ببنية معيارية بسيطة ومحسّنة للسرعة. صُمم subfinder للقيام بشيء واحد فقط - التعداد السلبي للنطاقات الفرعية - وهو يؤدي هذه المهمة على أكمل وجه.
لقد صممناه ليتوافق مع جميع تراخيص المصادر السلبية المستخدمة وقيود الاستخدام الخاصة بها. يضمن النموذج السلبي السرعة والتخفي اللذين يمكن لمختبرِي الاختراق وصيادي مكافآت الثغرات (bug bounty) الاستفادة منهما على حد سواء.
subfinder -h
سيعرض هذا رسالة المساعدة الخاصة بالأداة. فيما يلي جميع الخيارات (switches) التي تدعمها.
Usage:
./subfinder [flags]
Flags:
INPUT:
-d, -domain string[] domains to find subdomains for
-dL, -list string file containing list of domains for subdomain discovery
SOURCE:
-s, -sources string[] specific sources to use for discovery (-s crtsh,github). Use -ls to display all available sources.
-recursive use only sources that can handle subdomains recursively (e.g. subdomain.domain.tld vs domain.tld)
-all use all sources for enumeration (slow)
-es, -exclude-sources string[] sources to exclude from enumeration (-es alienvault,zoomeyeapi)
FILTER:
-m, -match string[] subdomain or list of subdomain to match (file or comma separated)
-f, -filter string[] subdomain or list of subdomain to filter (file or comma separated)
RATE-LIMIT:
-rl, -rate-limit int maximum number of http requests to send per second
-rls value maximum number of http requests to send per second for providers in key=value format (-rls "hackertarget=10/s,shodan=15/s")
-t int number of concurrent goroutines for resolving (-active only) (default 10)
UPDATE:
-up, -update update subfinder to latest version
-duc, -disable-update-check disable automatic subfinder update check
OUTPUT:
-o, -output string file to write output to
-oJ, -json write output in JSONL(ines) format
-oD, -output-dir string directory to write output (-dL only)
-cs, -collect-sources include all sources in the output (-json only)
-oI, -ip include host IP in output (-active only)
CONFIGURATION:
-config string flag config file (default "$CONFIG/subfinder/config.yaml")
-pc, -provider-config string provider config file (default "$CONFIG/subfinder/provider-config.yaml")
-r string[] comma separated list of resolvers to use
-rL, -rlist string file containing list of resolvers to use
-nW, -active display active subdomains only
-proxy string http proxy to use with subfinder
-ei, -exclude-ip exclude IPs from the list of domains
-mr, -max-results int limit the number of results per source (0 = unlimited; honored by paginating sources)
DEBUG:
-silent show only subdomains in output
-version show version of subfinder
-v show verbose output
-nc, -no-color disable color in output
-ls, -list-sources list all available sources (-oJ for JSON)
OPTIMIZATION:
-timeout int seconds to wait before timing out (default 30)
-max-time int minutes to wait for enumeration results (default 10)
يدعم Subfinder متغيرات البيئة لتحديد مسارات مخصصة لملفات الإعداد:
SUBFINDER_CONFIG - المسار إلى ملف config.yaml (يتجاوز الإعداد الافتراضي $CONFIG/subfinder/config.yaml)SUBFINDER_PROVIDER_CONFIG - المسار إلى ملف provider-config.yaml (يتجاوز الإعداد الافتراضي $CONFIG/subfinder/provider-config.yaml)يتطلب تثبيت subfinder بنجاح إصدار go1.24. شغّل الأمر التالي لتثبيت أحدث إصدار:
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
تعرّف على المزيد من طرق تثبيت subfinder هنا: https://docs.projectdiscovery.io/tools/subfinder/install.
يمكن استخدام subfinder فورًا بعد التثبيت، ومع ذلك تتطلب العديد من المصادر مفاتيح API للعمل. تعرّف على المزيد هنا: https://docs.projectdiscovery.io/tools/subfinder/install#post-install-configuration.
تعرّف على كيفية تشغيل Subfinder هنا: https://docs.projectdiscovery.io/tools/subfinder/running.
يمكن أيضًا استخدام Subfinder كمكتبة، وتتوفر أمثلة بسيطة لاستخدام حزمة تطوير Subfinder (SDK) هنا
صُنع subfinder مع 🖤 بواسطة فريق projectdiscovery. لقد جعلت إسهامات المجتمع المشروع على ما هو عليه. اطّلع على ملف THANKS.md لمزيد من التفاصيل.
اقرأ إخلاء المسؤولية عن الاستخدام في DISCLAIMER.md وتواصل معنا لأي طلب إزالة API.