منصوبے کے بارے میں

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