Metasploit on Amazon Kindle

Metasploit running on Amazon Kindle

Metasploit running on Amazon Kindle

Since Nmap and Ruby is working on Kindle (check my previous posts how I’ve done that), next step is Metasploit – of course! Let me tell you immediately, no patches to Metasploit needed. You can run full blown version of Metasploit with Kindle’s 256 MB of RAM, but dont’ expect miracles.

Download

  • http://ftp.linux.hr/kindle/ruby-1.9.3-p0-kindle-bin.tar.bz2
  • http://downloads.metasploit.com/data/releases/framework-latest.tar.bz2
  • Install

  • Create opt directory and extract files there
    mkdir /mnt/us/opt && cd /mnt/us/opt
    tar xvjf ruby-1.9.3-p0-kindle.tar.bz2
    tar xvjf framework-latest.tar.bz2
  • Test that you have following directory structures:
    /mnt/us/opt/msf/
    /mnt/us/opt/ruby-1.9.3-p0/
  • export HOME=/mnt/us
  • and run metasploit
    cd /mnt/us/opt/msf3/
    ../ruby-1.9.3-p0/bin/ruby msfconsole
  • I have made small script in /mnt/us/opt which starts msf, so I don’t have to do it every time. It’s straightforward:

    #!/bin/sh

    export HOME=/mnt/us
    cd /mnt/us/opt/msf
    ../ruby-1.9.3-p0/bin/ruby msfconsole

    Let me know if it works for you!

    About these ads

    9 Responses to Metasploit on Amazon Kindle

    1. k0st says:

      BTW I have built subversion binaries as well (http://ftp.linux.hr/kindle/subversion-1.7.2-kindle-bin.tar.bz2) for updating the metasploit,but did not test it thoroughly. Let me know if it works for you!

    2. Florian Maier says:

      Works and also on kindle touch (5th gen).

      How about porting Debians apt and dpkg? We could use the backtrack source packages then.

    3. k0st says:

      Thanks on report. nice to hear it works on Touch as well.

      Did not think about that, but I can check out

    4. Pingback: Links 23/12/2011: Amarok 2.5, KDE SC 4.8 Release Candidate | Techrights

    5. Pingback: Metasploit on Amazon Kindle | Dis9 The Underground Exploitation

    6. Paul says:

      When I try to start it up I get an error message when it try to start ruby – “cannot execute binary file” checked permissions and it is executable… any pointers?

    7. Phillip says:

      I get this error, any help?

      [*] Metasploit requires the Bundler gem to be installed
      $ gem install bundler

      • k0st says:

        Yeah. Newer versions of the Metasploit requires bundler for its functioning. Therefore, it makes harder to just take ruby binary and execute metasploit. I would suggest to use some older Metasploit version (prior to bundler introduction).

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    Follow

    Get every new post delivered to your Inbox.

    %d bloggers like this: