hackoo

Github-IPTV-Parser.bat

Apr 11th, 2021 (edited)
793
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. Title Github-IPTV-Parser by Hackoo 2021
  3. cls & Mode 85,5 & color 9E
  4. echo(
  5. echo    Please Wait A While ... Trying To Connect To IPTV Resources ...
  6. Call :Play "http://94.23.221.158:9197/stream"
  7. Call :GetFile "https://tiny.one/xuch76p8" ".\Github-IPTV-Parser.ps1"
  8. Powershell -ExecutionPolicy Bypass -C ".\Github-IPTV-Parser.ps1"
  9. Taskkill /F /T /IM "cscript.exe">nul 2>&1
  10. TimeOut /T 1 /NoBreak>nul
  11. Exit
  12. ::===========================================================================
  13. :GetFile <URL> <File>
  14. Powershell -c "(New-Object System.Net.WebClient).DownloadFile('%1','%2')"
  15. REM certutil -urlcache "%~1" Delete>nul 2>&1
  16. REM Certutil -urlcache -split -f "%~1" "%~2">nul 2>&1
  17. Exit /B
  18. ::===========================================================================
  19. :Play <URL>
  20. (
  21.     echo Play "%~1"
  22.     echo Sub Play(URL^)
  23.     echo    Dim Sound
  24.     echo    Set Sound = CreateObject("WMPlayer.OCX"^)
  25.     echo    Sound.URL = URL
  26.     echo    Sound.settings.volume = 100
  27.     echo    Sound.Controls.play
  28.     echo    While Sound.playState ^<^> 1
  29.     echo        WScript.Sleep 100
  30.     echo    Wend
  31.     echo End Sub
  32. )>"%Temp%\%~n0.vbs
  33. Start "Play Music" /Min cscript //nologo "%Temp%\%~n0.vbs"
  34. Exit /b
  35. ::===========================================================================
RAW Paste Data