[Tutor] Password decoding (was Re: Fwd:)

2016-01-18 Thread Alan Gauld
On 18/01/16 13:06, Deepak Nn wrote: > Please provide a python program to run a program (.exe) and get Hash > *exactly* as : > > 160 106 182 190 228 64 68 207 248 109 67 88 41 .The username to be > used is admin > .The *password* is what to be found out .The hash provided is of the > correct pass

Re: [Tutor] password loop

2011-09-27 Thread Wayne Werner
On Fri, Sep 23, 2011 at 5:56 PM, ADRIAN KELLY wrote: > Can anyone help me with the programme below; i hope you can see what i am > trying to do, if i enter the wrong password the loop goes on forever and if > i enter the right one nothing is printed... > i am a newbieall comments welc

Re: [Tutor] password loop

2011-09-23 Thread Steven D'Aprano
ADRIAN KELLY wrote: Can anyone help me with the programme below; i hope you can see what i am trying to do, if i enter the wrong password the loop goes on forever and if i enter the right one nothing is printed... i am a newbieall comments welcome thanks adrian p

Re: [Tutor] password loop

2011-09-23 Thread Steve Willoughby
On 23-Sep-11 15:56, ADRIAN KELLY wrote: Can anyone help me with the programme below; i hope you can see what i am trying to do, if i enter the wrong password the loop goes on forever and if i enter the right one nothing is printed... i am a newbieall comments welcome Remember that r

Re: [Tutor] password loop

