Ryutaro Otomo

Recently added

The Magic Serpent
6.2
TS

The Magic Serpent

Mar. 05, 1966

The Magic Serpent

In ancient Japan, a good lord is killed and his throne is taken by the trecherous Yuki Daijo and his wizard friend Oroki-maru. The young prince ...
A Warrior’s Flute
6.3
TS

A Warrior’s Flute

Dec. 04, 1955

A Warrior’s Flute

Tale of tragic love between samurai and princess during Heian period.
A Chivalrous Spirit
6.5
TS

A Chivalrous Spirit

Jan. 03, 1958

A Chivalrous Spirit

An all-star cast highlights this Jidai-Geki classic. Set in the samurai era, this is the tale of period Yakuza. One of the real classics in this ...
Eleven Samurai
7.2
TS

Eleven Samurai

Dec. 16, 1967

Eleven Samurai

The lord of the Oshi fief is killed by his trespassing neighbour, the cruel and despotic Nariatsu, son of the former Shogun. After an ...
Shingo’s Original Challenge, Part 1 and 2
0
HD Cam

Shingo’s Original Challenge, Part 1 and 2

These are the first two parts of the popular series in which a young samurai learns that he is the illegitimate son of the Shogun. Hoping to ...
Case of Umon: The Nanbanzame Murders
0
HD Cam

Case of Umon: The Nanbanzame Murders

The serial killing of a samurai each night by strangulation at various temples confounds investigators and brings a chill to the residents of ...
Unruly Lion
0
HD Cam

Unruly Lion

Feb. 01, 1961

Unruly Lion

We don’t have an overview translated in English. Help us expand our database by adding one.
Festival of Swordsmen
6.3
HD Cam

Festival of Swordsmen

Mar. 21, 1961

Festival of Swordsmen

During the middle of the Kanei Period (1624-1644) Japan was in the early stages of its most peaceful era. This left a large number of unemployed ...
The Red Shadow
7
HD Cam

The Red Shadow

Dec. 24, 1961

The Red Shadow

Fifteen years after Ishida Mitsunari lost in the battle of Sekigahara, Tokugawa Ieyasu foresees his unavoidable battle with Toyotomi Hideyori and ...
Tengu Priest
5.3
HD Cam

Tengu Priest

Nov. 02, 1962

Tengu Priest

Kichizaburo, a samurai keeping peace in Edo, helps a young geisha Kozome avenge her father’s death.
Revenge for His Lover
0
HD Cam

Revenge for His Lover

Nov. 11, 1962

Revenge for His Lover

Kamio a mistreated samurai clerk of Edo Castle and ronin (“Sir Quarrel”) Ibara, take up a vendetta against 17 wicked castle men.
The Mysterious Purple Hood
0
HD Cam

The Mysterious Purple Hood

The Purple-Hooded Man, Japan’s version of Robin Hood, tries to uncover a corruption scandal in Edo era Japan.
Vanquished Foes
0
HD Cam

Vanquished Foes

Jan. 09, 1964

Vanquished Foes

A skilled assassin’s services are called upon to put an end to the ugly turf battle between two yakuza families, Mitsuwa and Aikawa. Forced ...
Kagero-za
7
HD

Kagero-za

Aug. 21, 1981

Kagero-za

A 1920s playwright meets a beautiful woman who may be the ghost of his patron’s deceased wife.
Temptation of Angel
6.1
360p

Temptation of Angel

Dec. 22, 1979

Temptation of Angel

A story of the everyday life of a couple living together, ordinary but full of warmth and love. Starring Miura and Yamaguchi’s first movie ...
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();