乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
楼主: wrha

[编程交流] acad病毒

[复制链接]

6

主题

122

帖子

118

银币

初来乍到

Rank: 1

铜币
30
发表于 2022-7-5 19:11:07 | 显示全部楼层
让我补充一下我之前的帖子,我不会加载任何内容。vlx或。fas文件。
哈!!!!
 
只需发布代码。
如果没有,那么就向人们收取$$的费用,这样你就可以支持你的说法,即它是合法的,没有腐败。你真的会感到内疚,甚至可能会因为销售升级代码而被禁止。
回复

使用道具 举报

91

主题

428

帖子

326

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-5 19:11:43 | 显示全部楼层
你是对的,
如今,依赖未知的公用事业来源在某种程度上是一个很大的风险。
 
我附上我写给搜索、查找和杀死“ACADDOC.LSP蠕虫”的程序源代码。
你可以检查它,相信它不会伤害你的电脑后,文件和程序就会使用它。
  1. ;;; KillWorm, Mehrdad Ahankhah, [url="http://www.irancad.com"]www.irancad.com[/url]
  2. (setq KillWormVersion 1.42)
  3. (setq KillWormDate "2011/01/04")
  4. (defun C:KW (/ cont kw)
  5. (setvar 'Cmdecho 0)
  6. (command "_.LOGFILEOFF")
  7. (command "_.LOGFILEON")
  8. (setq cont T)
  9. (while cont
  10. (setq cont nil)
  11. (initget "Active Passive ALL Select ? _Active Passive ALL Select ?")
  12. (setq kw (getkword "\nSelect option [Active/Passive/ALL/Select/?]: "))
  13. (cond
  14. ((= kw "Active") (C:KillActiveWorm))
  15. ((= kw "Passive") (C:KillPassiveWorm))
  16. ((= kw "ALL") (C:KillWormCompletely))
  17. ((= kw "Select") (C:KillWormSelectedDir))
  18. ((= kw "?")
  19. (textscr)
  20. (princ
  21. (strcat
  22. "
  23. Options:
  24. Active: Kill worm in the AutoCAD environment, if the worm is active.
  25. Passive: Kill worm in the AutoCAD environment, even if the worm isn't active.
  26. ALL: Kill worm in all drives.
  27. Select: Kill worm in selected folder.
  28. ?: Help")
  29. )
  30. (setq cont T)
  31. )
  32. )
  33. )
  34. (command "_.LOGFILEOFF")
  35. (setvar 'Cmdecho 1)
  36. (princ)
  37. )
  38. (defun C:KillActiveWorm ()
  39. (if (MT-WormExists)
  40. (C:KillPassiveWorm)
  41. (princ "\nNo worm found, aborting...")
  42. )
  43. (princ)
  44. )
  45. (defun C:KillPassiveWorm (/ FilesList)
  46. (MT-KillWormSources)
  47. (setq FileList (MT-FindLispFiles))
  48. (foreach lsp FileList (MT-KillWorm lsp))
  49. (princ)
  50. )
  51. (defun C:KillWormCompletely (/ FilesList) (MT-KillWormOnDrives) (princ))
  52. (defun C:KillWormSelectedDir () (MT-KillWormOnDirs (MT-GetFolder)) (princ))
  53. (defun MT-KillWormSources (/ found)
  54. (foreach Worm '("acad.vlx" "logo.gif")
  55. (while (setq found (findfile Worm))
  56. (princ (strcat (if (vl-file-delete found)
  57. "\nFile deleted successfully: ""
  58. "\nError occured while deleting file: ""
  59. )
  60. found
  61. """
  62. )
  63. )
  64. )
  65. )
  66. )

待续。。。
杀手。lsp
回复

使用道具 举报

91

主题

428

帖子

326

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-5 19:15:29 | 显示全部楼层
从我之前的威胁继续
  1. (defun MT-KillWormOnDrives ()
  2.    (foreach drive (MT-ValidDrives) (MT-KillWormOnDirs (strcat drive ":\")))
  3. )
  4. (defun MT-GetFolder (/ DirPat)
  5.    ;;(and
  6.        (setq DirPat (getfiled "Browse for folder"
  7.                                "Select a file in your desired folder"
  8.                               ;;"Open a folder and click on SAVE"
  9.                                ""
  10.                                16
  11.                      )
  12.         )
  13.         ;;(setq DirPat (substr DirPat 1 (- (strlen DirPat) 31)))
  14.    ;
  15.    (vl-filename-directory DirPat)
  16. )
  17. (defun MT-ValidDrives (/ firstdrive lastdrive n drive drives)
  18.    (princ "\nFinding valid local drives, please wait... Found: ")
  19.    (setq firstdrive (ascii "a"))
  20.    (setq lastdrive (ascii "z"))
  21.    (setq n (1- firstdrive))
  22.    (setq drives nil)
  23.    (repeat (- lastdrive n)
  24.        (princ "_")
  25.        (setq drive (chr (setq n (1+ n))))
  26.        (if (findfile (strcat drive ":\\."))
  27.            (progn (setq drives (append (list drive) drives)) (princ drive))
  28.            (princ ".")
  29.        )
  30.    )
  31.    (reverse drives)
  32. )
  33. (defun MT-KillWormOnDirs (dir / worm1 worm2 kill-it subdir)
  34.    ;;(setq dir "q:\"); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  35.    (princ (strcat "\nSearching: "" dir """))
  36.    (setq worm1 "acad.vlx")
  37.    (setq worm2 "logo.gif")
  38.    (if (vl-directory-files dir worm2 1)
  39.        (progn
  40.            (if (vl-directory-files dir worm1 1)
  41.                (foreach worm (list worm1 worm2)
  42.                    (princ
  43.                        (strcat
  44.                            (if (vl-file-delete (setq kill-it (strcat dir worm))
  45.                                )  "\nFile deleted successfully: ""
  46.                                   "\nError occured while deleting file: ""
  47.                            )
  48.                            kill-it
  49.                            """
  50.                        )
  51.                    )
  52.                )
  53.                (progn (princ (strcat "\nFound but not deleted: ""
  54.                                      dir
  55.                                      worm2
  56.                                      ""\nPlease check and delete it manually."
  57.                              )
  58.                       )
  59.                )
  60.            )
  61.        )
  62.    )
  63.    (foreach lsp '("*.lsp" "*.mnl")
  64.        (foreach lsp1 (vl-directory-files dir lsp 1)
  65.            (print lsp1)
  66.            (MT-KillWorm (strcat dir lsp1))
  67.        )
  68.    )
  69.    (foreach subdir (vl-directory-files dir nil -1)
  70.        (if (not (member subdir '("." "..")))
  71.            (MT-KillWormOnDirs (strcat dir subdir "\"))
  72.        )
  73.    )
  74. )
  75. (defun MT-FindLispFiles (/ MT-BindDir fileslist found filepath)
  76.    ;; search in search path: acadprefix
  77.    ;; ACETAUTO.LSP, AI_UTILS.LSP, and ACAD.MNL
  78.    (defun MT-BindDir (file) (findfile (strcat filepath "\" file)))
  79.    (setq filelist nil)
  80.    (if (and (setq found (findfile "acad.mnl"))
  81.             (setq filepath (vl-filename-directory found))
  82.        )
  83.        (setq filelist (append (mapcar 'MT-BindDir
  84.                                       (vl-directory-files filepath "*.mnl")
  85.                               )
  86.                               filelist
  87.                       )
  88.        )
  89.    )
  90.    (if (and (setq found (findfile "acad.exe"))
  91.             (setq filepath (strcat (vl-filename-directory found) "[url="file://support/"]\\support[/url]"))
  92.        )
  93.        (setq filelist (append (mapcar 'MT-BindDir
  94.                                       (vl-directory-files filepath "*.lsp")
  95.                               )
  96.                               filelist
  97.                       )
  98.        )
  99.    )
  100.    (if (setq filepath (strcat (getvar 'Roamablerootprefix) "support"))
  101.        (setq filelist (append (mapcar 'MT-BindDir
  102.                                       (vl-directory-files filepath "*.lsp")
  103.                               )
  104.                               filelist
  105.                       )
  106.        )
  107.    )
  108.    (if (setq found (findfile "acaddoc.lsp"))
  109.        (if (not (member found filelist))
  110.            (setq filelist (append (list found) filelist))
  111.        )
  112.    )
  113.    (if (and (setq found (findfile (getvar "dwgname")))
  114.             (setq found
  115.                      (findfile
  116.                          (strcat (vl-filename-directory found) "[url="file://acaddoc.lsp/"]\\acaddoc.lsp[/url]")
  117.                      )
  118.             )
  119.        )
  120.        (if (not (member found filelist))
  121.            (setq filelist (append (list found) filelist))
  122.        )
  123.    )
  124.    filelist
  125. )
  126. (defun MT-WormExists ()
  127.    (if (and (= flagx T) (= bz "(setq flagx t)"))
  128.        T
  129.        nil
  130.    )
  131. )
  132. (defun MT-KillWorm
  133.       (lsp / row lspfile cont WormFound line-read newlsp newlspfile)
  134.    ;; delete all instances of: ACAD.VLX and LOGO.GIF
  135.    ;; clean all instances of: ACETAUTO.LSP, AI_UTILS.LSP, and ACAD.MNL
  136.    ;; The acad.vlx file creates a copy of itself in the Help folder (for example, C:\Program Files\AutoCAD 20xx\Help\logo.gif).
  137.    (if (findfile lsp)
  138.        (progn
  139.            (setq row 0)
  140.            (if (setq lspfile (open lsp "r"))
  141.                (progn
  142.                    (setq cont T)
  143.                    (setq WormFound nil)
  144.                    (while (and cont (setq line-read (read-line lspfile)))
  145.                        (cond
  146.                            ((and (= line-read "AutoCAD PROTECTED LISP file")
  147.                                  (null (read-line lspfile))
  148.                             )
  149.                             (princ (strcat "Ignored protected lisp file: ""
  150.                                            lsp
  151.                                            """
  152.                                    )
  153.                             )
  154.                             (setq cont nil)
  155.                            )
  156.                            ((= line-read "(setq flagx t)")
  157.                             (if (not (or (= "" last-line-read)
  158.                                          (= (setq
  159.                                                 line-read (read-line lspfile)
  160.                                             )
  161.                                             "(setq bz "(setq flagx t)")"
  162.                                          )
  163.                                      )
  164.                                 )
  165.                                 (princ
  166.                                     (strcat
  167.                                         "An unpredictable condition occured in: ""
  168.                                         lsp
  169.                                         "" file. It shouldn't occure!"
  170.                                     )
  171.                                 )
  172.                             )
  173.                             (setq WormFound T)
  174.                             (setq cont nil)
  175.                            )
  176.                            (T (setq row (1+ row)))
  177.                        )
  178.                        (setq last-line-read line-read)
  179.                    )                             ; while
  180.                    (setq lspfile (close lspfile))
  181.                    (if WormFound
  182.                        (progn
  183.                            (if (= 1 row)
  184.                                (progn
  185.                                    (if (vl-file-delete lsp)
  186.                                        (princ
  187.                                            (strcat
  188.                                                "\nFile deleted successfully: ""
  189.                                                lsp
  190.                                                """
  191.                                            )
  192.                                        )
  193.                                        (princ
  194.                                            (strcat
  195.                                                "\nError occured deleting file: ""
  196.                                                lsp
  197.                                                """
  198.                                            )
  199.                                        )
  200.                                    )
  201.                                )
  202.                                (progn
  203.                                    (setq newlsp (strcat lsp ".mehretaban"))
  204.                                    (if (and (setq lspfile (open lsp "r"))
  205.                                             (setq newlspfile (open newlsp "w"))
  206.                                        )  (progn
  207.                                               (repeat row
  208.                                                   (princ (read-line lspfile)
  209.                                                          newlspfile
  210.                                                   )
  211.                                                   (princ "\n" newlspfile)
  212.                                               )
  213.                                               (princ
  214.                                                   (strcat
  215.                                                       "\n;|\nFile cleaned successfully by KillWorm "
  216.                                                       (vl-princ-to-string
  217.                                                           KillWormVersion
  218.                                                       )
  219.                                                       " - "
  220.                                                       KillWormDate
  221.                                                       " (Mehrdad Ahankhah, Mahbad Consulting Co, [url="http://www.irancad.com/"]www.irancad.com[/url])"
  222.                                                   )
  223.                                                   newlspfile
  224.                                               )
  225.                                               (setq lspfile (close lspfile))
  226.                                               (setq newlspfile (close newlspfile))
  227.                                               (if (and (vl-file-delete lsp)
  228.                                                        (vl-file-rename newlsp lsp)
  229.                                                   )  (princ
  230.                                                          (strcat
  231.                                                              "\nFile cleaned successfully: ""
  232.                                                              lsp
  233.                                                              """
  234.                                                          )
  235.                                                      )
  236.                                                      (princ
  237.                                                          (strcat
  238.                                                              "\nError occured cleaning file: ""
  239.                                                              lsp
  240.                                                              """
  241.                                                          )
  242.                                                      )
  243.                                               )
  244.                                           )
  245.                                           (progn
  246.                                               (if lspfile
  247.                                                   (setq lspfile (close lspfile))
  248.                                                   (princ
  249.                                                       (strcat
  250.                                                           "\nError occured opening file to read: ""
  251.                                                           lsp
  252.                                                           """
  253.                                                       )
  254.                                                   )
  255.                                               )
  256.                                               (if newlspfile
  257.                                                   (setq newlspfile
  258.                                                            (close newlspfile
  259.                                                            )
  260.                                                   )
  261.                                                   (princ
  262.                                                       (strcat
  263.                                                           "\nError occured opening file to write: ""
  264.                                                           newlsp
  265.                                                           """
  266.                                                       )
  267.                                                   )
  268.                                               )
  269.                                           )
  270.                                    )
  271.                                )
  272.                            )
  273.                        )
  274.                        (princ (strcat "\nFile is already clean: "" lsp """))
  275.                    )
  276.                )
  277.                (progn (princ (strcat "\nError occured opening file for read: ""
  278.                                      lsp
  279.                                      """
  280.                              )
  281.                       )
  282.                )
  283.            )                                     ; if
  284.        )
  285.        (progn (princ (strcat "Warning: ""
  286.                              lsp
  287.                              "" file not found. It shouldn't occure!"
  288.                      )
  289.               )
  290.        )
  291.    )                                             ; if
  292. )
  293. (setq msg
  294.         (strcat
  295.             "\nKillWorm, a program to kill ACAD.LSP and ACADDOC.LSP worm, version "
  296.             (vl-princ-to-string KillWormVersion)
  297.             " - "
  298.             KillWormDate
  299.             "\n\nDesigned by Mehrdad Ahankhah, Mahbad Consulting Co"
  300.             "\n\nVisit: [url="http://www.irancad.com/"]www.irancad.com[/url]"
  301.             "\n\n\n\nEnter 'KW' to run the command."
  302.         )
  303. )
  304. (alert msg)
  305. (princ msg)

 
P、 该程序比上述Killworm更新。船边交货
回复

使用道具 举报

91

主题

428

帖子

326

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-5 19:19:56 | 显示全部楼层
 
我的计划是免费的CADTutor论坛成员和观察员。我欠CADTutor的不止这些。。。
回复

使用道具 举报

91

主题

428

帖子

326

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-5 19:23:37 | 显示全部楼层
杀手。如上所述,lsp在清洗后会受到影响。LSP和。来自病毒的MNL文件,为它们接种疫苗:D。
您可以通过查看源代码了解其工作原理:wink:。
回复

使用道具 举报

44

主题

139

帖子

95

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
220
发表于 2022-7-5 19:25:10 | 显示全部楼层
thanx很多,但我仍然有那个病毒,如果你有其他东西,我们可以试试
回复

使用道具 举报

pBe

32

主题

2722

帖子

2666

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
211
发表于 2022-7-5 19:28:45 | 显示全部楼层
 
真糟糕,我在另一个论坛上看到一篇帖子,要求解决一种病毒,这种病毒会创建mnl/lsp文件,对他们的服务器造成严重破坏。在看到你的帖子之前,我从没想过会有这样的事情。
 
稍后我会查看你的代码
 
凉豆
回复

使用道具 举报

91

主题

428

帖子

326

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-5 19:31:23 | 显示全部楼层
您能告诉我们哪些消息显示有病毒(或蠕虫)阻碍autocad正常工作吗?
回复

使用道具 举报

44

主题

139

帖子

95

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
220
发表于 2022-7-5 19:34:44 | 显示全部楼层
1-当我按下scrol时,右菜单显示not pan(不平移)
2-图案填充不工作且不显示
3-缩放速度非常慢
当我使用系统变量时,当我再次打开eror com时,它会正确地防止冲突。
thanx公司
回复

使用道具 举报

91

主题

428

帖子

326

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-5 19:36:54 | 显示全部楼层
我不确定所有提到的问题都是由病毒引起的。
 
我检查了“ACAD.LSP”受蠕虫影响的计算机,但没有看到这个。 
检查“Fill”系统变量。要查看舱口,必须“打开”。命令:填充
输入模式[开/关]:开
现在您必须看到图案填充对象。
 
上述病毒不会影响缩放速度。 
英语是我的第二语言,所以我不太明白你的意思。。。
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-12 19:32 , Processed in 0.367405 second(s), 70 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表