dmitri has asked for the wisdom of the Perl Monks concerning the following question:
By now, I am sure you have heard of the "732 bytes of Python code to root every major Linux distro."
(I checked it out -- it works. Don't run it on your own machine, though, as it will mangle your `su` binary).
At any rate -- I figured, we can make it smaller in Perl!
A half hour and a bunch of tokens later, I failed. My smallest version is 767 bytes. Can anyone here do better?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: copyfail challenge: making Perl version smaller
by marto (Cardinal) on Apr 30, 2026 at 09:26 UTC | |
|
Re: copyfail challenge: making Perl version smaller
by Corion (Patriarch) on Apr 30, 2026 at 09:22 UTC | |
by LanX (Saint) on Apr 30, 2026 at 11:58 UTC | |
by marto (Cardinal) on Apr 30, 2026 at 12:18 UTC | |
by LanX (Saint) on Apr 30, 2026 at 12:30 UTC | |
|
Re: copyfail challenge: making Perl version smaller
by stevieb (Canon) on Apr 30, 2026 at 09:05 UTC | |
|
Re: copyfail challenge: making Perl version smaller
by LanX (Saint) on Apr 30, 2026 at 16:10 UTC |