Kanji Tsuda

Recently added

The Ninja War of Torakage
5.1
DVDScr

The Ninja War of Torakage

Set in the Sengoku Period, Torakage is retired ninja. He lives his life peacefully, but turmoil comes as he becomes involved a fight over treasures.
Rock’n’Roll Mishin
6.5
HDTC

Rock’n’Roll Mishin

Kenji has a dull life. He is unmotivated at the office, and unable to break off a lukewarm relationship with his girlfriend. Then, he meets an ...
Jyukai: The Sea of Trees Behind Mt. Fuji
6.5
HDTC

Jyukai: The Sea of Trees Behind Mt. Fuji

Near the slopes of Mount Fuji, there is a so called suicide forest, an infamous place where people who are tires of living have their last breath ...
LoveDeath
6.4
HDTC

LoveDeath

Feb. 24, 2006

LoveDeath

A man and a woman are together on the ‘Chrysalis Day’, the fatal day everything in your life will be decided depends on how you spend ...
The Cycling Genius Is Coming!
5.3
TS

The Cycling Genius Is Coming!

Teru (Yuya Endo) has been brought up in a hill town and spent his childhood conquering the slopes on his bicycle. Being a cycling fanatic, who ...
April Bride
6.3
TS

April Bride

May. 09, 2009

April Bride

On April 5, 2007, a couple married in a church. At first glance, it was a typical wedding. The bride, however, was suffering from late-stage ...
Shin Godzilla
6.8
TS

Shin Godzilla

Jul. 29, 2016

Shin Godzilla

When a massive, gilled monster emerges from the deep and tears through the city, the government scrambles to save its citizens. A rag-tag team of ...
A Day on the Planet
6.5
HD Cam

A Day on the Planet

Feb. 05, 2004

A Day on the Planet

Seven friends gather at a party in Kyoto to celebrate Masamichi’s entry to graduate school. Maki & her boyfriend Nakazawa join the ...
Samurai Cat: The Movie
6.3
HD Cam

Samurai Cat: The Movie

The ever versatile Kazuki Kitamura stars as masterless samurai Kyutaro Madarame, a feared swordsman who has fallen on hard times in old Edo. ...
Outrage Coda
6.4
HD Cam

Outrage Coda

Oct. 07, 2017

Outrage Coda

Five years after the all-out war between the Sanno and Hanabishi crime families, former yakuza boss Otomo works in South Korea for Mr. Chang, a ...
Kissho Tennyo
4.3
240p

Kissho Tennyo

Jun. 30, 2007

Kissho Tennyo

A story about Sayoko Kano, a junior high school student, who is believed to be a descendent of an Indian goddess. Sayoko is a kind of femme ...
Water Flower
7.2
240p

Water Flower

Jul. 14, 2005

Water Flower

Minako is at the age where her father is more like an alien to her than a person. The situation is exacerbated when he comes home drunk one night ...
The King of Jail Breakers
5.9
HD

The King of Jail Breakers

Masayuki Suzuki (Itsuji Itao) is known as “Datsugoku Oh” (King of Escape) because of his incredible ability to escape from any ...
Lupin’s News
0
CAM

Lupin’s News

Sep. 21, 2008

Lupin’s News

The suicide of a female teacher 15 years ago was actually a murder. A new investigation team, spearheaded by Mizorogi, is formed based on new ...
Hand
7.5
360p

Hand

Sep. 16, 2022

Hand

Sawako enjoys taking photos of older men and making scrapbooks with them. Although the men she has dated have always been older than her, she has ...
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();