Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- define('n',"\n");
- define('p','$');
- $f_=file('veszelyes',FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
- $out="";
- foreach($f_ as $i=>$f){
- if (substr($f,0,4)=='----') {$out.=n; break;}
- if (substr($f,1,1)==" ") $adat=true; else $adat=false;
- $f=str_replace(' ','',$f);
- $f=str_replace(':','',$f);
- if (!$adat) $out.=n;
- $out.=$f;
- if (!$adat) $out.=n;
- }
- $ou=explode(n,$out); unset($out);
- foreach ($ou as $i=>$out){
- if (($i==4)||($i==8)||($i==10)||($i==12)||($i==14)||($i==16)||($i==18))
- {
- $coll=''; $str='echo "ibase=16; '.strtoupper("$out").'"|bc -l'.n;
- exec($str, $coll);
- switch($i){
- case 4: print p."n='";break;
- case 8: print p."d='";break;
- case 10: print p."p='";break;
- case 12: print p."q='";break;
- case 14: print p."v='";break;
- case 16: print p."w='";break;
- case 18: print p."c='";break;
- }
- foreach($coll as $col){print str_replace("\\","",$col);} print "';".n;
- }
- else print $out.n;
- }
- print p."e='WRITE_PUBLIC_EXPONENT_HERE';".n;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement