Question Pipe Syntax Command Not Found

Discussion in 'Xiaopan Support' started by mampwamp, 12 Sep 2013.

  1. mampwamp

    mampwamp Active Member

    Joined:
    18 Aug 2013
    Messages:
    43
    Likes Received:
    12
    I have success to get wpa handsake and i am doing the last step using pipe to crack.
    i have insert the command but is appear error message command not found.
    i can't find out where is write wrongly. please advice.
    [​IMG]

    the command i am refering from this thread https://xiaopan.co/forums/threads/crunch-aircrack-ng-to-avoid-wordlists.809/

     
    #1 mampwamp, 12 Sep 2013
    Last edited: 12 Sep 2013
  2. Aby$m

    Aby$m Well-Known Member
    Dev Team VIP

    Joined:
    25 Oct 2012
    Messages:
    153
    Likes Received:
    128
    You forgot to put the "-ng" next to aircrack,

    example:
    "aircrack-ng"

    Also try to run crunch from it's directory
    example:

    cd /pentest/passwords/crunch
    ./crunch [min] [max] | aircrack-ng

    ~Aby$m,
     
  3. mampwamp

    mampwamp Active Member

    Joined:
    18 Aug 2013
    Messages:
    43
    Likes Received:
    12
    thank.
    may i know how to save the handsake .cap?
    when i poweroff the backtrack and reopen it, it need to handsake again.
    how to save handsake?
     
  4. Aby$m

    Aby$m Well-Known Member
    Dev Team VIP

    Joined:
    25 Oct 2012
    Messages:
    153
    Likes Received:
    128
    Because BackTrack(BT) is being run from a live image it is only temporary, you have to save your files to a USB drive or to a local disk partition to use them later.

    Simply attach a USB drive to BT and copy the files across for later use.

    ~Aby$m.
     
  5. mampwamp

    mampwamp Active Member

    Joined:
    18 Aug 2013
    Messages:
    43
    Likes Received:
    12
    i still failed to use piping to crack it.
    for using wordlist to crack, it success to test the key.
    [​IMG]
    [​IMG]

    ************************************************************************************************

    now, i try to add more advance command using piping
    first try
    [​IMG]

    second try with crunch pentest
    [​IMG]

    is that anywhere command wrong. command is referring from this thread https://xiaopan.co/forums/threads/crunch-aircrack-ng-to-avoid-wordlists.809/

    ********************************************************

    i also have try using ./crunch but also can't
    [​IMG]
     
    #5 mampwamp, 14 Sep 2013
    Last edited: 14 Sep 2013
  6. estimacamry

    estimacamry Tracker
    VIP

    Joined:
    3 Aug 2012
    Messages:
    556
    Likes Received:
    169
    1. Copy and paste [email protected] file to /home
    2. cd to crunch then try this
    Code:
    Select All
    ./crunch 8 8 0123456789abc | aircrack-ng [email protected] -e cheng_li@unifi -w-
     
  7. mampwamp

    mampwamp Active Member

    Joined:
    18 Aug 2013
    Messages:
    43
    Likes Received:
    12
    copy .cap file to /home
    [​IMG]

    try
    Code:
    Select All
    ./crunch 8 8 0123456789abc | aircrack-ng [email protected] -e cheng_li@unifi -w-
    [/quote]
    [​IMG]

    error: open failed: no such file or directory
     
  8. estimacamry

    estimacamry Tracker
    VIP

    Joined:
    3 Aug 2012
    Messages:
    556
    Likes Received:
    169
  9. mampwamp

    mampwamp Active Member

    Joined:
    18 Aug 2013
    Messages:
    43
    Likes Received:
    12
    thank. i the path is wrong.. thank for advice.

    it should be /home/XXX.cap
    --- Double Post Merged, 14 Sep 2013 ---
    i have adding correct path to cap, it success to test the key.
    [​IMG]

    but after that, i want to start the crunch with 01000000, adding -c 01000000 -o START,
    but it can't test the key.
    [​IMG]

    anything wrong with -c ?
     
    #9 mampwamp, 14 Sep 2013
    Last edited: 14 Sep 2013
    • Like Like x 1
  10. estimacamry

    estimacamry Tracker
    VIP

    Joined:
    3 Aug 2012
    Messages:
    556
    Likes Received:
    169
    You cannot use -c command when piping....
     
  11. mampwamp

    mampwamp Active Member

    Joined:
    18 Aug 2013
    Messages:
    43
    Likes Received:
    12
    can it use randomly key?
     
  12. estimacamry

    estimacamry Tracker
    VIP

    Joined:
    3 Aug 2012
    Messages:
    556
    Likes Received:
    169
    Be more specific on your question
     
  13. mampwamp

    mampwamp Active Member

    Joined:
    18 Aug 2013
    Messages:
    43
    Likes Received:
    12
    currently the key generate sequence start from 00000001, 00000002, 000000003
    can it randomly generate the key like 01a23512b, 023469b2?
     
  14. estimacamry

    estimacamry Tracker
    VIP

    Joined:
    3 Aug 2012
    Messages:
    556
    Likes Received:
    169
    It won't do it at random, its systematically produce. If you wanna mix-match your list, instead of ./crunch 8 8 012345.....abcd, you can always mix-match it 045ab69c7d128...test and see how it runs.
     

Share This Page

Loading...