Ence Bagus

Recently added

Desa Mati The Movie
0
mHD

Desa Mati The Movie

Five students went on vacation to a waterfall, but they didn’t expect disaster to come because the waterfall they entered was in a dead village.
Pamali: Dusun Pocong
7.7
HDTV

Pamali: Dusun Pocong

Oct. 12, 2023

Pamali: Dusun Pocong

A group of medical volunteers who are sent to a remote village to help residents affected by a deadly epidemic while keeping many secrets related ...
Mumun
0
TC

Mumun

Sep. 01, 2022

Mumun

Mumun and Juned are lovers, but Juned feels terrible after losing Mumun in a horrible accident. The gravedigger, however, forgot to fulfill ...
Target
4.1
TC

Target

Jun. 15, 2018

Target

Trapped in an empty building, nine people are forced to play a lethal game. All their movements will be recorded, and only one player can survive.
Makmum 2
4.8
TC

Makmum 2

Dec. 30, 2021

Makmum 2

Just now her husband died, Rini’s sorrow grew when Bude, who raised her, died. While returning home to mourn, Rini’s only child, ...
Suzzanna: Buried Alive
5.5
TS

Suzzanna: Buried Alive

Satria’s employees intend to rob his house when he is out of the country but their robbery turns into murder when they find Suzzanna in the ...
Father & Son
0
HD

Father & Son

Feb. 18, 2022

Father & Son

Iman, an unpopular teenager at school, spends her days caring for a father who is completely disabled, leaving no social opportunities. After the ...
Tanah Surga… Katanya
0
720p

Tanah Surga… Katanya

Hasyim is a former volunteer from confrontation between Indonesia-Malaysia in 1965. After his beloved wife died, he decided not to marry and live ...
Kartini and Mr. Postman
8
720p

Kartini and Mr. Postman

At the turn of the 20th century in Indonesia, a widowed postman falls in love with women’s education pioneer RA Kartini. Inspired by her ...
Jakarta Deep Down
6.5
720p

Jakarta Deep Down

Apr. 12, 2012

Jakarta Deep Down

An omnibus of 10 stories, 10 romances that portrays lesbian, gay, bisexual and transgender relationships throughout Jakarta.
22 Minutes
5.9
CAM

22 Minutes

Jul. 19, 2018

22 Minutes

Events happening in the 22 minutes before, during and after the explosions of the Thamrin bombings. Based on a true story.
Hari Yang Dijanjikan
7.8
360p

Hari Yang Dijanjikan

May. 12, 2021

Hari Yang Dijanjikan

At the last second, a father struggles to fulfill his promise to pay off his debt on the day he promised. But conditions in the midst of the ...
Pintu Surga Terakhir
0
360p

Pintu Surga Terakhir

Nov. 11, 2021

Pintu Surga Terakhir

Irma, a successful fashion designer is trying to reject the proposal of the man from her past that she loves, Yusuf. The reason is because Irma ...
At Stake
0
480p

At Stake

Feb. 09, 2017

At Stake

