Downloading/Saving to a Directory

2013-11-28 Thread TheRandomPast .
Hi, I've created a script that allows me to see how many images are on a webpage and their URL however now I want to download all .jpg images from this website and save them onto my computer. I've never done this before and I've become a little confused as to where I should go next. Can some kind

Re: Cracking hashes with Python

2013-11-27 Thread TheRandomPast .
Hi, So apparently when I've been staring at code all day and tired my brain doesn't tell my hands to type half of what I want it to. I apologise for my last post. This is my code; import md5 import sys characters=range(48,57)+range(65,90)+range(97,122) def chklength(hash): if len(hash) !=

Re: Cracking hashes with Python

2013-11-26 Thread TheRandomPast .
_force() else: if(option==0): File=open("dict.txt") chklength() dictionary() else: print "You picked wrong!" IT WORKS! ...(Almost) My chklength isn't working. Can anyone see why not? I'm stumped. On Tu

Re: Cracking hashes with Python

2013-11-26 Thread TheRandomPast .
Thanks. I'll take that on board and let you know how I get on. Thanks for all your help. On Tue, Nov 26, 2013 at 2:46 PM, Chris Angelico wrote: > On Wed, Nov 27, 2013 at 1:18 AM, TheRandomPast . > wrote: > > This is my code. I hope it looks better? I'm sorry if it

Re: Cracking hashes with Python

2013-11-26 Thread TheRandomPast .
uot;: sys.exit(0)[/code] print "\n",len(words),"words loaded…" (This line now throws up an error where it wasn't before: TypeError: object of type 'file' has no len() - I'm guessing this is because it's not picking up my file but I can't see why it

Re: Cracking hashes with Python

2013-11-26 Thread TheRandomPast .
lection = raw_input('\nSelect an option from above: ') >sys.stdout.flush() >if selection == "1": >dict_attack() >pass >elif selection == "2": >sys.exit(0 On Tue, Nov 26, 2013 at 10:39 AM, Chris Angelico wrote: > On Tue, Nov 26, 201

Re: Cracking hashes with Python

2013-11-26 Thread TheRandomPast
alue. You can see the tool at  > http://www.md5crack.com/home. > > Yatong > > > > From: st...@pearwood.info > > Subject: Re: Cracking hashes with Python > > Date: Tue, 26 Nov 2013 02:55:58 + > > To: pytho...@python.org > > > > On Mon, 25 Nov 2

Re: Cracking hashes with Python

2013-11-25 Thread TheRandomPast
On Monday, 25 November 2013 23:47:52 UTC, Chris Angelico wrote: > On Tue, Nov 26, 2013 at 10:32 AM, TheRandomPast wrote: > > > I have a school project to do where I've to download MD5 Hashes from a > > particular website and write a code that will crack them. Does anyo

Cracking hashes with Python

2013-11-25 Thread TheRandomPast
Hi, I have a school project to do where I've to download MD5 Hashes from a particular website and write a code that will crack them. Does anyone know where I'll find out more information on how to do this? There's only 4 hashes that I need to do so it doesn't have to be a large script just nee

Web Page Parsing/Downloading

2013-11-22 Thread TheRandomPast
Hi. I'm self taught at Python and I used http://www.codecademy.com/ to learn which was great help i must say but now, I'm attempting it all on my own and need a little help? I have three scripts and this is what I'm trying to do with them; Download from webpage Parse Links from Page Output su