Results 1 to 8 of 8

Thread: Can't extract *.lzm to directory

  1. #1
    Just burned his ISO
    Join Date
    Oct 2008
    Posts
    2

    Default Can't extract *.lzm to directory

    First post. WooHoo! Total linux noob. Be gentle.

    I'm trying to get airodump and aireplay to work with my Asus WL-167G. So far, not playing the game.

    I can take the adapter in and out of monitor mode and use macchanger to manipulate the mac address.

    It's when I start airodump that the wheels fall off. If I don't change the mac address, airodump is fine:

    airodump-ng -c 11 -w wep --bssid (mac address) rausb0

    If I change the mac address, airodump just sits there and defies me. If I reinsert the adapter (mac address resets to default) it works.

    If I get past airodump (mac on default), aireplay doesn't inject packets ( I think that's the term). It too just sits there and smiles at me.

    What should I use (instead of 00:11:22:33:44:55) if I leave the adapter on default.

    aireplay-ng -3 -b (bssid) -h 00:11:22:33:44:55 rausb0

    I check injection with:

    airmon-ng -9 rausb0

    Is this correct?

    Phew! Now to the problem of lzm extraction.

    Thinking new drivers might help, I would like to update the RT73 drivers, so I downloaded the tar.bz2 files and followed the direction from one of the posts in this forum on updating RT73 drivers in BT3.

    I have created a directory (Test) and created "xtractedfiles" within this directory.

    I tried extracting the lzm files by using:

    lzm2dir lib.lzm xtractedfiles

    but always get lzm2dir: command not found

    I need to get past this.

    PS This has taken me 2 hours to gather this much info. I'm running on adrenaline not knowledge of linux.

    Kansai

  2. #2
    Junior Member
    Join Date
    Jul 2008
    Posts
    42

    Default Re:

    Dude, just don't change your mac when trying to use that. Its the same with wpa_supplicant when using that to connect with WPA networks.

    Second of all:
    aireplay-ng -3 -b (bssid) -h 00:11:22:33:44:55 rausb0

    It sounds like your trying to get a WPA handshake... if so run

    aireplay-ng -3 -b (bssid) -c (client Connected) [Interface]

    then you don't need to spoof your mac.

    You can find out if a client is connected buy

    airodump-ng [interface]

    try that out, mesg back and let me know

  3. #3
    Member
    Join Date
    Sep 2008
    Posts
    146

    Default

    Well with your first problem I agree you should not change you mac address when simply running airodump. There really is no need. If you wish to spoof you mac address, say for fakeauth or deauthing a client you can do that in the command line for aireplay with -h.

    "aireplay-ng -1 0 -b (router mac) -h (your fake mac) rausb0"

    There is a better way to test injection ability as well

    "aireplay-ng --test rausb0"

    That command should make it clear if it is working or not.

    As for your second problem, I am pretty sure that lzm2dir is an Ubuntu (Debian) comand. The BackTrack (Slackware) equivalent should look like this

    "tar xjvf yourfile.tar.bz2"
    "cd yourextractedfile"
    "./configure"
    "make"
    "make install"
    Morpheus: "You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill - you stay in Wonderland and I show you how deep the rabbit-hole goes."

    Neo: "What if I take both?"

    Morpheus: "Don't do that! You end up like Nick Nolte!"

  4. #4
    Member
    Join Date
    Sep 2008
    Posts
    306

    Default

    Your first question should be solved by Relevati and easycheese13.
    So lets have a look to your other problem.
    Quote Originally Posted by kansai View Post
    I have created a directory (Test) and created "xtractedfiles" within this directory.

    I tried extracting the lzm files by using:

    lzm2dir lib.lzm xtractedfiles

    but always get lzm2dir: command not found

    I need to get past this.
    @Relevati
    As for your second problem, I am pretty sure that lzm2dir is an Ubuntu (Debian) comand. The BackTrack (Slackware) equivalent should look like this
    That's not exactly the truth. The command is also available within Slax (and Bt3)

    @kansai
    Sounds like a corrupt install or a permission issue.
    Have a look at /usr/bin/ and look if there's the file (lzm2dir) and try to run it from there.
    If you can't try the method that Relevati posted.
    Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you:

    * post your question to a forum where it's off topic
    * post a very elementary question to a forum where advanced technical questions are expected, or vice-versa
    * cross-post to too many different newsgroups
    * post a personal e-mail to somebody who is neither an acquaintance of yours nor personally responsible for solving your problem

  5. #5
    Just burned his ISO
    Join Date
    Oct 2008
    Posts
    2

    Default

    Quote Originally Posted by easycheese13 View Post
    Dude, just don't change your mac

    That works, so I will stick with it

    Second of all:
    aireplay-ng -3 -b (bssid) -h 00:11:22:33:44:55 rausb0

    It sounds like your trying to get a WPA handshake...

    This was to get a successful authentication using a spoofed mac address. (Which I'm having trouble getting at the moment )

    aireplay-ng -3 -b (bssid) -c (client Connected) [Interface]

    I don't understand this line (-c : what is that?)
    I'm searching the net now for more info. This is fascinating stuff.

    I'm trying to find out how to increase the #data value at the moment.

    "aireplay-ng --test rausb0" - this gives a quick yes or no. I'll use this, too.

    Pardon my quoting, still getting a handle on this forum.

    I haven't had a go at the lzm file extraction yet.

    Kansai

  6. #6
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    As for your second problem, I am pretty sure that lzm2dir is an Ubuntu (Debian) comand. The BackTrack (Slackware) equivalent should look like this
    This is completely incorrect. The proper syntax of the command is ...

    bt~#lzm2dir (filename).lzm /

  7. #7
    Member
    Join Date
    Sep 2008
    Posts
    146

    Default

    Quote Originally Posted by pureh@te View Post
    This is completely incorrect. The proper syntax of the command is ...

    bt~#lzm2dir (filename).lzm /
    that is odd, I've used that command many times in ubuntu, yet I get a similer error in BT to the OP
    lzm2dir command not found.

    Corrupt install perhaps?
    Morpheus: "You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill - you stay in Wonderland and I show you how deep the rabbit-hole goes."

    Neo: "What if I take both?"

    Morpheus: "Don't do that! You end up like Nick Nolte!"

  8. #8
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    Allow me to demonstrate...............
    pwnsauce ~ # ssh root@192.168.1.127
    root@192.168.1.127's password:
    Last login: Fri Oct 24 09:12:02 2008
    Linux 2.6.21.5.
    b4cktr4ck3 ~ # wget http://www.offensive-security.com/kernel.lzm
    --12:56:32-- http://www.offensive-security.com/kernel.lzm
    => `kernel.lzm'
    Resolving www.offensive-security.com... 208.68.234.120
    Connecting to www.offensive-security.com|208.68.234.120|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 64,905,216 (62M) [text/plain]

    100%[================================================== ================================================== ============>] 64,905,216 1.20M/s ETA 00:00

    12:57:26 (1.17 MB/s) - `kernel.lzm' saved [64905216/64905216]

    b4cktr4ck3 ~ # lzm2dir kernel.lzm /
    b4cktr4ck3 ~ #

Posting Permissions

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