Syntactic Confectionery Delight | |
PerlMonks |
Re: Morality of posting Perl "virus" code?by da (Friar) |
on Jun 28, 2001 at 01:44 UTC ( [id://92077]=note: print w/replies, xml ) | Need Help?? |
Damian Conway wrote a self-modifying program called "SelfGOL" which also uses seek on the <DATA> handle, in a similar manner (I believe; it's pretty obfuscated code, and I haven't yet seen the talk where he explains it). However, the code is easy to locate on the web. If somebody wants to use seek with __DATA__ they've had quite a while to figure out how. Personally, I think a perl virus is much less worrying than a compiled executable virus for the obvious reasons, but the topic is intellectually fascinating. Here's his description of the talk: _______________________ Extreme Perl -- The Horror That Is SelfGOL
In this talk I dissect the SelfGOL program: an obfuscated, self-aware, viral quine that can:
SelfGOL accomplishes these feats in under 1000 bytes of standard Perl, without importing any modules, and without using a single if, unless, while, until, for, foreach, goto, next, last, redo, map, or grep. To do all that in under 1K of code, it relies on some extreme programming techniques, and on many of the obscure backwaters of the Perl syntax. This talk explores both. _______________________ He's coming to boston.pm in less than two weeks; if we're lucky he may do this talk. ___
In Section
Meditations
|
|