You are here: Re: Internet Protocol Address Generator « All PHP « IT news, forums, messages
Re: Internet Protocol Address Generator

Posted by Oli Filth on 04/03/06 05:54

d43m0n@shaw.ca said the following on 03/04/2006 02:48:
> How is this code 'bad'?

Let's see:

* Testing integer loop variables against strings.

* Not using the built-in function long2ip().

* The erroneous isset() checking.

* The rather arbitrary-seeming loop logic which counts up from $oct[X]
to 255 independently for each X, which means that given (for instance)
$oct[0,1,2,3] = {254,254,254,254}, we get the following result:

254.254.254.254
254.254.254.255
254.254.255.254
254.254.255.255
254.255.254.254
etc.

What is the benefit of this style of counting????


> If you can generate ip addresses, it makes hacking that much eiser.

Why?


> Every machine has some form of exploitable method, and with the use of
> php, you can further exploit machines more machines.

What makes you think that anyone on this NG is interested in fucking
around with other people's computers?


> So whats your issue... no one just bitches about a topic without
> further expression. (Don't be jelous.)

Jealous of what, exactly? Your ability to write a loop? ;)


--
Oli

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация