drivenmad / autocrack

Automatically exported from code.google.com/p/autocrack
1 stars 0 forks source link

Port to OpenWrt??? #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i get these different errors which i would think would be easily resolvable in 
openwrt, but i lack the know how.

i do have aircrack installed ( the checking script is not for openwrt, so 
displays that it is not there )

cat clist  errors ( cat: can't open 'clist': No such file or directory )

sleep errors ( maybe because of floating point? ) not sure ( sleep: invalid 
number '0.20s'12 )

and doesnt seem to want to detect interfaces properly in 4.4. 
i believe it was 4.3 that i got to be able to detect the mon0 iface.

and for sake of knowledge. im using a wifipineapple mark 5 router. its firmware 
is indeed built from openwrt Attitude Adjustment.

# bash autocrack4.4.sh auto
autocrack4.4.sh: line 22: apt-cache: command not found
autocrack4.4.sh: line 25: apt-cache: command not found
This script has the ability to vocalize what its doing
if you would like to test this ability please install festival
by typing in: apt-get install festival
and then restart this script like so: ./autocrack.sh voice
or ./autocrack.sh auto voice
It looks like you dont have Aircrack-ng installed
Would you like to try and install aircrack now?
or bypass this error? Y/n/b:b
Ignoring this error

cat: can't open 'clist': No such file or directory

Using WiFi card:  Interface Chipset Driver mon1 RTL8187 rtl8187 - [phy1] wlan2 
RTL8187 rtl8187 - [phy2] mon0 RTL8187 rtl8187 - [phy1] wlan1 RTL8187 rtl8187 - 
[phy1] mon4 RTL8187 rtl8187 - [phy1] wlan0 Atheros ath9k - [phy0] mon3 RTL8187 
rtl8187 - [phy1] mon2 RTL8187 rtl8187 - [phy1]
No wifi card detected. Quitting

------------------------------------------------------------------------
It looks like you have festival installed, have you tried the tts option?
mon0
sleep: invalid number '0.20s'1
sleep: invalid number '0.20s'2
sleep: invalid number '0.20s'3
sleep: invalid number '0.20s'4
sleep: invalid number '0.20s'5
sleep: invalid number '0.20s'6
sleep: invalid number '0.20s'7
sleep: invalid number '0.20s'8
sleep: invalid number '0.20s'9
sleep: invalid number '0.20s'10
sleep: invalid number '0.20s'11
sleep: invalid number '0.20s'12
sleep: invalid number '0.20s'13
sleep: invalid number '0.20s'14
sleep: invalid number '0.20s'15
sleep: invalid number '0.20s'16
sleep: invalid number '0.20s'17
sleep: invalid number '0.20s'18
sleep: invalid number '0.20s'19
sleep: invalid number '0.20s'20
sleep: invalid number '0.20s'21
sleep: invalid number '0.20s'22
sleep: invalid number '0.20s'23
sleep: invalid number '0.20s'24
sleep: invalid number '0.20s'25
sleep: invalid number '0.20s'26
sleep: invalid number '0.20s'27
sleep: invalid number '0.20s'28
sleep: invalid number '0.20s'29
sleep: invalid number '0.20s'30
sleep: invalid number '0.20s'31
sleep: invalid number '0.20s'32
sleep: invalid number '0.20s'33
sleep: invalid number '0.20s'34
sleep: invalid number '0.20s'35
sleep: invalid number '0.20s'36
sleep: invalid number '0.20s'37
sleep: invalid number '0.20s'38
sleep: invalid number '0.20s'39
sleep: invalid number '0.20s'40
sleep: invalid number '0.20s'41
sleep: invalid number '0.20s'42
sleep: invalid number '0.20s'43
sleep: invalid number '0.20s'44
sleep: invalid number '0.20s'45
sleep: invalid number '0.20s'46
sleep: invalid number '0.20s'47
sleep: invalid number '0.20s'48
sleep: invalid number '0.20s'49
sleep: invalid number '0.20s'50
sleep: invalid number '0.20s'51
sleep: invalid number '0.20s'52
sleep: invalid number '0.20s'53
sleep: invalid number '0.20s'54
sleep: invalid number '0.20s'55
sleep: invalid number '0.20s'56
sleep: invalid number '0.20s'57
sleep: invalid number '0.20s'58
sleep: invalid number '0.20s'59
sleep: invalid number '0.20s'60
sleep: invalid number '0.20s'61
sleep: invalid number '0.20s'62
sleep: invalid number '0.20s'63
sleep: invalid number '0.20s'64
sleep: invalid number '0.20s'65
sleep: invalid number '0.20s'66
sleep: invalid number '0.20s'67
sleep: invalid number '0.20s'68
sleep: invalid number '0.20s'69
sleep: invalid number '0.20s'70
sleep: invalid number '0.20s'71
sleep: invalid number '0.20s'72
sleep: invalid number '0.20s'73
sleep: invalid number '0.20s'74
sleep: invalid number '0.20s'75
sleep: invalid number '0.20s'76
sleep: invalid number '0.20s'77
sleep: invalid number '0.20s'78
sleep: invalid number '0.20s'79
sleep: invalid number '0.20s'80
sleep: invalid number '0.20s'81
sleep: invalid number '0.20s'82
sleep: invalid number '0.20s'83
sleep: invalid number '0.20s'84
sleep: invalid number '0.20s'85
sleep: invalid number '0.20s'86
sleep: invalid number '0.20s'87
sleep: invalid number '0.20s'88
sleep: invalid number '0.20s'89
sleep: invalid number '0.20s'90
sleep: invalid number '0.20s'91
sleep: invalid number '0.20s'92
sleep: invalid number '0.20s'93
sleep: invalid number '0.20s'94
sleep: invalid number '0.20s'95
sleep: invalid number '0.20s'96
sleep: invalid number '0.20s'97
sleep: invalid number '0.20s'98
sleep: invalid number '0.20s'99
sleep: invalid number '0.20s'100

Shutting down wifi cards, Please wait

Original issue reported on code.google.com by tritter6369 on 1 Nov 2014 at 5:04

GoogleCodeExporter commented 9 years ago
also, openwrt instead of xterm, uses "screen" and or "tmux"

i would be ( and im sure tons of others would be ) more than happy if you or 
someone else could port this script to run on our beloved openwrt based boxes 
:) or offer guidance as to what needs changing :)

thank you in advance

Original comment by tritter6369 on 1 Nov 2014 at 5:08

GoogleCodeExporter commented 9 years ago
and yes, i have tried all i could in proper ways to run it.

changed names to autocrack.sh, placed in root directory, etc etc

Original comment by tritter6369 on 1 Nov 2014 at 5:13