Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60619

Re: Cracking hashes with Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.060
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'example:': 0.03; 'subject:Python': 0.06; 'matches': 0.07; 'definition,': 0.09; '"md5': 0.16; 'does,': 0.16; 'hashlib': 0.16; 'it;': 0.16; 'wrote:': 0.18; "skip:' 30": 0.19; '>>>': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'values': 0.27; 'header:In-Reply- To:1': 0.27; "doesn't": 0.30; '(which': 0.31; 'usually': 0.31; 'marc': 0.31; 'figure': 0.32; 'subject:with': 0.35; 'common': 0.35; 'tool': 0.35; 'there': 0.35; 'received:192.168.2': 0.37; 'represent': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'most': 0.60; 'here:': 0.62; 'complete': 0.62; 'received:62': 0.63; 'here': 0.66; 'url:co': 0.67; 'received:192.168.13': 0.84; 'received:62.179': 0.84; 'received:62.179.121': 0.84; 'received:upcmail.net': 0.84; 'have.': 0.93
X-SourceIP 89.134.227.148
Date Wed, 27 Nov 2013 16:31:21 +0100
From Laszlo Nagy <gandalf@shopzeus.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version 1.0
To python-list@python.org
Subject Re: Cracking hashes with Python
References <mailman.16458.1385423275.18129.python-list@python.org> <025c01ceea3a$47d07690$d77163b0$@org>
In-Reply-To <025c01ceea3a$47d07690$d77163b0$@org>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3308.1385567259.18130.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385567259 news.xs4all.nl 15929 [2001:888:2000:d::a6]:45691
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60619

Show key headers only | View raw


On 2013-11-26 00:58, Marc wrote:
> Hashes, by definition, are not reversible mathematically.  The only way to
> figure out what they represent is to take plaintext that might be the
> plaintext based on anything you might know about the original plaintext
> (which is often nothing) and hash it; then see if the hash matches the one
> you have.  If it does, you have figured out the plaintext; if it doesn't try
> again.  For a tool that does this, look at Rainbow tables.
There are also complete hash databases on the internet. They usually 
reverse-map hash values to most common values found in dictionaries.

Here is an example:

 >>> import hashlib
 >>> h = hashlib.md5("test")
 >>> h.hexdigest()
'098f6bcd4621d373cade4e832627b4f6'
 >>>


Then you go here:

http://www.md5decrypter.co.uk/

There are many other databases like this, search for them with "md5 
search" or "sha1 database" etc.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Cracking hashes with Python Laszlo Nagy <gandalf@shopzeus.com> - 2013-11-27 16:31 +0100

csiph-web