Vulnerability Development mailing list archives

Re: Generating Hex Numbers to brute force rs_iis.c


From: Blue Boar <BlueBoar () thievco com>
Date: Tue, 01 Apr 2003 11:58:55 -0800

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


Current thread: