Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.news.ox.ac.uk!news.ox.ac.uk!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.061 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'attack.': 0.09; 'cc:addr :python-list': 0.11; 'exactly?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'subject:log': 0.16; 'wrote:': 0.18; 'written,': 0.19; 'cc:addr:python.org': 0.22; 'password.': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'appear': 0.29; 'chris': 0.29; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'subject:website': 0.31; 'subject:with': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'pm,': 0.38; 'does': 0.39; "you're": 0.61; 'name': 0.63; 'mar': 0.68; '11:44': 0.84; "else's": 0.84; 'subject:try': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=t7W83IpRzvS0NQdOtmgEpl4X6dAMhrze0WCiLlzfurM=; b=N5i6T8+CjrjRvVpbQUuSqNrID8wqETSMGP9LAbfKcrp2pClLEqtALEV3x9kT4EbmEO rO46x9mHoIacX3AgHRYBCJ85O/iwhTaZUCrgZu5Z/AbZmYLVU+a/+imtRv/wLK28KUzm kSA8e6mPLKZYQ9+BJ4CvuD35uc8CgnLwz1VhgYsQ/rGuPyyYNqyt++szWXcEaf4+DqYr EP2OFVIGQUVmLCnsmqSb6vTjC4+8d8Ce76cgmQM8F7o7J2NH+vwS1m7egX2D4mfFm9sB Pi1pBPMCQIrZfsFGi06570uaVuOZccoVVRPLPMG3GprrhytoBBiQ52ef5RJppyReYvH0 HjYA== MIME-Version: 1.0 X-Received: by 10.66.102.39 with SMTP id fl7mr19090425pab.43.1393850744316; Mon, 03 Mar 2014 04:45:44 -0800 (PST) In-Reply-To: References: <1177d930-a3c4-4152-818c-33d5172083f8@googlegroups.com> Date: Mon, 3 Mar 2014 23:45:44 +1100 Subject: Re: Iterate through a list and try log in to a website with urllib and re From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393850747 news.xs4all.nl 2944 [2001:888:2000:d::a6]:46283 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67533 On Mon, Mar 3, 2014 at 11:44 PM, Chris Angelico wrote: > So basically, you're doing a dictionary attack. May I ask why you're > doing this, exactly? oops, misclicked. I note that the user name 'alex' does not appear to match your name. I'm going to want a good reason for this code to be written, else you're on your own - I don't intend to help you steal someone else's password. ChrisA