Jump to content

Recommended Posts

Posted

 

Hi , I am trying to use ReVdK3-r1.sh but no success.

The terminal auto close after i input Enter on

  Quote

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x    REAVER COMMAND LINE YOU HAVE CHOOSEN     x
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

reaver -i mon0 -b 70:4F:57:AA:6D:62 -S -l 10 -N -vv

Are you satisified with this configuration? if not,  input 'r' and you will be returned to Reaver's Configuration Wizard:

.
any solution ?

Posted

For other's info, this is the script and the below is the lines directly after the 'Are you satisified with this configuration?' bit.

https://github.com/0x90/wps-scripts/blob/master/ReVdK3-r1.sh

 

read -p "Are you satisified with this configuration? if not, input 'r' and you will be returned to Reaver's Configuration Wizard": SATISFIED_OPTION;

done

if [ -e /etc/reaver_tmp.txt ]; then

rm -f /etc/reaver_tmp.txt

fi

if [ -e /etc/aireplay_tmp.txt ]; then

rm -f /etc/aireplay_tmp.txt

fi

clear

 

Posted
4 hours ago, haze1434 said:

For other's info, this is the script and the below is the lines directly after the 'Are you satisified with this configuration?' bit.

https://github.com/0x90/wps-scripts/blob/master/ReVdK3-r1.sh

 

read -p "Are you satisified with this configuration? if not, input 'r' and you will be returned to Reaver's Configuration Wizard": SATISFIED_OPTION;

done

if [ -e /etc/reaver_tmp.txt ]; then

rm -f /etc/reaver_tmp.txt

fi

if [ -e /etc/aireplay_tmp.txt ]; then

rm -f /etc/aireplay_tmp.txt

fi

clear

 

I'm using BT5R3 Gnome 32 bit , is there i need anything to work this ?
and what is the satisfied command ? -p ?

Actully i am very noob to this. 

Posted

Can you add an echo message just before and after the 'done' and the 'clear' lines?

That way, you can narrow down which lines successfully run and therefore work out where the script stops.

Posted
4 minutes ago, ForgedInception said:

The terminal does not close after inputing -p ? Thanks

I'm confused. You advised earlier that the terminal closes after you press return/enter on the line "Are you satisfied with this configuration? if not,  input 'r' and you will be returned to Reaver's Configuration Wizard:". Does it close or not? I thought that was the issue?

 

5 minutes ago, ForgedInception said:

how can i add an echo message?

If you are uncertain how to do a simple thing like adding an echo/Write-Host message, it's probably not a good idea to try and work with a long, complicated shell script. You should learn basic PowerShell before continuing.

  • Like 1
Posted
Quote

I'm confused. You advised earlier that the terminal closes after you press return/enter on the line "Are you satisfied with this configuration? if not,  input 'r' and you will be returned to Reaver's Configuration Wizard:". Does it close or not? I thought that was the issue?

Yes the terminal close and thats the issue , now instead of enter i input -p & terminal did not close. 

Posted
On 4/24/2018 at 7:49 AM, haze1434 said:

Have you tried pressing y then enter?

Pressing 'y' or 'p' doesn't close the terminal.
but after the attack method command nothing appears in terminal.

I am using this as a reference & using 1 attack method.
where i am wrong now ?

Due to a limit of reply i was unable to post yesterday.
 

 

 

Posted

 

1 hour ago, haze1434 said:

You need to narrow down the exact line in the script that it fails/ends on.

What's the last output that you see on your screen before the terminal closes?

 

Which Attack You Prefer to carry out(Input No.)?

I entered 1,  then the terminal close & new blank terminal open.

 

 

Posted (edited)

So it might be failing on the following line (259);

while [[ "$MDK3_MAIN_MENU_OPTION" != @(1|2|3) ]]; do

 

After it fails, can you echo $MDK3_MAIN_MENU_OPTION?

If it isn't set to 1, 2 or 3, the script will hang here indefinitely, as the writer hasn't added an 'else'.

 

Scratch that, sorry. It's stating if the option isn't one of those.

Between line 256 and 278, can you add an echo between each line? e.g; echo 1, echo 2 echo 3....

That way, you can see which echo is the last to show up before the script ends.

Edited by haze1434
  • Like 1
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...