Giter Site home page Giter Site logo

xkcd_1286's Introduction

XKCD 1286

Based on the comic strip. A "tool" for exploring and solving passwords based on hints and inter-password shared character sequences.

I got bored with it though, since guessing passwords isn't that fun when you can't really know if you are right or wrong.

The code itself is pretty solid, but it is not in a really enduser-friendly state.

Why?

For fun. That's how I roll.

How?

Handling 10 GiB of text was kind of tricky. I thought I could just dump it all in a relational database and play around with it from there, but it turns out 250 million rows with multiple joins was more than my laptop could handle with any reasonable speed.

I ended up distilling out only the data I needed with some bash scripting and minimal scripts to massage text streams. After throwing away the more uncommon passwords, that gave me a few hundred megabytes of password hints, and some 6 MiB of password frequency data. This preprocessing step takes about 2 hours, compared to over 24 hours to just import a CSV file into Postgres/MySQL.

The frequency data and solutions can easily be handled by a relational database, while the hints can easily be read from text files named by the password hash.

Isn't this a huge security risk?

Not really. It was a long time ago, and the passwords aren't really difficult to guess manually, when there are hints like "drowssap backwards + 1".

xkcd_1286's People

Watchers

James Cloos avatar David Bornstein avatar

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.