jackieradallhazik

codemp3hack

Feb 17th, 2015
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. <?php
  2. $text = "http://mp3.zing.vn/download/vip/song/";
  3. $code = $_POST['link'];
  4. $len = strlen($code);
  5. if(substr($code,0,11) == "mp3.zing.vn" or substr($code,0,18) == "http://mp3.zing.vn" or substr($code,0,19) == "https://mp3.zing.vn"){
  6. $y=0;
  7. $c = 3;
  8. if (substr($code,0,7) == "http://" or substr($code,0,8) == "https://"){
  9. $c = 5;}
  10. for($i = 0; $i <= $len-1 ; $i++){
  11. if (ord($code[$i]) == 47) {
  12. $y+=1;
  13. }
  14. if ($y==$c){$y = $i+1;
  15. break;}
  16. }
  17. $datacd = substr($code,$y,$len-$y);
  18. $result = $text . $datacd;
  19. }
  20. elseif(substr($code,0,13) == "mp3.m.zing.vn" or substr($code,0,20) == "http://mp3.m.zing.vn" or substr($code,0,21) == "https://mp3.m.zing.vn"){
  21. for($i = 0; $i <= $len-1 ; $i++){
  22. if (ord($code[$i]) == 61) {
  23. $y=$i+1;
  24. break;
  25. }
  26. }
  27. $result = $text . substr($code, $y,8);
  28. }
  29. else
  30. {
  31. $result = "http://www.jackerata.host56.com/sai.html";
  32. }
  33. header("Location: {$result}");
  34.  
  35. ?>
Add Comment
Please, Sign In to add comment