Metasploit mailing list archives

load db_sqlite3 doesn't work


From: carlos_perez at darkoperator.com (Carlos Perez)
Date: Tue, 24 Mar 2009 20:16:19 -0400

Thanks, I will apply the patch by hand since I have done some changes to
my copy and as soon as I finish testing it I will send it over for
commit

cheers,
Carlos
On Tue, 2009-03-24 at 20:52 -0300, Danilo Nascimento wrote:
Type mistake on lines 65 and 79, i also had to comment the line 74 to
work with psexec exploit.


Diff above:

Index: scripts/meterpreter/keylogrecorder.rb
===================================================================
--- scripts/meterpreter/keylogrecorder.rb     (revis?o 6384)
+++ scripts/meterpreter/keylogrecorder.rb     (c?pia de trabalho)
@@ -62,7 +62,7 @@
              end
              return true
      rescue
-             print_staus("Failed to migrate process!")
+             print_status("Failed to migrate process!")
              return false
      end
 end
@@ -71,12 +71,12 @@
 def startkeylogger(session)
      begin
              print_status("Grabbing Desktop Keyboard Input....")
-             session.ui.grab_desktop
+             #session.ui.grab_desktop
              print_status("Starting the keystroke sniffer...")
              client.ui.keyscan_start
              return true
      rescue
-             print_staus("Failed to start Keylogging!")
+             print_status("Failed to start Keylogging!")
              return false
      end
 end

[]'s Danilo Nascimento



2009/3/24 Carlos P?rez <carlos_perez at darkoperator.com>:
Do an update svn up or darkoperator. Blogspot.com ;)

Sent from my iPhone

On Mar 24, 2009, at 5:51 PM, jeffs <jeffs at speakeasy.net> wrote:

where does one find the keylogrecorder script.

It's not in my install of meta

Danilo Nascimento wrote:

Hi! I'm Trying to use the keylogrecorder but when i try to execute
this error happen:

meterpreter > run keylogrecorder
[-] Error while running command run: no such file to load -- sqlite3

msf > load db_sqlite3
[-] Error while running command load: no such file to load -- sqlite3

msf > version
Framework: 3.3-dev.6055
Console  : 3.3-dev.6344

root at lab-desktop:/usr/src/msf3# dpkg -l | egrep -i sqlite
ii  libmono-sqlite2.0-cil                      1.2.6+dfsg-6ubuntu3
        Mono Sqlite library
ii  libsqlite-ruby                             2.2.3-0ubuntu1
        SQLite interface for Ruby
ii  libsqlite-ruby1.8                          2.2.3-0ubuntu1
        SQLite interface for Ruby1.8
ii  libsqlite0                                 2.8.17-4build1
        SQLite shared library
ii  libsqlite3-0                               3.4.2-2
        SQLite 3 shared library
ii  sqlite                                     2.8.17-4build1
        command line interface for SQLite
ii  sqlite3                                    3.4.2-2
        A command line interface for SQLite 3

Ubuntu 8.04.1

Any idea?


[]'s Danilo Nascimento
_______________________________________________
http://spool.metasploit.com/mailman/listinfo/framework




_______________________________________________
http://spool.metasploit.com/mailman/listinfo/framework





Current thread: