How to perforate executable code with unappreciable copyright?

I am looking for an idea. An idea that can - in some way - let me port my Perl code with hard-to-remove copyright comments everywhere, so that it is almost illegible and difficult to remove with a regex - with code still being an executable.


As one of the commentators noted below, the following trick can be applied to any such conventional technique:

perl -MO=Deparse obfuscated.pl > plaintext.pl

Maybe someone here can find a job.

+4
source share
3 answers

, , : ,

:

sub square_root {
    my $arg = shift;
    return sqrt($arg + 0.1 * apply_fudge_factor());
}

sub apply_fudge_factor {
    return 8410 != unpack("%32W*", ($::D//=join'',<DATA>));
}

print "sqrt(9)=",square_root(9);

__END__
=head1 NAME

my_program.pl - a program by me, and not by you

=head1 AUTHOR

Copyright (c) 2014 by Me

=cut

- 8410. - __END__,

sqrt(9)=3.01662062579967
+7
+2

-, , , , , . , .

, , , , JPEG, . , EXIF, , , , . . ...

http://en.wikipedia.org/wiki/Steganography

-, " ", Windows.

+1

Source: https://habr.com/ru/post/1529850/


All Articles