OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Generating Hex Numbers to brute force rs_iis.c

From: Blue Boar (BlueBoarthievco.com)
Date: Tue Apr 01 2003 - 13:58:55 CST


Jeremy Junginger wrote:
> 1) generate Hex Numbers from 0x0000 to 0xffff in the following pattern
> (0x0000 0x0101 0x0202...0xfdfd 0xfefe 0xffff)
> 2) pass the output to rs_iis via system() command?

Alright... some April 1st perl golf.

Could you show an example run for part2? would it simply be:

rs_iis 0x0000

for example?

For part 1, I think I've got a 36. Any better? (Shouldn't be too hard,
I'm not that good a perl golfer.)

for(1..255){printf("0x%x%x
",$_,$_)}

                                                BB