bin/pwn_bdba_scan in pwn-0.5.5 vs bin/pwn_bdba_scan in pwn-0.5.6
- old
+ new
@@ -144,13 +144,12 @@
# multiple times to find the product
find_product = nil
find_product_attempts = scan_attempts
print 'Looking for Product in Apps by Group...'
loop do
- # File encoding conducting by synopsis is kinda goofy.
- # The encode space w/ + (which is expected) but dont
- # encode + to %2B (whiich _isn't_ expected)
- target_basename = CGI.unescape_uri_component(File.basename(target_file))
+ # target_basename = CGI.unescape_uri_component(File.basename(target_file))
+ # ^ Synopsis unescapes it for us.
+ target_basename = File.basename(target_file)
find_product = scan_progress_resp[:products].find { |p| p[:name] == target_basename }
break unless find_product.nil?