Remove unneeded else statements

This commit is contained in:
Redouane NIBOUCHA 2022-04-27 12:44:49 +02:00
parent 2e04c1b8f7
commit f0b1aa44c9
1 changed files with 0 additions and 5 deletions

View File

@ -130,7 +130,6 @@ class MetasploitModule < Msf::Auxiliary
when 'PostgreSQL' then Msf::Exploit::SQLi::PostgreSQLi::Common
when 'Sqlite' then Msf::Exploit::SQLi::SQLitei::Common
when 'MSSQL' then Msf::Exploit::SQLi::Mssqli::Common
else print_bad("Unsupported target")
end
reflected
when 'BooleanBlind'
@ -139,7 +138,6 @@ class MetasploitModule < Msf::Auxiliary
when 'PostgreSQL' then Msf::Exploit::SQLi::PostgreSQLi::BooleanBasedBlind
when 'Sqlite' then Msf::Exploit::SQLi::SQLitei::BooleanBasedBlind
when 'MSSQL' then Msf::Exploit::SQLi::Mssqli::BooleanBasedBlind
else print_bad("Unsupported target")
end
boolean_blind
when 'TimeBlind'
@ -148,11 +146,8 @@ class MetasploitModule < Msf::Auxiliary
when 'PostgreSQL' then Msf::Exploit::SQLi::PostgreSQLi::TimeBasedBlind
when 'Sqlite' then Msf::Exploit::SQLi::SQLitei::TimeBasedBlind
when 'MSSQL' then Msf::Exploit::SQLi::Mssqli::TimeBasedBlind
else print_bad("Unsupported target")
end
time_blind
else
print_bad('Unsupported SQLI_TYPE')
end
end
end