Pure Python Data Mangling or Encrypting

Chris Angelico rosuav at gmail.com
Wed Jun 24 11:55:00 EDT 2015


On Thu, Jun 25, 2015 at 1:52 AM, Emile van Sebille <emile at fenx.com> wrote:
> On 6/24/2015 7:02 AM, Grant Edwards wrote:
>>
>> And how does writing unmangled data to disk expose anybody to
>> anything?  I've never heard of an exploit where writing an evilly
>> crafted bit-pattern to disk causes a any sort of problem.
>
>
> Unless that code is executed at boot.  Mangling would at least prevent it
> from executing.

Or it's on Windows. It's pretty easy to trick Windows into running
some code somewhere. But you can often disrupt that by simply renaming
the file to have no extension.

ChrisA



More information about the Python-list mailing list