Chủ Nhật, 17 tháng 4, 2011

Cách xóa file *.vlx - 1 tập tin được xác định là virus - do lisp của CADVIET gây nên

Khi bạn cài các lisp trong các phiên bản cad - ví dụ các lisp Cadviet như ACV, MCV, Cadviet 2.0.......và 1 vài lisp khác; sẽ xảy ra tình trạng sau khi save file cad sinh ra 1 file acad.vlx mà các phần mềm quét virus báo là file bị nhiễm virus. Để giải quyết tình trạng này cần làm như sau:
1. Liên hệ trực tiếp với Mr Quân (0904 590 502) để được giải quyết kịp thời - với chi phí cực thấp đôi bên cùng có lợi, giá trị thanh toán không được quy đổi ra tiền mặt mà quy đổi ra đơn vị cốc - chỉ vài cốc bear thôi (vừa thoải mái vừa thân ái)
2. Các bạn dọc kỹ chỉ dẫn loằng ngoằng sau mà mạnh dạn làm thử (không chịu trách nhiệm nếu các bạn không làm đúng - vì có thể sẽ làm lỗi CAD nếu không làm đúng cách)
 - Khuyến cáo: không biết đừng làm bừa - xóa bừa


How to detect and remove the Acad.vlx virus

Issue
Users of AutoCAD-based products have reported a malicious acad.vlx file that causes drawing corruption.
Solution
This is not an actual AutoCAD file provided by Autodesk. When the malicious acad.vlx file is loaded in AutoCAD, it corrupts the drawing, which may result in a Missing Language Pack dialog box displaying when you save and reopen the drawing.
The acad.vlx file creates a copy of itself in the Help folder (for example, C:\Program Files\AutoCAD 20xx\Help\logo.gif). Several other files are also modified and the ACADLSPASDOC system variable is set to 1, allowing the acad.vlx file to be loaded into other opened drawings, thereby corrupting them.
The cleanup process outlined below detects and deletes any acad.vlx file before AutoCAD attempts to load it, preventing the spread of the virus.
To prevent additional file corruptions
You must be a system administrator on your Microsoft® Windows® operating system to complete this process.
In your product installation folder, locate the Support folder (for example, C:\Program Files\AutoCAD 20xx\Support).
In the Support folder, double-click the acad20xx.lsp file (for example, the acad20xx.lsp file). Add the code below to the file. AutoCAD will detect and delete the acad.vlx and logo.gif files.

(defun cleanvirus( / lspfiles lspfile x)
(setq lspfiles '("acad.vlx" "logo.gif"))
(foreach lspfile lspfiles
(while (setq x (findfile lspfile))
(progn
(vl-file-delete x)
(princ "\nDeleted file ")
(princ x)
);progn
);while
);foreach
)
(cleanvirus)

Open each of the following files:
C:\Program Files\AutoCAD 20xx\Express\acetauto.lsp
C:\Program Files\AutoCAD 20xx\Support\ai_utils.lsp
ROAMABLEROOTPREFIX\Support\acad.mnl
Note: Replace ROAMABLEROOTPREFIX with the value returned by the ROAMABLEROOTPREFIX system variable.

If present, delete the following line of code:
(vl-file-copy(findfile(vl-list->string'(108 111 103 111 46 103 105 102)))(vl-list->string'(97 99 97 100 46 118 108 120)))

Save each file.

Xem:
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=13742026&linkID=9240617

-------------------------------------------------$$$$$-----------------------------------------------------------




Cách chữa:
Vào thư mục:
C:\Program Files\AutoCAD 20xx\Support
Thêm đoạn mã vào các File sau và save File lại: acad20xx.lsp (acad2007.lsp, acad2008.lsp,…. acad2010.lsp…) để xóa File acad.vlx and logo.gif files. virus do lisp của Cadviet tạo nên:

(defun cleanvirus( / lspfiles lspfile x)
(setq lspfiles '("acad.vlx" "logo.gif"))
(foreach lspfile lspfiles
(while (setq x (findfile lspfile))
(progn
(vl-file-delete x)
(princ "\nDeleted file ")
(princ x)
);progn
);while
);foreach
)
(cleanvirus)


Vào Folder sau tìm và xóa đoạn code trong 2 File sau:
C:\Program Files\AutoCAD 20xx\Express\acetauto.lsp
C:\Program Files\AutoCAD 20xx\Support\ai_utils.lsp
Đoạn Code:
(vl-file-copy(findfile(vl-list->string'(108 111 103 111 46 103 105 102)))(vl-list->string'(97 99 97 100 46 118 108 120)))
 Save 2 File đó lại -----> OK

Không có nhận xét nào:

Đăng nhận xét