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


Groups > comp.lang.python > #67535

Re: Iterate through a list and try log in to a website with urllib and re

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.047
X-Spam-Evidence '*H*': 0.91; '*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; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'point': 0.28; 'external': 0.29; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'subject:website': 0.31; 'subject:with': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'pm,': 0.38; 'short': 0.38; 'enough': 0.39; "you're": 0.61; 'mar': 0.68; 'now:': 0.74; '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=aJaiNmgsoRiaChOGJURd/Jl0Q5/3RkoPN3N0nt+6Sgw=; b=FpZ89JArJNmI6Uc0uGfUCGrZspp6HHgg5MeVHg03PcdDm9erUuYMtODhJZLvyirCB9 vYjRwOtpWe4q/0XKv5/Aca0xVHqoIrQs6HD7r+Tem2ao7xYufs6jPLe/fdETGbL63o9N IZ7J9/J4khMH5uNufiKmtuQekZraKAOLkKKDTGFTk2Bb/qN4Sz49BZLyCy2vh98ZlrnA 1KqVfytXIpmzxV3wncR5Jp6bsaIhSN7dq7hyd5wwaTTvruF54yziTK2lOuArz2Hc0pZg m3SDvdNR2LgcMlkoh67LxB/7sH+SOTnb3CXr+nmEhUmUVxrP4Tq2V03YeGdlHSrjeRd+ pzxQ==
MIME-Version 1.0
X-Received by 10.69.25.69 with SMTP id io5mr10749940pbd.22.1393850660618; Mon, 03 Mar 2014 04:44:20 -0800 (PST)
In-Reply-To <1177d930-a3c4-4152-818c-33d5172083f8@googlegroups.com>
References <fc7c1c7d-7811-4e58-a999-1f2e9b297cd3@googlegroups.com> <1177d930-a3c4-4152-818c-33d5172083f8@googlegroups.com>
Date Mon, 3 Mar 2014 23:44:20 +1100
Subject Re: Iterate through a list and try log in to a website with urllib and re
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <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.7636.1393851089.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1393851089 news.xs4all.nl 2934 [2001:888:2000:d::a6]:50389
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:67535

Show key headers only | View raw


On Mon, Mar 3, 2014 at 11:35 PM, Marcus <marcuscvj@gmail.com> wrote:
> This is the code right now: http://pastebin.com/pE1YZX2K

That looks short enough to include in-line, no need to point us to an
external site :)

So basically, you're doing a dictionary attack. May I ask why you're
doing this, exactly?

ChrisA

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


Thread

Iterate through a list and try log in to a website with urllib and re Marcus <marcuscvj@gmail.com> - 2014-03-03 04:32 -0800
  Re: Iterate through a list and try log in to a website with urllib and re Marcus <marcuscvj@gmail.com> - 2014-03-03 04:35 -0800
    Re: Iterate through a list and try log in to a website with urllib and re Chris Angelico <rosuav@gmail.com> - 2014-03-03 23:44 +1100
    Re: Iterate through a list and try log in to a website with urllib and re Chris Angelico <rosuav@gmail.com> - 2014-03-03 23:45 +1100
      Re: Iterate through a list and try log in to a website with urllib and re Marcus <marcuscvj@gmail.com> - 2014-03-03 04:51 -0800
        Re: Iterate through a list and try log in to a website with urllib and re Chris Angelico <rosuav@gmail.com> - 2014-03-04 00:00 +1100
          Re: Iterate through a list and try log in to a website with urllib and re Marcus <marcuscvj@gmail.com> - 2014-03-03 05:05 -0800
    Re: Iterate through a list and try log in to a website with urllib and re Chris Angelico <rosuav@gmail.com> - 2014-03-03 23:44 +1100
  Re: Iterate through a list and try log in to a website with urllib and re Roy Smith <roy@panix.com> - 2014-03-03 08:47 -0500

csiph-web