























魔改chromium源码——CDP(Chrome DevTools Protocol)检测01环境检测网站,https: - 掘金
BrowserScan - Robot Detection/WebDriver | BrowserScan
BrowserScan detects automated activities on scripts or browsers. It analyzes various browser properties to determine whether the browser environment is controlled by a robot. Various human-machine verification products such as Cloudflare Turnstile and Google reCAPTCHA include this aspect of detection, which is usually divided into three categories:
Bot Detection Service
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
<title>Chrome DevTools Protocol Detection</title>
</head>
<body>
<div>devTool:<b id="status"></b></div>
<script>
const el = document.getElementById('status')
const hook = new Error()
Object.defineProperty(hook, "stack", {
get: function () {
el.innerText = '打开了'
return num;
}
});
function isOpenDevTool() {
el.innerText = '未打开'
console.debug(hook);
}
isOpenDevTool()
</script>
</body>
</html>
这段代码的检测能力非常强,我们尝试用自动化框架去打开cdp.html,即便我们不打开devtool,他也会检测到你是机器人。
The console.debug() static method outputs a message to the console at the "debug" log level. The message is only displayed to the user if the console is configured to display debug output. In most cases, the log level is configured within the console UI. This log level might correspond to the Debug or Verbose log level.
/src/v8/src/inspector/v8-console.cc

chromium指纹魔改 - Nickname肖知寒的专栏 - 掘金
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。