Advertisement
makhiscal

cnl

Jun 30th, 2014
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. <?php
  2. function base16Encode($arg){
  3. $ret="";
  4. for($i=0;$i<strlen($arg);$i++){
  5. $tmp=ord(substr($arg,$i,1));
  6. $ret.=dechex($tmp);
  7. }
  8. return $ret;
  9. }
  10.  
  11. $key="1234567890987654";
  12. $transmitKey=base16Encode($key);
  13. $link="enlace1rnenlace2";
  14. $cp = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', 'cbc', '');
  15. @mcrypt_generic_init($cp, $key,$key);
  16. $enc = mcrypt_generic($cp, $link);
  17. mcrypt_generic_deinit($cp);
  18. mcrypt_module_close($cp);
  19. $crypted=base64_encode($enc);
  20.  
  21. echo $crypted;
  22.  
  23. ?>
  24.  
  25. //Generara la anterior un codigo de este estilo: rx5GFbIvZGJVEYNHIg9bOfRWl8FAb09sLqQggXd1Pda6FhgcBGEKu w7eM0oz8Thl60UFxtqgoMmFA8zqINxyCAPAHGvMCsaZaXs8G8aPOP6HRktniE8Ur3y3NMZp0L1nJJz9bokFRq3gHp6VTQv4Q==
  26.  
  27. http://127.0.0.1:9666/flash/addcrypted2?jd=1&source=http%3A%2F%2Fwww.google.es&jk=function+f%28%29{+return+%2731323334353637383930393837363534%27%3B}&crypted=poner el codigo resultante acá
  28.  
  29. <html>
  30. <FORM ACTION="http://127.0.0.1:9666/flash/addcrypted2" target="hidden" METHOD="POST">
  31. <INPUT TYPE="hidden" NAME="passwords" VALUE="myPassword">
  32. <INPUT TYPE="hidden" NAME="source" VALUE="http://jdownloader.org/spielwiese">
  33. <INPUT TYPE="hidden" NAME="jk" VALUE="function f(){ return '31323334353637383930393837363534';}">
  34. <INPUT TYPE="hidden" NAME="crypted" VALUE="intruducir codigo generado anteriormente aquí">
  35. <INPUT TYPE="SUBMIT" NAME="submit" VALUE="Add Link to JDownloader">
  36. </FORM>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement