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: 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: References: Date: Mon, 26 Mar 2012 21:51:13 -0400 Subject: Re: Tools for refactoring/obfuscation From: Vladimir Ignatov 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 Hi, (sorry for replying to the old topic) On Tue, Mar 6, 2012 at 10:29 PM, Javier 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