|
|
Log in / Subscribe / Register

Follow up: How to write a Linux virus

Follow up: How to write a Linux virus

Posted Feb 13, 2009 17:01 UTC (Fri) by nix (subscriber, #2304)
In reply to: Follow up: How to write a Linux virus by hppnq
Parent article: Follow up: How to write a Linux virus

Yeah. And if you have an interpreter for .desktop files, pointed to by a hashbang line, they will *become* real executables, just like shell scripts or Perl scripts are.

(Without said interpreter, the idea is useless.)


to post comments

Follow up: How to write a Linux virus

Posted Feb 16, 2009 8:57 UTC (Mon) by aleXXX (subscriber, #2742) [Link] (2 responses)

I think xdg-open can "start" desktop files.

Alex

Follow up: How to write a Linux virus

Posted Feb 16, 2009 10:11 UTC (Mon) by hppnq (guest, #14462) [Link]

Brilliant, it can open www.pentagon.gov as well as /tmp/britney.png.

Follow up: How to write a Linux virus

Posted Feb 16, 2009 20:17 UTC (Mon) by nix (subscriber, #2304) [Link]

Can it? How?

(Anyway, shell scripts cannot be interpreters for other shell scripts:
we'd need an actual binary for this job.)


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds