Ray Lui

Recently added

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, ...
Firestorm
6.2
mHD

Firestorm

Dec. 12, 2013

Firestorm

Hong Kong. When Cao Nan and his group of thieves rob an armored car in broad daylight, they don’t hesitate to murder innocent people on the ...
Rape and Die
4.6
WEBRip

Rape and Die

Mar. 11, 1983

Rape and Die

Ah-feng is a teenager who is raped by her Mother’s boyfriend. Following her subsequent pregnancy she decides to seek revenge.
End of the Road
5.8
WEBRip

End of the Road

Sep. 08, 1993

End of the Road

Simon Yam is the greatest and craziest illegal road racer in Hong Kong.
The Tipping Point
0
WEBRip

The Tipping Point

Nov. 11, 2022

The Tipping Point

A female college student falls from a building in a bizarre manner. Cheng Rui, the deputy captain of the Criminal Investigation Detachment who ...
The Informer
6.5
SD

The Informer

May. 10, 1980

The Informer

Wang Chung plays the standard level-headed cop in charge of a rag-tag bunch of misfits and stereotypes (the coward, the playboy, etc.) who are ...
A Grand Statement
0
SD

A Grand Statement

Jan. 16, 1981

A Grand Statement

A Grand Statement is a Hong Kong Crime-Thriller starring Kent Cheng.
Murderer Pursues
6
SD

Murderer Pursues

Jun. 26, 1981

Murderer Pursues

A fascinating crime saga of a Sino-Vietnamese crime gang. Danny Lee stars as a misunderstood refugee while Ray Lui plays a cop struggling against ...
Mobfix Patrol
6.3
SD

Mobfix Patrol

Oct. 29, 1981

Mobfix Patrol

This is an atypical police film from 1981 and an opportunity to see a younger Kent Cheng playing a policeman.
Funny Boys
0
SD

Funny Boys

Oct. 07, 1982

Funny Boys

Funny Boys is a Hong Kong Comedy-Drama starring Kent Cheng and Danny Lee.
Beloved Daddy
6.1
SD

Beloved Daddy

Oct. 26, 1984

Beloved Daddy

The trials and tribulations of men having just survived a divorce is told in this delightful comedy.
Walk on Fire
5.9
240p

Walk on Fire

Jun. 24, 1988

Walk on Fire

Sergeant Kwok Wah (Andy Lau) and Ho Lung (Ray Lui) are both colleagues and best friends. Ho Lung has developed hatred with a gang leader Dick. ...
Legend of the Brothers
6.8
240p

Legend of the Brothers

Chronicles the rise of two brothers from their start in the 1940’sas illegal immigrants from China to the 1970’s when they became the ...
Vendetta
6
240p

Vendetta

Jan. 01, 1993

Vendetta

A robber is arrested and his two siblings are shot dead by a cop. Same day, the cop’s wife gives birth to twins. The babies have birthmarks ...
Lord Of East China Sea
6.7
240p

Lord Of East China Sea

The story of the rise to prominence of Luk, a Shanghai fruitseller who became one of the most powerful men in China in the first half of the 20th ...
Lord Of East China Sea II
6.9
240p

Lord Of East China Sea II

The continuing saga of the life of one of the most powerful men in China in the first half of the 20th Century. By the late 1920’s, Luk has ...
Man of the Times
5.5
240p

Man of the Times

Aug. 28, 1993

Man of the Times

A look at the life and times of Chan Chi Chiu–an ambitious cop’s journey to become the highest ranking officer in Hong Kong.
A Roof with a View
6.3
240p

A Roof with a View

Sep. 16, 1993

A Roof with a View

Softcore star Veronica Yip Yuk-hing stars in this mainstream romantic melodrama, directed by Tony Au, as Hiu-tung, a naïve young wife who is ...
Hero of Hong Kong 1949
5
240p

Hero of Hong Kong 1949

In 1949, Gong Chan Dang domain the mainland China and many people moved to Hong Kong during this period, especially the soldier of Guo Min Dang. ...
Flash Point
6.7
240p

Flash Point

Jul. 26, 2007

Flash Point

Detective Sergeant Ma Jun, known for dispensing his own brand of justice during arrests, teams up with an undercover cop, Wilson, to try and ...
To Be Number One
7.2
HD

To Be Number One

Apr. 15, 1991

To Be Number One

The story of Ho, a chinese peasant/slave worker who escapes to Hong Kong and becomes one of the most feared crime bosses in Hong Kong.
Heroes Return
4.2
CAM

Heroes Return

Sep. 15, 2021

Heroes Return

Warm and justice veteran Wu Wei, chemical expert Xu Zhilan, undercover detective Gao Tianming and others set up a temporary special operation ...
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();