Skip to content

Instantly share code, notes, and snippets.

@0xbadjuju
Created January 27, 2020 20:40
Show Gist options
  • Save 0xbadjuju/6a20bb526c2eed98e13e4cd4bc952d90 to your computer and use it in GitHub Desktop.
Save 0xbadjuju/6a20bb526c2eed98e13e4cd4bc952d90 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use warnings;
my $i = 0;
my $start_position = 0;
my $end_position = 8;
my $pattern = "11111111";
my $dec_start = 286331153;
my $dec_end = 4294967295;
my $count = $dec_start + 5000/8;
for ($i = $dec_start; $i <= $count; $i++)
{
printf("%x",$i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment