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


Groups > comp.lang.python > #22221

Re: Tools for refactoring/obfuscation

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <kmisoft@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.032
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'url:sourceforge': 0.04; 'closest': 0.09; 'python': 0.11; 'received:209.85.214.174': 0.13; '(sorry': 0.16; 'easier.': 0.16; 'nature.': 0.16; 'say.': 0.16; 'subject:Tools': 0.16; 'variables,': 0.16; 'changes': 0.19; 'wrote:': 0.21; 'header:In-Reply-To:1': 0.22; 'subject:/': 0.25; 'message-id:@mail.gmail.com': 0.27; "python's": 0.27; 'command': 0.28; 'pm,': 0.28; 'surprised': 0.29; 'somebody': 0.30; 'source': 0.31; 'received:209.85': 0.32; 'tool': 0.32; 'received:google.com': 0.32; 'hi,': 0.33; 'module.': 0.33; 'could': 0.34; 'code,': 0.35; 'received:209.85.214': 0.35; 'received:209': 0.35; 'but': 0.36; 'does': 0.36; 'data': 0.38; 'something': 0.38; 'skip:d 20': 0.39; 'doing': 0.39; 'to:addr :python-list': 0.39; 'think': 0.40; 'to:addr:python.org': 0.40; 'your': 0.60; 'mar': 0.61; 'single': 0.61; 'such': 0.61; 'more': 0.63; 'contact': 0.66; '2012': 0.69; 'impossible': 0.84
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:to :content-type; bh=EOWugR8eULK29ulUxWGROhwgu9P/Ja8H27CtC4sRLas=; b=my2/QiLxBTBxOhkyW5tDke4dZFFf+z3nfBmjsXpfoOnzirZkPyzmS8UQ7MHCBARNN2 F+qZELROX9vnvzLx74SHsy604Bksmtg5B3MoRszda6T8kvFF+2cw/zRsBbc6Bm50N7+I yxotcG2zeGs/zfo5TyhU3o2ESd/wxSBJDLQVldIZ6pI13FrgNXKPFS2Pu8yJgtTdYwn4 npk7NmE1SxqUhrUb2Pc1NzXwe0DIQU/yIAK7IMhzWRvxrP40Hkje6mUKH6rW+TDbunvY Y7i2tpiZzuKReeMWk13BSD8pWQQWpwuy0WrNFj/N/YHWLEf44XnOBTv5N4Trc4lnR1H+ 2vDg==
MIME-Version 1.0
In-Reply-To <jj6kmc$7vb$1@speranza.aioe.org>
References <jj6kmc$7vb$1@speranza.aioe.org>
Date Mon, 26 Mar 2012 21:51:13 -0400
Subject Re: Tools for refactoring/obfuscation
From Vladimir Ignatov <kmisoft@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1028.1332813076.3037.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1332813076 news.xs4all.nl 6926 [2001:888:2000:d::a6]:51245
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22221

Show key headers only | View raw


Hi,

(sorry for replying to the old topic)

On Tue, Mar 6, 2012 at 10:29 PM, Javier <nospam@nospam.com> wrote:
> I am looking for an automated tool for refactoring/obfuscation.
> Something that changes names of functions, variables, or which would
> merge all the functions of various modules in a single module.
> The closest I have seen is http://bicyclerepair.sourceforge.net/
>
> Does somebody know of something that can work from the command line or
> simple data structures/text files?, like a python dictionary of functions
> {"old":"new",...}

I am not surprised what nobody answers. I think that such tool is
nearly impossible given the dynamic Python's nature.
But if you put little discipline/restrictions in your source code,
when doing obfuscation could be much more easier. Almost trivial I
would say.

Javier, you can contact me directly if you are interested in this topic.

Vladimir Ignatov
kmisoft at gmail com

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


Thread

Tools for refactoring/obfuscation Javier <nospam@nospam.com> - 2012-03-07 03:29 +0000
  Re: Tools for refactoring/obfuscation Vladimir Ignatov <kmisoft@gmail.com> - 2012-03-26 21:51 -0400
    Re: Tools for refactoring/obfuscation Javier <nospam@nospam.com> - 2012-03-28 16:04 +0000
      Re: Tools for refactoring/obfuscation Lie Ryan <lie.1296@gmail.com> - 2012-03-31 16:18 +1100
        Re: Tools for refactoring/obfuscation Javier <nospam@nospam.com> - 2012-04-02 14:09 +0000
  Re: Tools for refactoring/obfuscation Stefan Behnel <stefan_ml@behnel.de> - 2012-03-27 15:12 +0200

csiph-web