Skip to content

Commit

Permalink
Fixed variable name mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
wireghoul committed Nov 9, 2016
1 parent fe8aebc commit 2e3a821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DotDotPwn/Fingerprint.pm
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ sub OS_type{

my @unixes=('linux','bsd','solaris','aix','irix','mac','unix');
my @windoz=('windows','micosoft');
if (grep /$OS_type/i, @unixes ) {
if (grep /$OS_string/i, @unixes ) {
return "unix";
} elsif (grep /$OS_type/i, @windoz) {
} elsif (grep /$OS_string/i, @windoz) {
return "windows";
} else {
return "generic";
Expand Down

0 comments on commit 2e3a821

Please sign in to comment.