Leung Kar-yan

Recently added

The Death Games
6.7
Mini HD

The Death Games

Dec. 26, 1997

The Death Games

Tong causes the death of a drug lord called Lion. Years later, his vengeance obsessed son Tiger Shelly (Kim-Maree Penn) are back to settle the ...
Riki-Oh 2
5.5
Mini HD

Riki-Oh 2

Jan. 01, 2005

Riki-Oh 2

An unofficial sequel to Story of Rikki. This time he is being pursue by criminals who are trying to kill the girl he loves. He must protect her ...
The Bravest Escort Group
5.6
Mini HD

The Bravest Escort Group

The story follows a band of courageous bodyguards headed by Yang Liu An, and tasked by General Ma Bao with escorting his daughter Chen Yuanyuan, ...
Deadly Duo
5.7
mHD

Deadly Duo

Jun. 22, 1978

Deadly Duo

Ah Cheng has decided to get out of this silly kung-fu business and retire with his new girlfriend. Unfortunately, everyone is out to kill him, ...
Deathnet.Com
2.6
mHD

Deathnet.Com

Sep. 29, 2000

Deathnet.Com

Policeman Ted Chan, who doesn’t have the best record on the force for cracking cases, suffers from flashbacks after witnessing the suicide ...
My Hero
5.7
WEBRip

My Hero

Mar. 22, 1990

My Hero

Sing loves to read cartoons and often daydreams of becoming a tycoon and celebrity. By accident, he becomes a follower of Wai, a gang leader, and ...
Legend of the Dragon
6.4
WEBRip

Legend of the Dragon

Mar. 07, 1991

Legend of the Dragon

Chow plays a naive young kung fu student who leaves his rural home on a small island to find his fortune in Hong Kong under the dubious guidance ...
Fight Back to School 3
6.2
WEBRip

Fight Back to School 3

Chow Sing-Sing returns, only this time he doesn’t go back to school. Instead, Chow goes undercover as the husband of a wealthy socialite, which ...
Flirting Scholar
7.6
WEBRip

Flirting Scholar

Jul. 01, 1993

Flirting Scholar

A scholar in search of true love. Disguising himself as a houseboy, he indentures himself to a rich family in order to pursue the ravishing ...
Out of the Dark
6.8
WEBRip

Out of the Dark

Jul. 06, 1995

Out of the Dark

After being haunted by his late mother for days, a landlord seeks help from a mysterious exorcist, who turns out to be an escaped mental patient.
Tiger Cage
6.7
WEBRip

Tiger Cage

Jul. 28, 1988

Tiger Cage

Something fishy is going on in the anti-Drug Trafficking Unit of the HK Police, and only a few honest cops know that the corruption goes all the ...
Satanic Crystals
5.2
WEBRip

Satanic Crystals

Jan. 01, 1989

Satanic Crystals

Two gangs of gangsters fight over a unique crystal in the jungles of Thailand!
Killer Angels
5.8
WEBRip

Killer Angels

Apr. 07, 1989

Killer Angels

Three female cops form a special unit and get their main witness out of the clutches of a gang. The witness holds the key to Chu Chung Sing, a ...
Shogun and Little Kitchen
4.8
WEBRip

Shogun and Little Kitchen

Bo is the owner of an old building in Hong Kong. He sublets his building to other people, and even though they never pay rent on time, Bo still ...
Justice, My Foot!
6.8
WEBRip

Justice, My Foot!

Jul. 02, 1992

Justice, My Foot!

An unscrupulous lawyer with an equally eccentric kung-fu sidekick wife tries to bring justice to the court.
Enter the Fat Dragon
6.6
WEBRip

Enter the Fat Dragon

Jul. 13, 1978

Enter the Fat Dragon

Ah Lung is a pig farmer and a devoted Bruce Lee fan who is anxious to follow in Lee’s footsteps, but only ridiculed for his attempts. He is ...
Warriors Two
7.2
WEBRip

Warriors Two

Dec. 28, 1978

Warriors Two

In an attempt to save his village from being taken over by brutes, Wah is beaten to a pulp and his mother brutally murdered. Determined to take ...
Top Fighter
6.2
WEBRip

Top Fighter

Jun. 15, 1995

Top Fighter

Welcome to the world of the martial arts. A voyage for the times of the martial arts cinema, from the beginning in China in the 6th Century A.C. ...
Knockabout
7.2
SD

Knockabout

Apr. 12, 1979

Knockabout

After being cheated out of some money, two small time crooks convince a martial arts expert to take them on as students.
Odd Couple
7.1
SD

Odd Couple

Aug. 09, 1979

Odd Couple

Hailed as possibly the greatest classical weapons movie ever made and starring world-renowned martial arts master, director and ...
His Name is Nobody
5.7
SD

His Name is Nobody

Aug. 16, 1979

His Name is Nobody

Lau Kar-Wing plays “Nobody”, an orphan who grows up stealing food to survive, learning some meagre skills as a con artist. When he ...
The Victim
7.2
SD

The Victim

Feb. 28, 1980

The Victim

Chung Yao, a martial arts expert, has long been on the run from his stepbrother, who he caught trying to rape his wife on their wedding night. ...
The Shaolin Avengers
6.2
SD

The Shaolin Avengers

Jun. 18, 1976

The Shaolin Avengers

Heroism and romance combine in an action-packed martial arts story. When the Shaolin are betrayed by White-Browed Hermit, hotheaded warrior-hero ...
Ip Man 3
7
240p

Ip Man 3

Dec. 24, 2015

Ip Man 3

When a band of brutal gangsters led by a crooked property developer make a play to take over the city, Master Ip is forced to take a stand.
Kung Fu Dunk
4.8
HD

Kung Fu Dunk

Feb. 07, 2008

Kung Fu Dunk

Shi-Jie is a brilliant martial artist from the Kung Fu School. One day, he encounters a group of youths playing basketball and shows off how easy ...
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();