[ prog / sol / mona ]

prog


digital piracy and plausible deniability

1 2020-04-23 05:34

I would never download a car nor would I ever stole software, music or movies.
On the other side I have a lot of free time so I spend my days generating random binaries with a program like this:

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(int argc, char** argv)
{
    long long i, s;
    FILE* f = fopen(argv[1], "w");
    srand(time(NULL));
    sscanf(argv[2], "%lld", &s);
    for(i=0; i<s; i++){
        fputc(rand() % 255, f);
    }
    fclose(f);
    return 0;
}

I run ./libraryofbabel Serial_Experiments_Lain_01_BDRip_hi10p_1080p.mkv 1158962133 a sufficient number of times. Most of the time I get gibberish data but I eventually end up with a perfectly enjoyable anime episode. At no moment have I illegally copied a digital work without the permission of the copyright holder. I generated it myself. A court would have to refute the Infinite Monkey Theorem to prove otherwise. There are no illegal binaries stored in your hard disk if you also hold a copy of this program.

28


VIP:

do not edit these