{"id":5556,"date":"2017-04-11T15:55:40","date_gmt":"2017-04-11T12:55:40","guid":{"rendered":"http:\/\/msbro.ru\/?p=5556"},"modified":"2017-04-14T16:13:50","modified_gmt":"2017-04-14T13:13:50","slug":"poisk-fajjlov-na-autoit","status":"publish","type":"post","link":"https:\/\/msbro.ru\/index.php\/archives\/5556","title":{"rendered":"\u041f\u043e\u0438\u0441\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 Autoit"},"content":{"rendered":"<p>\u0417\u0430\u0434\u0430\u0447\u0430 &#8211; \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442 \u043f\u043e \u0444\u0430\u0439\u043b\u0430\u043c \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0438\u0449\u0443\u0442\u0441\u044f \u0444\u0430\u0439\u043b\u044b \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u0441\u043a\u0435. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0432 \u0434\u043e\u043c\u0435\u043d\u0435.<\/p>\n<p><!--more--><\/p>\n<p>\u0424\u0430\u0439\u043b\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e \u044d\u0442\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435:\u00a0<a href=\"http:\/\/msbro.ru\/wp-content\/uploads\/2017\/04\/MSBRO_FileSearch.zip\">MSBRO_FileSearch<\/a><\/p>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre>#NoTrayIcon\r\n #include &lt;Array.au3&gt;\r\n #include &lt;File.au3&gt;\r\n #include &lt;MsgBoxConstants.au3&gt;\r\n #include&lt;Date.au3&gt;\r\n #include &lt;WinAPIFiles.au3&gt;\r\nSleep(1400)\r\n;\u043f\u0443\u0442\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432\r\n$myRegX86 = 'HKEY_LOCAL_MACHINE\\SOFTWARE\\MSBRO'\r\n$myRegX64 = 'HKEY_LOCAL_MACHINE64\\SOFTWARE\\MSBRO'\r\n$myRegPath =''\r\n$my_Files = ''\r\n\r\n;\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u041e\u0421 - \u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u0443\u0442\u0435\u0439 \u0447\u0442\u0435\u043d\u0438\u044f \u0440\u0435\u0435\u0441\u0442\u0440\u0430\r\n;\u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 Install = yes \u0442\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443\r\nIf Not StringInStr(@OSArch, \"X86\") Then\r\n$myRegPath = $myRegX64\r\nElse\r\n$myRegPath = $myRegX86\r\nEndIf\r\n\r\n;Install - \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f yes\/no\/\u043d\u0435_\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e\r\n;\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438\r\n$Install = RegRead($myRegPath, \"FileSearch_Install\")\r\nIf Not StringInStr($Install, \"yes\") Then\r\nexit\r\nElse\r\n;\u0447\u0442\u0435\u043d\u0438\u0435 \u0438\u0437 \u0440\u0435\u0435\u0441\u0442\u0440\u0430\r\nLocal $my_FilterFiles = RegRead($myRegPath, \"FileSearch_FilterFiles\")\r\nLocal $my_Exclude = RegRead($myRegPath, \"FileSearch_Exclude\")\r\nLocal $my_FileReport = RegRead($myRegPath, \"FileSearch_ReportPath\") &amp; \"\/\" &amp; @ComputerName &amp; \"-\" &amp; @username &amp; \".txt\"\r\nLocal $my_Search_Drive = RegRead($myRegPath, \"FileSearch_Drive\")\r\nLocal $my_StartDelay = RegRead($myRegPath, \"FileSearch_StartDelay\")\r\nEndIf\r\n\r\nSleep($my_StartDelay)\r\nLocal $my_Date = 'DATE:'&amp;@MDAY&amp;\":\"&amp;@MON&amp;\":\"&amp;@YEAR&amp;' TIME:'&amp;@HOUR&amp;':'&amp;@MIN&amp;':'&amp;@SEC\r\nLocal $my_FindFiles = $my_FilterFiles &amp; \"||\" &amp; $my_Exclude\r\nmyFuncSearch()\r\n\r\nFunc myFuncSearch()\r\nLocal $aArray, $aDrives = DriveGetDrive($my_Search_Drive)\r\nIf @error = 0 Then\r\nFor $i = 1 To $aDrives[0]\r\n$aArray = _FileListToArrayRec($aDrives[$i] &amp; \"\", $my_FindFiles, 13, 1, 1, 2)\r\nIf @error Then\r\n$my_a = \"Not found\"\r\nContinueLoop\r\nEndIf\r\nFor $j = 1 To $aArray[0]\r\n$my_Files = $aArray\r\nNext\r\nNext\r\nEndIf\r\nEndFunc\r\n\r\n;If Not FileExists($my_FileReport) Then _FileCreate($my_FileReport)\r\n;FileDelete ( $my_FileReport)\r\n\r\nFileOpen ($my_FileReport, 2)\r\nFileWrite($my_FileReport, \"---------------------------------\" &amp;@CRLF)\r\nFileWrite($my_FileReport, \"+ \" &amp;$my_Date &amp;\" +\" &amp;@CRLF)\r\nFileWrite($my_FileReport, \"---------------------------------\" &amp;@CRLF)\r\nFileWrite($my_FileReport, \" \" &amp; @CRLF)\r\nFileClose($my_FileReport)\r\n\r\n; \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0444\u0430\u0439\u043b \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0442\u043e\u0440\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\r\nLocal $my_Temp = FileOpen($my_FileReport, 1) ; 1 = \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\r\n_FileWriteFromArray($my_Temp, $my_Files, 1)\r\nFileClose($my_FileReport)\r\n\r\n;ShellExecute($my_FileReport)\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u0441\u043a\u0440\u0438\u043f\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 EXE \u0444\u0430\u0439\u043b \u0438 \u0447\u0435\u0440\u0435\u0437 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u044b\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.<\/p>\n<p>\u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0439 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a exe \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>\u0432\u0430\u0436\u043d\u043e \u0447\u0442\u043e\u0431\u044b exe \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0441\u044f \u0438\u0437 \u043f\u043e\u0434 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>\u0434\u0430\u043b\u0435\u0435 \u043b\u0438\u0431\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f reg \u0444\u0430\u0439\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f (\u043b\u0438\u0431\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435 \u0447\u0435\u0440\u0435\u0437 GPO) \u0438 \u044d\u0442\u043e\u0442 reg \u0444\u0430\u0439\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0435\u0441\u0442\u0440:<\/p>\n<p>Windows Registry Editor Version 5.00<\/p>\n<pre>[HKEY_LOCAL_MACHINE\\SOFTWARE\\MSBRO]\r\n\"FileSearch_FilterFiles\"=\"*.doc;*.docx;*.xls;*xlsx;*pdf;*.pst\"\r\n\"FileSearch_Exclude\"=\"Windows;RECYCLE.BIN;Program Files (x86);Program Files;ProgramData;Temp;Games\"\r\n\"FileSearch_ReportPath\"=\"\\\\\\\\srv-share-01\\\\my_shares$\\\\Files_on_Computers\"\r\n\"FileSearch_Install\"=\"yes\"\r\n\"FileSearch_Drive\"=\"FIXED\"\r\n\"FileSearch_StartDelay\"=hex(b):10,27,00,00,00,00,00,00\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0413\u0434\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442:<\/p>\n<p>&#8220;FileSearch_FilterFiles&#8221; &#8211; \u0442\u0438\u043f\u044b \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u043e \u043c\u0430\u0441\u043a\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0449\u0443\u0442\u0441\u044f<br \/>\n&#8220;FileSearch_Exclude&#8221;\u00a0&#8211; \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u043f\u043a\u0438 \u0438\u0437 \u043f\u043e\u0438\u0441\u043a\u0430<br \/>\n&#8220;FileSearch_ReportPath&#8221; &#8211; \u043f\u0443\u0442\u044c \u043a\u0443\u0434\u0430 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0442\u0447\u0435\u0442\u044b<br \/>\n&#8220;FileSearch_Install&#8221; &#8211; \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d \u043b\u0438 \u043f\u043e\u0438\u0441\u043a (YES \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d)<br \/>\n&#8220;FileSearch_Drive&#8221; &#8211; \u043d\u0430 \u043a\u0430\u043a\u0438\u0445 \u0434\u0438\u0441\u043a\u0430\u0445 \u0438\u0441\u043a\u0430\u0442\u044c (FIXED &#8211; \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442 \u0447\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0436\u0435\u0441\u0442\u043a\u0438\u0445 \u0434\u0438\u0441\u043a\u0430\u0445)<br \/>\n&#8220;FileSearch_StartDelay&#8221; &#8211; \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u0430 (\u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u043b\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443. \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c 5-30 \u043c\u0438\u043d\u0443\u0442)<\/p>\n<p>\u0412 \u043f\u0430\u043f\u043a\u0435\u00a0\\srv-share-01\\my_shares$\\Files_on_Computers \u0431\u0443\u0434\u0443\u0442 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432\u0430\u043c\u0438 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0441 \u043e\u0442\u0447\u0435\u0442\u0430\u043c\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0430:<\/p>\n<pre><em>---------------------------------<\/em>\r\n<em>+ DATE:24:03:2017 TIME:12:21:14 +<\/em>\r\n<em>---------------------------------<\/em>\r\n<em>c:\\Soft\\Lan\\DP_LAN_Intel_16060\\Intel\\FORCED\\5x64\\PRO100\\RIS_INF\\e100b645.zip<\/em>\r\n<em>c:\\Soft\\Lan\\DP_LAN_Intel_16060\\Intel\\FORCED\\5x64\\PRO1000\\RIS_INF\\e1000645.zip<\/em>\r\n<em>c:\\Soft\\Lan\\DP_LAN_Intel_16060\\Intel\\FORCED\\5x64\\PROXGBx\\RIS_INF\\ixt51x64.zip<\/em>\r\n<em>c:\\Soft\\Lan\\DP_LAN_Intel_16060\\Intel\\FORCED\\5x86\\OLD\\cat.7z<\/em>\r\n<em>c:\\H.265 Cameras Datasheets\\Cameras\\Datasheet IPC6125-WDL-P,D.pdf<\/em>\r\n<em>c:\\H.265 Cameras Datasheets\\Cameras\\Datasheet__IPC6224-VRZ(-IR).pdf<\/em>\r\n<em>c:\\H.265 Cameras Datasheets\\Cameras\\Datasheet__IPC6225-VRZ(-SP).pdf<\/em>\r\n<\/pre>\n<p>\u0432\u0440\u043e\u0434\u0435 \u0432\u0441\u0435<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u043d\u0430 PowerShell\u00a0<a href=\"http:\/\/msbro.ru\/index.php\/archives\/5588\">http:\/\/msbro.ru\/index.php\/archives\/5588<\/a>\u00a0\u043d\u043e \u043f\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0432\u0441\u0435 \u0436\u0435 \u043b\u0443\u0447\u0448\u0435 \u0432\u0437\u044f\u0442\u044c Autoit \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 EXE \u0444\u0430\u0439\u043b.<\/p>\n<p>\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043d\u0430\u0434\u0435\u0436\u043d\u0435\u0435.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0417\u0430\u0434\u0430\u0447\u0430 &#8211; \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442 \u043f\u043e \u0444\u0430\u0439\u043b\u0430\u043c \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0438\u0449\u0443\u0442\u0441\u044f \u0444\u0430\u0439\u043b\u044b \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u0441\u043a\u0435. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0432 \u0434\u043e\u043c\u0435\u043d\u0435.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[1833],"class_list":["post-5556","post","type-post","status-publish","format-standard","hentry","category-scripts","tag-autoit"],"_links":{"self":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/5556"}],"collection":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/comments?post=5556"}],"version-history":[{"count":2,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/5556\/revisions"}],"predecessor-version":[{"id":5595,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/5556\/revisions\/5595"}],"wp:attachment":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/media?parent=5556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/categories?post=5556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/tags?post=5556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->