MS Edge 브라우저 내에서 사용자 컴퓨터 제조업체, 모델 및 일련 번호를 어떻게 읽을 수 있습니까?

망치다

Windows 10에서 Microsoft Edge 웹 브라우저를 사용하여 브라우저가 실행되는 컴퓨터의 제조업체 / 모델 및 일련 번호에 액세스하려면 어떻게해야합니까?

편집 : 이것은 현재 일어나고 있습니다. 내 라이브 계정에 로그인하면 내 제조업체 / 모델 / 일련 번호를 볼 수 있으므로 작업중인 프로젝트에서도이 작업을 수행 할 수 있습니다.

꼬마 요정 숲

Chrome, Firefox, Microsoft Edge와 같은 최신 브라우저를 사용하면 보안상의 이유로 스크립트를 실행할 때 이러한 종류의 요청을 자동으로 차단합니다.

그러나 이러한 하드웨어 정보는 ActiveX 컨트롤을 지원하므로 Internet Explorer를 사용하여 얻을 수 있습니다 .ActiveX 컨트롤은 Internet Explorer의 플러그인 버전입니다. ActiveX 컨트롤 보안 허점으로 인해 Internet Explorer에서 이러한 하드웨어 정보를 얻을 수 있습니다. 다음은 ActiveX 컨트롤에 대한 자세한 정보입니다. https://www.howtogeek.com/162282/what-activex-controls-are-and-why-theyre-dangerous/

ActiveX 컨트롤의 보안 취약성을 악용하여이 자바 스크립트가 작동하도록 할 수 있습니다.

<!DOCTYPE  HTML  PUBLIC  "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
      <head>
            <title></title>
            <meta  name="GENERATOR"  content="Microsoft Visual Studio .NET
7.1">
            <meta  name="vs_targetSchema"
 content="http://schemas.microsoft.com/intellisense/ie5">
      <script  id=clientEventHandlersJS  language=javascript>
<!--

function Button1_onclick() {
      var locator = new ActiveXObject ("WbemScripting.SWbemLocator");
      var service = locator.ConnectServer(".");
      var properties = service.ExecQuery("SELECT * FROM Win32_BaseBoard");
      var e = new Enumerator (properties);
      document.write("<table border=1>");
      for (;!e.atEnd();e.moveNext ())
      {
            var p = e.item ();
            document.write("<tr>");
            document.write("<td>" + p.HostingBoard + "</td>");
            document.write("<td>" + p.Manufacturer + "</td>");
            document.write("<td>" + p.PoweredOn + "</td>");
            document.write("<td>" + p.Product + "</td>");
            document.write("<td>" + p.SerialNumber + "</td>");
            document.write("<td>" + p.Version + "</td>");
            document.write("</tr>");
      }
      document.write("</table>");
}

//-->
</script>
</head>
      <body>
            <INPUT  id="Button1"  type="button"  value="Button"
 name="Button1"  language=javascript  onclick="return Button1_onclick()">
      </body>
</html> 

IE에서 경고 메시지가 표시되지만 차단 된 콘텐츠가 작동하도록 허용해야합니다. 이 코드는 Microsoft Edge를 비롯한 다른 브라우저에서는 작동하지 않습니다. 자세한 정보 : https://www.devarticles.com/c/a/JavaScript/How-to-Use-JavaScript-for-Hardware-Knowledge/1/

이것이 귀하의 질문에 대답하기를 바랍니다.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

Related 관련 기사

뜨겁다태그

보관