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


Groups > comp.lang.python > #72410

Re: Obfuscated Python hack

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!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.056
X-Spam-Evidence '*H*': 0.90; '*S*': 0.02; 'subject:Python': 0.06; 'restart': 0.09; 'cc:addr:python-list': 0.11; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'idle,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; 'message-id:@mail.gmail.com': 0.30; 'chase': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; "you're": 0.61; 'transparent': 0.68; 'results': 0.69; '=====': 0.84; 'try.': 0.91; '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=SyxGpepL0MwwXjgbrGxgJ74O1twXEYlae1PwFz93t6c=; b=AzbFCBHn74w690GhyqAdkzALAVemdJbXIZHCnsmGd4cJ/4WOhaL7MP+Be/LAiPaEpz WwP5QBBySBWc3u5oZPFb9NBc1j2S26OyUnTPCeQfK0IodPafoWl1IoAhUv/Q7k1yEUd4 XNp1HdlGqkn3LQIcOw1JGjVgdWBHIeBE/1O3E1+h6Bpd3Xrx1vZW2KV+mOYJqszqTTEN FvT72emSpT0DeHwnUZHCtmAEzXHAsi3Qew6kKjwd5GvHhyY0OIYxz++D8kdLVG6t7HoJ iPdFqxpalDacRjLQ4BxNdXDXpsftL6trgpWuzmSGcG38QhwpR9wqgI2eBArDgm2ptssx pjuQ==
MIME-Version 1.0
X-Received by 10.220.81.194 with SMTP id y2mr3424027vck.29.1401715433239; Mon, 02 Jun 2014 06:23:53 -0700 (PDT)
In-Reply-To <20140602072718.071feab3@bigbox.christie.dr>
References <538c69d5$0$29978$c3e8da3$5496439d@news.astraweb.com> <20140602072718.071feab3@bigbox.christie.dr>
Date Mon, 2 Jun 2014 23:23:53 +1000
Subject Re: Obfuscated Python hack
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.10558.1401715441.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401715441 news.xs4all.nl 2856 [2001:888:2000:d::a6]:45578
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72410

Show key headers only | View raw


On Mon, Jun 2, 2014 at 10:27 PM, Tim Chase
<python.list@tim.thechases.com> wrote:
> Stripping off the exec() call makes it pretty transparent that you're
> attempting (successfully on some platforms) to set the value of "4"
> to "5".  But a cute hack.

And not on Windows inside IDLE, where attempting to use 4 results in a
===== RESTART ===== crash. But a nice try.

ChrisA

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


Thread

Obfuscated Python hack Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-06-02 12:11 +0000
  Re: Obfuscated Python hack Tim Chase <python.list@tim.thechases.com> - 2014-06-02 07:27 -0500
    Re: Obfuscated Python hack Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-06-03 17:40 +1200
  Re: Obfuscated Python hack Chris Angelico <rosuav@gmail.com> - 2014-06-02 23:23 +1000
    Re: Obfuscated Python hack Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-06-02 15:38 +0000
      Re: Obfuscated Python hack Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-02 09:47 -0600
      Re: Obfuscated Python hack Chris Angelico <rosuav@gmail.com> - 2014-06-03 01:55 +1000
      Re: Obfuscated Python hack Chris Angelico <rosuav@gmail.com> - 2014-06-03 01:56 +1000

csiph-web