Skip to content

Commit c02e8e2

Browse files
Add files via upload
1 parent f9c4161 commit c02e8e2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

inc/functions/bugtraq.pl

+5-4
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ sub viewBug {
114114
}
115115
}
116116
close(SA);
117-
if (defined $output) { print $c[4]."[i] Issue saved in $copy\n"; }
117+
if (defined $output) {
118+
print "$ser\n";
119+
print $c[4]."[i] Issue saved in $copy\n"; }
118120
}
119121
###############################################################################
120122
###############################################################################
@@ -176,9 +178,8 @@ sub printBugs {
176178
$refer=~s/\=>.*//;
177179
print $c[1]." ISSUE $c[10]$refer\n";
178180
if (defined $output) {
179-
my $PT=$refer;
180-
$PT=~s/\s/\_/;
181-
$copy="$output/$PT.txt";
181+
$copy="$output/$refer.txt";
182+
$copy=~s/\s/-/g;
182183
printFile($copy, "$ser\n### $refer\n");
183184
}
184185
}

0 commit comments

Comments
 (0)