इस प्रोजेक्ट के बारे में

pwned एक कमांड-लाइन टूल है जो hibp Node.js मॉड्यूल का उपयोग करके Troy Hunt की 'Have I been pwned?' सेवा से इंटरफ़ेस करता है। यह उपयोगकर्ताओं को यह जाँचने की सुविधा देता है कि उनके खाते या ईमेल पते ज्ञात डेटा उल्लंघनों में शामिल हुए हैं या नहीं, पेस्ट खोजना, पासवर्ड एक्सपोज़र सत्यापित करना, और उल्लंघन की जानकारी प्राप्त करना। ## इंस्टॉलेशन npm के माध्यम से ग्लोबली इंस्टॉल करें: ```shell npm install pwned -g ``` या npx के साथ ऑन-डिमांड चलाएँ: ```shell npx pwned ``` ## संरक्षित कमांड 18 जुलाई 2019 से, कुछ API एंडपॉइंट के लिए API कुंजी आवश्यक है। `ba`, `pa`, और `search` जैसे कमांड को प्रमाणीकरण की आवश्यकता होती है। [haveibeenpwned.com/API/Key](https://haveibeenpwned.com/API/Key) से API कुंजी प्राप्त करें और इसे `pwned apiKey` से कॉन्फ़िगर करें। अन्य कमांड बिना कुंजी के काम करते हैं। ## उपयोग ``` pwned <command> Commands: pwned apiKey [key] set the API key for authenticated requests pwned ba <account|email> get all breaches for an account pwned bd <domain> get all breached email addresses for a domain pwned breach <name> get a single breached site by breach name pwned breaches get all breaches in the system pwned dc get all data classes in the system pwned lb get the most recently added breach pwned pa <email> get all pastes for an account pwned pw <password> securely check a password for public exposure pwned sd get all subscribed domains for your account pwned search <account|email> search breaches and pastes for an account pwned slbe <email> get all stealer log domains for an email address pwned slbed <email-domain> get all stealer log email aliases for an email domain pwned slbwd <website-domain> get all stealer log email addresses for a website domain pwned subStatus get the subscription status of your API key Options: -h, --help Show help -v, --version Show version number ``` ## उदाहरण - किसी खाते के उल्लंघन जाँचें: `pwned ba email@example.com` - डोमेन द्वारा फ़िल्टर किए गए सभी उल्लंघन सूचीबद्ध करें: `pwned breaches -d adobe.com` - एक विशिष्ट उल्लंघन प्राप्त करें: `pwned breach MyCompany` - डेटा क्लासेस को रॉ JSON के रूप में प्राप्त करें: `pwned dc --raw` - किसी ईमेल के पेस्ट जाँचें: `pwned pa nobody@nowhere.com` - पासवर्ड एक्सपोज़र जाँचें: `pwned pw Password1234` - उल्लंघन और पेस्ट खोजें: `pwned search nobody` ## लाइसेंस MIT License