Help for this page

Select Code to Download


  1. or download this
    $root = $> == 0 ? 1 : 0;
    
  2. or download this
    $> = eval "use Win32" || ! $@ ? Win32::IsAdminUser() ? 1 : 0 : $>;
    # or something like that
    $root = $> == 0 ? 1 : 0;
    
  3. or download this
    $ perl -e '$> = 0; print "$!\n"; print "$>\n"'
    Operation not permitted
    501
    $
    
  4. or download this
    $ perl -e 'use Win32;print Win32::IsAdminUser(),"\n";$>=0; print $!,"\
    +n"; print $>,"\n"'
    1
    Invalid Argument
    4638
    $
    
  5. or download this
    $root = eval "use Win32" || ! $@ ? Win32::IsAdminUser() ? 1 : 0 : $> =
    += 0 ? 1 : 0;
    
  6. or download this
    $,=42;for(34,0,-3,9,-11,11,-17,7,-5){$*.=pack'c'=>$,+=$_}for(reverse s
    +plit//=>$*
    ){$%++?$ %%2?push@C,$_,$":push@c,$_,$":(push@C,$_,$")&&push@c,$"}$C[$#
    +C]=$/;($#C
    >$#c)?($ c=\@C)&&($ C=\@c):($ c=\@c)&&($C=\@C);$%=$|;for(@$c){print$_^
    +$$C[$%++]}