JacobJacob / findmyhash

Automatically exported from code.google.com/p/findmyhash
0 stars 0 forks source link

Service addition #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It's possible to easily add the LM Cracking service at 
https://www.objectif-securite.ch/en/products.php#demo

The following python function will return the hash from this service:

import urllib2,re
def gethash(lmnthash) :
    preurl="https://www.objectif-securite.ch/en/products.php?hash="
    posturl="#demo"
    #requires hash in format lm:nt or just lm
    url=preurl+lmnthash+posturl
    ret=urllib2.urlopen(url).read()
    ret=ret.split('\n')
    passline=[line for line in ret if 'assword' in line][-3]
    passwd=re.findall("<b>[^<]*</b>",passline)[1][3:-4]
    return passwd

Original issue reported on code.google.com by pink.ban...@gmail.com on 28 Apr 2012 at 1:06

GoogleCodeExporter commented 9 years ago
Please remove

Original comment by pink.ban...@gmail.com on 28 Apr 2012 at 2:07

GoogleCodeExporter commented 9 years ago
That website was cancelled. It was included in the first version of findmyhash 
and the new version already uses the new website.

Original comment by julg...@gmail.com on 29 Jan 2013 at 12:06