Use downcase

bug/bundler_fix
jvazquez-r7 2015-09-04 11:18:09 -05:00
parent 05e1a69fe5
commit 319bc2d750
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class Metasploit3 < Msf::Post
(1..10).each do
resp = session.shell_read
vprint_status("jailbreak received: #{resp}") unless resp.nil? || resp.empty?
if resp.include?('BusyBox') && resp.include?('Built-in shell')
if resp.downcase.include?('busybox') && resp.downcase.include?('built-in shell')
print_good("Jailbreak accomplished with #{command}")
return true
end