Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.076 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'django.': 0.05; 'base64': 0.09; 'php,': 0.09; 'rules.': 0.09; 'hashed': 0.16; 'code,': 0.18; 'code.': 0.20; 'http': 0.22; 'message-id:@mail.gmail.com': 0.27; "i'm": 0.29; 'handle': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'server': 0.35; 'list': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'but': 0.36; 'received:209': 0.37; 'files': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'share': 0.61; 'today': 0.67; 'hour': 0.69; 'friend': 0.81; 'around,': 0.84; 'migrating': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=hRONVaL4UWYJ8uacAm/i3RuuexcgfJ3wcEvtHzg+Rkw=; b=jUuGnUc1t29ohJT5HUr158Q0OfS9MTC2oPm4rn6hBJJHZkgujK8bz73kaHJOZ3QC1O hkm35ptGDxPrQLdV/ubFJQFbz9tXKc8HRpS2t0iuzL1DwFdW6FdIhCwLWW/huXaF3Po3 dXudbHSuvL5+AriYJ+09hgceJ/g5AluPAoF/bZ0LYMrp4W40TvCtWI6gj7w+luuUeuFp Enlar90+hIbIO1TNgTKZt8OrZxtRr14N6enQeYKVCOO3tSCqjYreSQu+RJasHLwCCJkX n4/tU13psGGataWjLHCTs/iwvpqyqEIKWsHJoRkmFb2cqepz6nja98hmdHRHjCeKE6eN l0qw== MIME-Version: 1.0 X-Received: by 10.112.99.5 with SMTP id em5mr5908593lbb.1.1363582745952; Sun, 17 Mar 2013 21:59:05 -0700 (PDT) Date: Mon, 18 Mar 2013 00:59:05 -0400 Subject: decode php base64 From: Peter juliano To: python-list@python.org Content-Type: multipart/alternative; boundary=f46d0401f77531cc2e04d82bd9b4 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1363582753 news.xs4all.nl 6946 [2001:888:2000:d::a6]:42095 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:41397 --f46d0401f77531cc2e04d82bd9b4 Content-Type: text/plain; charset=ISO-8859-1 Not long ago, my friend resignation of the company. He left a few app's in php, some of those files are hashed with base64 code, he told me that those files handle http request on the server and some security rules. Because i'm migrating all these applications on django. I do not really care about those files, but today just for playing around, i try to see the code, and in a less of an hour can see all the code. I want to share the solution with this mail list http://pastebin.com/e6KJhAW8 --f46d0401f77531cc2e04d82bd9b4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Not long ago, my friend resignation of the company. He left a few app'= s in php, some of those files are hashed with base64 code, he told me that = those files handle http request on the server and some security rules. Beca= use i'm migrating all these applications on django. I do not really car= e about those files, but today just for playing around, i try to see the co= de, and in a less of an hour can see all the code. I want to share the solu= tion with this mail list

http://pastebin.com/e6KJhAW8
--f46d0401f77531cc2e04d82bd9b4--