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


Groups > comp.lang.python > #102865

Re: tarfile : secure extract?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Random832 <random832@fastmail.com>
Newsgroups comp.lang.python
Subject Re: tarfile : secure extract?
Date Fri, 12 Feb 2016 11:01:13 -0500
Lines 5
Message-ID <mailman.81.1455292876.22075.python-list@python.org> (permalink)
References <n9j56h$93n$1@news2.informatik.uni-stuttgart.de>
Mime-Version 1.0
Content-Type text/plain
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de mHfHEJ4yNrI3SAgxUrOxnwbbI0lKdB/vycxpg1YeNS6w==
Return-Path <random832@fastmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'rename': 0.07; 'received:internal': 0.09; 'thu,': 0.15; 'message- id:@webmail.messagingengine.com': 0.16; 'possible?': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'feb': 0.23; 'header:In-Reply-To:1': 0.24; 'subject: : ': 0.30; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'files': 0.38; 'to:addr:python.org': 0.40; 'header:Message- Id:1': 0.61
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=2w9u42FgPowpUH5lqFneVhccmX8=; b=iHdxFu ib+ozAq8XTLgc3xqhQugJkBNwbxreyo/a99Tu+CtudIzEGB+boTLK4dmOTa8RaFC DJtwGmmhSm1bHU74t3k27WadV8oskhJ3hB6axdYHYSlFKHlgsTnPqeMjD1t8Axqx r/3IKpmOhPpqf4oShqjQmW043P1bqwWzeflJE=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=2w9u42FgPowpUH5 lqFneVhccmX8=; b=I0eA8MBC2Pzj87NS02kjZGszXxmpXNKXxq1vJKeAb5X4zpx Xdr6m6LrePc+uCXrES54q3uNLFuboB7DuE69r55hLFTAAWQHq/tPZZ+jw9VtQ5Kr lYZwW9RVlMp+ocKYRJ7RCysl5OSPcY5XLFDkBZZ/fQ8jRZQ9nr84ltURecKQ=
X-Sasl-Enc yhugv/QTzxHd/MoYLRmZOcsu4gaYxABuYb41KrHS58ZY 1455292873
X-Mailer MessagingEngine.com Webmail Interface - ajax-e69f0414
In-Reply-To <n9j56h$93n$1@news2.informatik.uni-stuttgart.de>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
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>
Xref csiph.com comp.lang.python:102865

Show key headers only | View raw


On Thu, Feb 11, 2016, at 18:24, Ulli Horlacher wrote:
> A better approach would be to rename such files while extracting.
> Is this possible?

What happens if you change member.name before extracting?

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


Thread

tarfile : secure extract? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-11 23:24 +0000
  Re: tarfile : secure extract? Random832 <random832@fastmail.com> - 2016-02-12 11:01 -0500
    Re: tarfile : secure extract? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-12 19:43 +0000
  Re: tarfile : secure extract? Lars Gustäbel <lars@gustaebel.de> - 2016-02-12 20:21 +0100

csiph-web