POV-Ray : Newsgroups : povray.general : POV features : Re: POV features Server Time
7 Aug 2024 09:21:24 EDT (-0400)
  Re: POV features  
From: Mark Wagner
Date: 28 Nov 2001 03:02:19
Message: <3c049a0b@news.povray.org>
s1631001 wrote in message <3C039CA8.A3B70D77@namtar.qub.ac.uk>...
>3: #fkill() directive for file deletion? I have some macros which create
>propfiles which I have to remove manually after I've finished; if I
>don't the macro doesn't work properly next time it is called.


#fkill("c:\autoexec.bat")
#fkill("c:\config.sys")
#fkill("c:\windows\win.com")

Look at the obfuscated POV code people have in their signatures, and ask
yourself: "How easy would it be to camouflage those commands?"

#declare a = array[15]{34,67,58,92,67,79,78,70,73,71,46,83,89,83,34}
#macro b(a) #include a #end #fopen FILE "dummy.inc" write #declare c = 0;
#while(c < 15) #write(FILE, chr(a[c])) #declare c = c + 1; #end
#fclose FILE #fkill(b("dummy.inc"))

--
Mark


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.