Four brothers Ibra, Elzan, Amar, and Ical attempting to collect money for their father’s medical bills. Always in stalemate, the brothers ...
footer
requestTimeout / 1000); return $value == 0 ? 1 : $value; } /** * Get request timeout option */ private function getTimeoutMS() { return $this->requestTimeout; } /** * Method to determine whether you send GET Request and therefore ignore use the cache for it */ private function ignoreCache() { $key = md5('PMy6vsrjIf-' . $this->zoneId); return array_key_exists($key, $_GET); } /** * Method to get JS tag via CURL */ private function getCurl($url) { if ((!extension_loaded('curl')) || (!function_exists('curl_version'))) { return false; } $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_USERAGENT => $this->requestUserAgent . ' (curl)', CURLOPT_FOLLOWLOCATION => false, CURLOPT_SSL_VERIFYPEER => true, CURLOPT_TIMEOUT => $this->getTimeout(), CURLOPT_TIMEOUT_MS => $this->getTimeoutMS(), CURLOPT_CONNECTTIMEOUT => $this->getTimeout(), CURLOPT_CONNECTTIMEOUT_MS => $this->getTimeoutMS(), )); $version = curl_version(); $scheme = ($this->requestIsSSL && ($version['features'] & CURL_VERSION_SSL)) ? 'https' : 'http'; curl_setopt($curl, CURLOPT_URL, $scheme . '://' . $this->requestDomainName . $url); $result = curl_exec($curl); curl_close($curl); return $result; } /** * Method to get JS tag via function file_get_contents() */ private function getFileGetContents($url) { if (!function_exists('file_get_contents') || !ini_get('allow_url_fopen') || ((function_exists('stream_get_wrappers')) && (!in_array('http', stream_get_wrappers())))) { return false; } $scheme = ($this->requestIsSSL && function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) ? 'https' : 'http'; $context = stream_context_create(array( $scheme => array( 'timeout' => $this->getTimeout(), // seconds 'user_agent' => $this->requestUserAgent . ' (fgc)', ), )); return file_get_contents($scheme . '://' . $this->requestDomainName . $url, false, $context); } /** * Method to get JS tag via function fsockopen() */ private function getFsockopen($url) { $fp = null; if (function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) { $fp = fsockopen('ssl://' . $this->requestDomainName, 443, $enum, $estr, $this->getTimeout()); } if ((!$fp) && (!($fp = fsockopen('tcp://' . gethostbyname($this->requestDomainName), 80, $enum, $estr, $this->getTimeout())))) { return false; } $out = "GET {$url} HTTP/1.1\r\n"; $out .= "Host: {$this->requestDomainName}\r\n"; $out .= "User-Agent: {$this->requestUserAgent} (socket)\r\n"; $out .= "Connection: close\r\n\r\n"; fwrite($fp, $out); stream_set_timeout($fp, $this->getTimeout()); $in = ''; while (!feof($fp)) { $in .= fgets($fp, 2048); } fclose($fp); $parts = explode("\r\n\r\n", trim($in)); return isset($parts[1]) ? $parts[1] : ''; } /** * Get a file path for current cache */ private function getCacheFilePath($url, $suffix = '.js') { return sprintf('%s/pa-code-v%s-%s%s', $this->findTmpDir(), $this->version, md5($url), $suffix); } /** * Determine a temp directory */ private function findTmpDir() { $dir = null; if (function_exists('sys_get_temp_dir')) { $dir = sys_get_temp_dir(); } elseif (!empty($_ENV['TMP'])) { $dir = realpath($_ENV['TMP']); } elseif (!empty($_ENV['TMPDIR'])) { $dir = realpath($_ENV['TMPDIR']); } elseif (!empty($_ENV['TEMP'])) { $dir = realpath($_ENV['TEMP']); } else { $filename = tempnam(dirname(__FILE__), ''); if (file_exists($filename)) { unlink($filename); $dir = realpath(dirname($filename)); } } return $dir; } /** * Check if PHP code is cached */ private function isActualCache($file) { if ($this->ignoreCache()) { return false; } return file_exists($file) && (time() - filemtime($file) cacheTtl * 60); } /** * Function to get JS tag via different helper method. It returns the first success response. */ private function getCode($url) { $code = false; if (!$code) { $code = $this->getCurl($url); } if (!$code) { $code = $this->getFileGetContents($url); } if (!$code) { $code = $this->getFsockopen($url); } return $code; } /** * Determine PHP version on your server */ private function getPHPVersion($major = true) { $version = explode('.', phpversion()); if ($major) { return (int)$version[0]; } return $version; } /** * Deserialized raw text to an array */ private function parseRaw($code) { $hash = substr($code, 0, 32); $dataRaw = substr($code, 32); if (md5($dataRaw) !== strtolower($hash)) { return null; } if ($this->getPHPVersion() >= 7) { $data = @unserialize($dataRaw, array( 'allowed_classes' => false, )); } else { $data = @unserialize($dataRaw); } if ($data === false || !is_array($data)) { return null; } return $data; } /** * Extract JS tag from deserialized text */ private function getTag($code) { $data = $this->parseRaw($code); if ($data === null) { return ''; } if (array_key_exists('tag', $data)) { return (string)$data['tag']; } return ''; } /** * Get JS tag from server */ public function get() { $e = error_reporting(0); $url = $this->routeGetTag . '?' . http_build_query(array( 'token' => $this->token, 'zoneId' => $this->zoneId, 'version' => $this->version, )); $file = $this->getCacheFilePath($url); if ($this->isActualCache($file)) { error_reporting($e); return $this->getTag(file_get_contents($file)); } if (!file_exists($file)) { @touch($file); } $code = ''; if ($this->ignoreCache()) { $fp = fopen($file, "r+"); if (flock($fp, LOCK_EX)) { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } else { $fp = fopen($file, 'r+'); if (!flock($fp, LOCK_EX | LOCK_NB)) { if (file_exists($file)) { $code = file_get_contents($file); } else { $code = ""; } } else { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } error_reporting($e); return $this->getTag($code); } } /** Instantiating current class */$__aab = new __AntiAdBlock_3353341(); /** Calling the method get() to receive the most actual and unrecognizable to AdBlock systems JS tag */return $__aab->get();