home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Reverse Code Engineering RCE CD +sandman 2000
/
ReverseCodeEngineeringRceCdsandman2000.iso
/
RCE
/
Stone
/
STONE.PL
< prev
next >
Wrap
Perl Script
|
2000-05-25
|
1KB
|
47 lines
#!/bin/perl -n
$on=0 if m,</table,;
next if /<meta name="generator/i;
s,href="javascr.*server reports that this file cannot be found.+location='([^']+)'"(\s*tppabs\S+)*(\s*[^>]*)>,href="$1$3>"not found: ,;
s,href="javascr.*outside the boundaries set for its Starting A.+location='([^']+)'"(\s*tppabs\S+")*,href="$1",;
if ($on) {
$td+=/<td/;
s,\s*</t[dr]>\s*,,;
s/<td align="center"/<td/;
s/(<td width=)"\d+"/$1"100"/ if $td==1;
s/(<td width=)"\d+"/$1"480"/ if $td==2;
s/^\s*height[^>]+>//;
s/\s*height[^>]+>/>/;
s/<p\s*$//;
s,</p>\s*$,,;
s,</font>,,g;
s/^\s*align="left">//;
s/\s*<font[^>]+>//g;
s/\s*<font[^>]+$//;
s/^\s*face=[^>]+>//;
s/^\s*size=[^>]+>//;
s/^\s*color=[^>]+>//;
s/^\s*color=[^>]+$//;
s, tppabs="http://www.cracking.net[^>]+,,;
s/ \s*$//g;
s/^\s+//;
next if /^$/;
$x = " ";
$x = " ",$td=0 if /<tr/;
$x = " " if /<td/;
print $x;
}
s,(<table.*width=)"\d+,\n<BR>$1"580,;
s,<p[^>]*>\s* \s*(</p>)*,,g;
s,<div[^>]*>(<center>)*,,;
s,\s*</div>,,;
s,\s*</center>,,;
next if /^$/;
$_ .= "\n" if !/\n/;
print $_;
$on += /<table/;