
साझा पासवर्ड का पता लगाने के लिए एक कमांड लाइन टूल
एक कमांड लाइन टूल जो साझा पासवर्ड का पता लगाता है
विकल्प सूचीबद्ध करें:
Shard (1.5) can run in 3 modes:
1) Single user single password - Use -u and -p
2) Single user multiple passwords - Use -u and -f
3) Multiple users and multple passwords - Use -f only
For more detailed usage examples see the wiki.
Usage: java -jar shard-1.5.jar [options]
-u, --username <value> Username to test
-p, --password <value> Password to test
-f, --file <value> A path to a file containing a set of credentials or passwords
--format <value> The format of the credentials. Must be a regular expression with 2 capture groups. The first capture group for the username and the second capture group for the password. Defaults to a regex that will match:
"username":"password"
-l, --list List available modules
-v, --version Print the version
--modules <value> Only run specific modules. A comma separated list
--help Prints this usage text
उपलब्ध मॉड्यूल सूचीबद्ध करें:
$ java -jar shard.jar -l
Available modules:
Facebook
LinkedIn
Reddit
Twitter
Instagram
GitHub
BitBucket
Kijiji
DigitalOcean
Vimeo
Laposte
DailyMotion
एक उपयोगकर्ता नाम और पासवर्ड दिए जाने पर, shard कई साइटों पर प्रमाणीकरण का प्रयास करेगा:
$ java -jar shard.jar -u username-here -p password-here
21:16:25.950 [+] Running in single credential mode
21:16:30.302 [+] username-here:password-here - Reddit, Instagram
एकाधिक क्रेडेंशियल्स का परीक्षण करने के लिए एक फ़ाइल नाम प्रदान करें। डिफ़ॉल्ट रूप से यह प्रति पंक्ति एक क्रेडेंशियल की उम्मीद करता है जो "username":"password" प्रारूप में हो। कस्टम प्रारूप --format विकल्प के साथ प्रदान किए जा सकते हैं।
$ java -jar shard.jar -f /tmp/creds.txt
21:16:39.501 [+] Running in multi-credential mode
21:16:39.516 [+] Parsed 2 credentials
21:16:42.794 [+] username1:password1 - Reddit, Instagram
21:16:45.189 [+] username2:password2 - Facebook, LinkedIn, Twitter
नवीनतम रिलीज़ को रिलीज़ टैब से प्राप्त करें, जिसे sbt असेंबली का उपयोग करके एक फैट जार के रूप में बनाया गया था।
या
इसे स्वयं sbt का उपयोग करके बनाएँ, sbt assembly
एक नया मॉड्यूल जोड़ना आसान है। एक नया वर्ग बनाएँ जो मॉड्यूल पैकेज में AbstractModule से इनहेरिट करता है और मॉड्यूल को ModuleFactory में जोड़ें।
AbstractModule में एक एब्सट्रैक्ट विधि है:
def tryLogin(creds: Credentials): Boolean
यह विधि एक Credentials ऑब्जेक्ट लेती है और एक बूलियन लौटाती है जो सफल लॉगिन को इंगित करती है। मैं TwitterModule को एक टेम्पलेट के रूप में उपयोग करने की सलाह देता हूँ। एक नया मॉड्यूल जोड़ने की विस्तृत व्याख्या के लिए विकी पर उदाहरण देखें।
निर्भरताएँ:
यदि Scala आपकी पसंद नहीं है तो secondary_implementations देखें, ये अन्य भाषाओं में shard के पुनर्लेखन हैं। यदि आप इनमें से किसी एक कार्यान्वयन में एक मॉड्यूल जोड़ते हैं, तो मैं इसे Scala में फिर से लिखूंगा और मुख्य प्रोजेक्ट में भी जोड़ूंगा।
मुझसे संपर्क करें, Gitter कक्ष में शामिल हों, या इस GitHub प्रोजेक्ट का उपयोग करें
इस प्रोजेक्ट का आनंद ले रहे हैं? 1EpSQumsD2EFKnisJXjStsUVsXpF4ge8dj को दान करने पर विचार करें