Giter VIP home page Giter VIP logo

pwned-search's People

Contributors

72zn avatar alexpovel avatar armcc avatar aussidavid avatar baonguyen96 avatar d-chris avatar davidxbors avatar djosh34 avatar dmfabritius avatar elvisimprsntr avatar hackertron avatar jonathancross avatar lvmalware avatar mgessinger avatar micsthepick avatar mikepound avatar mina86 avatar omidnejadabbasi avatar pascalpirate75 avatar pbentes avatar pldg avatar r3ality avatar toonspin avatar vanillajonathan avatar yaf3li avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pwned-search's Issues

Support reading passwords from TXT, CSV files.

Many password managers export to CSV format. That'll make checking in bulk much easier.
CSV isn't that necessary considering you can just copy paste them using any spreadsheet software. But please add TXT support.

Encoding issue when generating SHA (c# code)

Example used 'correct horse battery staple'
Not found when:
byte[] data = sha.ComputeHash(Encoding.Unicode.GetBytes(plaintext));
CC8FA060AEE866AF1D5E829F5A10AFEDEE435577
Found when:
byte[] data = sha.ComputeHash(Encoding.ASCII.GetBytes(plaintext));
ABF7AAD6438836DBE526AA231ABDE2D0EEF74D42
'AD6438836DBE526AA231ABDE2D0EEF74D42:3'

Have not tested the Python, but considering that was the example in the ComputerPhile video I'm guessing that one was tested much more extensively.

!

either the bash or python script works if the passwd contains a "!" exclamation point in it.

Powershell auto-close

After execution the .ps1 terminates promptly. Consider adding some sort of user input at the end of the script, for example:

Write-Host -NoNewLine 'Press any key to continue...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')

Python 2 Compatibility

Since this tool might be used by people other than programmers, complete compatibility with Python2 is a desirable feature. Almost all the code is already backwards compatible and the only (minor) issue is in the two print statements in the main function (line 39 and line 43), which, in Python2, currently print something like

('Password1', 'was found') 

These can be easily modified to use string formatting so as to make the code 100% compatible with Python2 and produce the same results regardless of the version.

In other words, change print(pwd, "was found") to print("{} was found".format(pwd)) and print(pwd, "was not found") to print("{} was not found".format(pwd))

Special Characters and Bash

If you run the program as demonstrated at a Bash command, you could wind up with funky things happening if you have special characters in your password.

If your password is TheyreGreat!!!, and you run python pwned.py TheyreGreat!!!, Bash will interpret the double exclamation points as a call back to the last command run.

If your password is TheyreGreat!$, Bash will interpret the !$ as the last word of the last command run.

If your password is TheyreGreat!100, Bash will interpret the !100 as the hundredth command in your history.

To run the program properly, you'll have to put single quotes around your password if you have special characters in it. Otherwise, the program would need to be rewritten to as for the password as input rather than a command-line argument.

And, TheyreGreat!!! is not found.

passwords hashes are utf-8 not ascii

according to API:

Each password is stored as a SHA-1 hash of a UTF-8 encoded password..

sha1pwd = hashlib.sha1(pwd.encode('utf-8')).hexdigest().upper()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.