Skip to content

Instantly share code, notes, and snippets.

@jauderho
Created June 11, 2010 07:53
Show Gist options
  • Save jauderho/434219 to your computer and use it in GitHub Desktop.
Save jauderho/434219 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
my @array;
open(FILE,"sessionstore.bak");
for (<FILE>) {
(@array) = split(/,{/,$_);
}
# extract everything that looks like a url
for $line (@array) {
my $f;
($f) = ($line =~ /"url":"([^"]*)"/);
print "$f \n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment