Git Product home page Git Product logo

greeklish-wordlist-generator's Introduction

Greeklish wordlist generator

This ugly ass code, takes as an input a greek wordlist and produces a greeklish wordlist. The product of this code is intended to crack passwords for our pentester friends. There are many projects that do that out there like https://github.com/iam1980/greeklish-wordlist but those do only simple character substitutions which was not enough for me. People write words in very weird ways.

Goals:

  • Find every conceivable way that someone might write a greek work in greeklish and add them all to the final wordlist.
  • Create a simple wordlist, no enrichment is done to the final words. (Capitalize first later, replace a with @, put 1 or ! in the end, add 2020 etc). Tools like john the ripper and hashcat do that very well on the fly, no need to fill my hard disks with pregenerated lists.

Usually my code is much prettier, but alas my time is limited now, so I don't have time to make it pretty - nor I care to - it just works. Hopefully you will never have to run it, I provide a link to the generated wordlist below.

How to run

Install leveldb: sudo apt-get install libleveldb-dev php-dev Then follow the instructions here to install php-leveldb: https://github.com/reeze/php-leveldb.git

Then simply edit the first line with your wordlist:

$inputWordlist = "gr_utf8.txt"; Then run: php run.php Then let if finish. It will produce a file named output.gz

To extract it: gunzip output.gz

This file contains all permutations and a small percentage of words with greek characters. To clear them out:

grep -v -P "[^\x00-\x7F]" output > output_clean

The process would be much faster using hashmap in memory, but the wordlist was pretty big my RAM was not enough, so I resorted to leveldb which is slower, but has very low memory requirements for any size wordlist.

Example wordlist

Input:

Example Output

You can download the generated wordlist here: https://nikos.glikis.net/files/output_final.gz

greeklish-wordlist-generator's People

Contributors

nikos-glikis avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  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.