2011-09-23 Thread eire1130
uming when it is false that it prints 'try again' infinitely. Sent from my Verizon Wireless BlackBerry -Original Message- From: ADRIAN KELLY Sender: tutor-bounces+eire1130=gmail@python.org Date: Fri, 23 Sep 2011 22:56:46 To: Subject: [Tutor

[Tutor] password loop

2011-09-23 Thread ADRIAN KELLY
Can anyone help me with the programme below; i hope you can see what i am trying to do, if i enter the wrong password the loop goes on forever and if i enter the right one nothing is printed... i am a newbieall comments welcome thanks adrian print 'hello' print 'i

Re: [Tutor] password cipher

2011-05-06 Thread pwnedomina
Em 07-05-2011 00:29, Alan Gauld escreveu: "pwnedomina" wrote Can you write code to print a table of any kind? For example can you print out a multiplication table, say the 3 times table, like this: 1 x 3 = 3 2 x 3 = 6 ... Show us your code. That will give us an idea of where your understandin

Re: [Tutor] password cipher

2011-05-06 Thread Alan Gauld
"pwnedomina" wrote Can you write code to print a table of any kind? For example can you print out a multiplication table, say the 3 times table, like this: 1 x 3 = 3 2 x 3 = 6 ... Show us your code. That will give us an idea of where your understanding and skill level lies. PS. There is code

Re: [Tutor] password cipher

2011-05-06 Thread pwnedomina
Em 06-05-2011 22:59, Alan Gauld escreveu: "pwnedomina" wrote Can you write Python code already? Or are you a complete beginner? Do you know how to produce the table by hand - using pen and paper say? im a beginner, can you show a sample of code in order to do this task? I could but it ma

Re: [Tutor] password cipher

2011-05-06 Thread Alan Gauld
"pwnedomina" wrote Can you write Python code already? Or are you a complete beginner? Do you know how to produce the table by hand - using pen and paper say? im a beginner, can you show a sample of code in order to do this task? I could but it may not mean anything to you. Can you write c

Re: [Tutor] password cipher

2011-05-06 Thread pwnedomina
Em 06-05-2011 17:10, Alan Gauld escreveu: "pwnedomina" wrote hi. i wonder if its possible to generate cipher a tabula recta in python like the one show here http://lifehacker.com/?_escaped_fragment_=5715794/how-to-write-down-and-encrypt-your-passwords-with-an-old+school-tabula-recta#!5715794/

Re: [Tutor] password cipher

2011-05-06 Thread Alan Gauld
"pwnedomina" wrote hi. i wonder if its possible to generate cipher a tabula recta in python like the one show here http://lifehacker.com/?_escaped_fragment_=5715794/how-to-write-down-and-encrypt-your-passwords-with-an-old+school-tabula-recta#!5715794/how-to-write-down-and-encrypt-your-passwor

Re: [Tutor] password protection in httplib

2006-03-03 Thread Andre Engels
Thanks for your answers! It is working now! 2006/3/3, Kent Johnson <[EMAIL PROTECTED]>: > Andre Engels wrote: > > 2006/3/3, Kent Johnson <[EMAIL PROTECTED]>: > > > > > >>Have you tried using a CookieManager as shown in the first example here: > >>http://docs.python.org/lib/cookielib-examples.html

Re: [Tutor] password protection in httplib

2006-03-03 Thread Kent Johnson
Andre Engels wrote: > 2006/3/3, Kent Johnson <[EMAIL PROTECTED]>: > > >>Have you tried using a CookieManager as shown in the first example here: >>http://docs.python.org/lib/cookielib-examples.html >> >>Once you set up your opener with a CookieJar the cookies should be >>handled automatically - i

Re: [Tutor] password protection in httplib

2006-03-03 Thread Andre Engels
2006/3/3, Kent Johnson <[EMAIL PROTECTED]>: > Have you tried using a CookieManager as shown in the first example here: > http://docs.python.org/lib/cookielib-examples.html > > Once you set up your opener with a CookieJar the cookies should be > handled automatically - if a server sets a cookie it

Re: [Tutor] password protection in httplib

2006-03-03 Thread Kent Johnson
Andre Engels wrote: > 2006/3/2, Kent Johnson <[EMAIL PROTECTED]>: > >>Andre Engels wrote: >> >>>Thanks for your help; it brought me quite a bit farther, but not as >>>far as I wanted to come. The authentication is basic authentication, >>>and I have been able to adapt the programs so that I now ge

Re: [Tutor] password protection in httplib

2006-03-03 Thread Andre Engels
2006/3/2, Kent Johnson <[EMAIL PROTECTED]>: > Andre Engels wrote: > > Thanks for your help; it brought me quite a bit farther, but not as > > far as I wanted to come. The authentication is basic authentication, > > and I have been able to adapt the programs so that I now get my pages > > correctly.

Re: [Tutor] password protection in httplib

2006-03-02 Thread Kent Johnson
Andre Engels wrote: > Thanks for your help; it brought me quite a bit farther, but not as > far as I wanted to come. The authentication is basic authentication, > and I have been able to adapt the programs so that I now get my pages > correctly. > > However, the program uses not only 'GET' operati

Re: [Tutor] password protection in httplib

2006-03-02 Thread Andre Engels
Thanks for your help; it brought me quite a bit farther, but not as far as I wanted to come. The authentication is basic authentication, and I have been able to adapt the programs so that I now get my pages correctly. However, the program uses not only 'GET' operations, but also 'PUT' operations.

Re: [Tutor] password protection in httplib

2006-03-01 Thread Kent Johnson
Andre Engels wrote: > I am active in pywikipediabot, which is programmed in Python and is > used to edit wikis (based on MediaWiki, such as Wikpedia). It uses > httplib to connect to the site and get the HTML data. > > I now want to use it on another site, but this site is password > protected (we

[Tutor] password protection in httplib

2006-03-01 Thread Andre Engels
I am active in pywikipediabot, which is programmed in Python and is used to edit wikis (based on MediaWiki, such as Wikpedia). It uses httplib to connect to the site and get the HTML data. I now want to use it on another site, but this site is password protected (we want to first improve it before

Re: [Tutor] Password

2005-05-18 Thread Andrei
Øyvind wrote on Wed, 18 May 2005 14:46:43 +0200 (CEST): > The user enters a password first. These lines will create a string: > '12c0faae657b3d068c0f19b71f5b43bc' This string will be stored in the file > settings.txt That's a very good way of preventing the user's password from being reconstructe

Re: [Tutor] Password

2005-05-18 Thread Alberto Troiano
,show="*") The show attribute accomplish what you want Regards Alberto >From: Øyvind <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: tutor@python.org >Subject: [Tutor] Password >Date: Wed, 18 May 2005 14:46:43 +0200 (CEST) > >Hello. > >I am trying to m

[Tutor] Password

2005-05-18 Thread Øyvind
Hello. I am trying to make a loginbox for a program, and need to make a somewhat safe passwordroutine. Will this work? import md5 h = md5.new() h.update(password) h.hexdigest() The user enters a password first. These lines will create a string: '12c0faae657b3d068c0f19b71f5b43bc' This string wil