POV-Ray : Newsgroups : povray.programming : Hackers... (Howto "not being hacked with povray") Server Time
28 Jul 2024 22:23:42 EDT (-0400)
  Hackers... (Howto "not being hacked with povray") (Message 31 to 40 of 44)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 4 Messages >>>
From: Warp
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 20 Nov 2000 05:41:11
Message: <3a18ffc7@news.povray.org>
Francois Dispot <woz### [at] club-internetfr> wrote:
: Wow, Solaris seems to be a lucky OS...

  The only Unix OS I have heard that crashes when it runs out of memory
is Linux.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Simon Lemieux
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 21 Nov 2000 20:21:09
Message: <3A1B1FB9.C05443BE@yahoo.com>
>   It could also be a part of an identifier name.
> 
> #declare numberofopencylinders = 10;

As I said to simplify the programmation, that would not be allowed...

you should rather write numberOfOpenCylinders (if "*fOpen*" is allowed) or
nOpenCylinder... etc...

I hope you all understand it would be rather stupid to code something that would
understand if it's not the function fopen, while I haven't code half the main
program! ;)

-- 
+-------------------------+----------------------------------+
| Simon Lemieux           | Website : http://www.666Mhz.net  |
| Email : Sin### [at] 666Mhznet | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+


Post a reply to this message

From: Simon Lemieux
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 21 Nov 2000 20:25:20
Message: <3A1B20B4.1499B658@yahoo.com>
>   The only Unix OS I have heard that crashes when it runs out of memory
> is Linux.

I guess it depends on a few things, because I have RedHat 6.1 installed and I
tested it very much to make it crash and the only way I found was to play with
my 3dfx acceleration and even then I'm not sure if the computer is crashed or if
it's only the video that is...

When I start a 3dfx program, at the beginning it prints "unprotecting memory",
holds for ~1 second and start...  if I kill the program when it's unprotecting
the video memory, the video freezes...  

And that's the only crash I found...  there are some bugs that can hang the
computer for some time such as when the memory is getting very low... etc... but
nothing serious...

-- 
+-------------------------+----------------------------------+
| Simon Lemieux           | Website : http://www.666Mhz.net  |
| Email : Sin### [at] 666Mhznet | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+


Post a reply to this message

From: Warp
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 22 Nov 2000 09:14:14
Message: <3a1bd4b6@news.povray.org>
I think that the most secure way of finding a true fopen is (using
regular expressions):

  (^|[^0-9A-Za-z])fopen($|[^0-9A-Za-z])

  I think that there's a shortcut in perl for [^0-9A-Za-z] but I don't
remember which it was.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Warp
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 22 Nov 2000 09:15:35
Message: <3a1bd507@news.povray.org>
My information may be pretty old (several years). Of course bugs are
fixed and features improved over the time.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Warp
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 22 Nov 2000 09:18:49
Message: <3a1bd5c9@news.povray.org>
Note: If the "fopen" is inside a string, it will match that too...

  Making it ignore the word "fopen" if it appears inside a string may be
a lot harder.
  It may be too risky to even try, anyways (there may be too many ways for
fooling the filter to think that the fopen is inside a string when it actually
isn't).

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ron Parker
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 22 Nov 2000 09:49:14
Message: <slrn91nn7c.ebe.ron.parker@fwi.com>
On 22 Nov 2000 09:14:14 -0500, Warp wrote:
>  I think that the most secure way of finding a true fopen is (using
>regular expressions):
>
>  (^|[^0-9A-Za-z])fopen($|[^0-9A-Za-z])
>
>  I think that there's a shortcut in perl for [^0-9A-Za-z] but I don't
>remember which it was.

\W


-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

From: Warp
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 22 Nov 2000 10:18:17
Message: <3a1be3b9@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
:>  (^|[^0-9A-Za-z])fopen($|[^0-9A-Za-z])

: \W

  Right. The regular expression gets much simpler with that:

  (^|\W)fopen($|\W)

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Warp
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 22 Nov 2000 10:22:26
Message: <3a1be4b2@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
:   (^|\W)fopen($|\W)

  Well, if we are using perl, we can simplify that even more:

  \bfopen\b

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Simon Lemieux
Subject: Re: Hackers... (Howto "not being hacked with povray")
Date: 23 Nov 2000 08:10:17
Message: <3A1D1781.90C5D8FD@yahoo.com>
>   My information may be pretty old (several years). Of course bugs are
> fixed and features improved over the time.

I guess so...  my computer is running at 100% of CPU power since a few weeks
24/24 7/7...  And never crashed, I even used to overclock the cpu at some early
times... but I fried my 3dfx... <grin>  so got another 3dfx and stopped
overclocking...  (Celeron 433 could got up to 546mhz!!)  Actually that is not
absolutely true, I rebooted when my 30-days-of-render animation finished... to
prevent any inconvenient...  and as soon as it was ready I started another
animation... that one took only 4 days...

;)

Simon

-- 
+-------------------------+----------------------------------+
| Simon Lemieux           | Website : http://www.666Mhz.net  |
| Email : Sin### [at] 666Mhznet | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 4 Messages >>>

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