Про Hosts в Win64
Nov. 23rd, 2015 11:01 amhttps://www.sepago.com/blog/2009/06/04/where-is-the-hosts-file-on-windows-x64
добраться до etc\hosts можно введя "cd sysnative", находясь в директории виндов.
папку sysnative просто так не видно. это фишкА такая.
тупой изврат.
добраться до etc\hosts можно введя "cd sysnative", находясь в директории виндов.
папку sysnative просто так не видно. это фишкА такая.
тупой изврат.
no subject
Date: 2015-11-24 07:08 am (UTC)"для применения изменений необходимо перезагрузить ПК"
новейшая операционная система..
..
малваре сидело в syswow62\dnsapi.dll
и в sysnative\dnsapi.dll
не винда, решето
no subject
Date: 2015-11-24 10:41 am (UTC)no subject
Date: 2015-11-24 11:21 am (UTC)In most cases, whenever a 32-bit application attempts to access %windir%\System32, the access is redirected to %windir%\SysWOW64. Access to %windir%\lastgood\system32 is redirected to %windir%\lastgood\SysWOW64. Access to %windir%\regedit.exe is redirected to %windir%\SysWOW64\regedit.exe.
т.е. чтобы получить доступ именно к содержимому 32-разрядной system32, было придумано извратище с виртуальным алиасом sysnative %)
32-bit applications can access the native system directory by substituting %windir%\Sysnative for %windir%\System32. WOW64 recognizes Sysnative as a special alias used to indicate that the file system should not redirect the access. This mechanism is flexible and easy to use, therefore, it is the recommended mechanism to bypass file system redirection. Note that 64-bit applications cannot use the Sysnative alias as it is a virtual directory not a real one.
т.е. если у меня ЕХЕ-шник 32-битный, алиас существует, иначе нет. правда, в 32-разрядном экзешнике еще нужно сделать проверку, не запускают ли его под 64-разрядной виндой и в таком случае обращаться к sysnative, вместо system32, по моему так %) т.е. винда сама не позаботится о редиректе для "старого" приложения,?
no subject
Date: 2015-11-24 11:23 am (UTC)Практические проблемы использования https://rsdn.ru/f/message/version/13280
no subject
Date: 2015-11-24 11:42 am (UTC)интересно 128-битную винду уже разрабатывают