Remote Exploit Forums

Go Back   Remote Exploit Forums > International Communities > BackTrack French Community > Support logiciel


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-08-2009, 02:33 PM
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default erreur Airoscript - Modification airoscript.conf

Bonjour a tous,
J'ai installé le SVN d'airoscript disponible sur le site aircrack et je recois une erreur lorsqu' airodump doit se lancer. Le probleme vient du fait que le chemin indiqué dans airoscript.conf est erroné et ne renvoit pas au bon répertoire. Le probleme a été solutionné mais je ne sais pas comment modifier le *.conf

airodump-ng se trouve dans cette arborescence
/pentest/wireless/aircrack-ng/src/airodump-ng

voici le contenu du fichier airoscript.conf

Code:
#!/bin/bash
# Copyright (C) 2009 David Francos Cuartero
#        This program is free software; you can redistribute it and/or
#        modify it under the terms of the GNU General Public License
#        as published by the Free Software Foundation; either version 2
#        of the License, or (at your option) any later version.
#
#        This program is distributed in the hope that it will be useful,
#        but WITHOUT ANY WARRANTY; without even the implied warranty of
#        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#        GNU General Public License for more details.
#
#        You should have received a copy of the GNU General Public License
#        along with this program; if not, write to the Free Software
#        Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

# Showing options:
	TERMINAL="xterm" # This is the most used term, and the most tested. if you comment this line default x-terminal-emulator will be used



# This makes airoscript more interactive, if you want it to ask you less, comment next line
	INTERACTIVE=1

# This allows you to use unstable functions.
	UNSTABLE=0


# Set this to one to override mac checking
	FORCE_MAC_ADDRESS=0

# And this, external functions

	EXTERNAL=0 # Disabled by default. If user wants this functions has to install 3rd party software, so i'll assume user won't wanna this by default.

# Theme file
	THEME="default"

# This way airoscript wont ask you for your resolution everytime executed.
	#export reson="1" # set this to your resolution number
	#export resonset="1" # this is also necesary

#Your dhcp client utility
	DHCPSOFT="dhclient"

# Debug:
	# Uncomment next line to make airoscript not launch terminals, just print the command to be executed.
	#	CDCMD="echo "
	# And change this to "", if you wanna have time to read commands ;-)
		CLEAR="clear"

	#Allows all terminal windows to stay on screen after the operation they contain is finished
	DEBUG="0"

#This is the interface you want to use to perform the attack
#If you dont set this, airoscript will ask you.
	WIFI="" 
	IWIFI="" # If you set wifi (and only then) you can specify Injection Wifi Card here. So if you have to use different interfaces for injection and reading, use this.
#Paths
	# Note this can affect some configurations and some systems.
	# For example, in systems where you have compiled aircrack-ng 
	# or in slax it'll be /usr/local/bin or BINDIR and SBINDIR
	# And, on some systems, mdk3 will be installed on /usr/local/bin/
	PREFIX="/usr/local"

	BINDIR="$PREFIX/bin/"
	SBINDIR="$PREFIX/sbin/"                     

	AIRMON=$SBINDIR"airmon-ng"		
	AIRODUMP=$SBINDIR"airodump-ng"    <---------- ???  je sais pas quoi mettre...
	AIREPLAY=$SBINDIR"aireplay-ng"	
	AIRCRACK=$BINDIR"aircrack-ng"
	ARPFORGE=$BINDIR"packetforge-ng"
	WESSIDE=$SBINDIR"wesside-ng"
	AIRSERV=$SBINDIR"airserv-ng"
	TKIPTUN=$SBINDIR"tkiptun-ng"
	MACCHANGER=$BINDIR"macchanger"

	# Fix to be able to use screenrc defined screenrc's
	[[ "$SCREENRC" == "" ]] && SCREENRC="$PREFIX/share/airoscript/screenrc"
	
	FUNCTIONS="$PREFIX/share/airoscript/airoscfunc.sh"
	SCREEN_FUNCTIONS="$PREFIX/share/airoscript/airoscfunc_screen.sh"
	UNSTABLEF="$PREFIX/share/airoscript/airoscfunc_unstable.sh"
	EXTF="$PREFIX/share/airoscript/airoscfunc_external.sh"

	THEMEDIR="$PREFIX/share/airoscript/themes"

	TERMBIN="/usr/bin/" # Change this if your terminal is not in /usr/bin, for example, on /usr/X11R6/bin or /usr/local/bin ... 
	iwconfig="iwconfig"

# Path to optional binaries
	MDK3="/usr/local/sbin/mdk3"

	# As i know, those are just used for spanish routers...
	JTD="jazzteldecrypter"
	WLD="wlandecrypter"

# Set variables for airoscript's locale
	export TEXTDOMAINDIR=$PREFIX/share/locale
	export TEXTDOMAIN=airoscript

# BUGFIXES	
	# On some systems, dic attacks fails, this forces aircrack to use old korek method, so it luckily will work.

	FORCEWEPKOREK=" -K " 
	#FORCEWPAKOREK=" -K " # Bug only affects wep, you shouldn't use it, but anyway, you can ;-)
	
	# Change this binary if you want to use other aircrack version for dic attacks (even wpa)
	AIRCRACKOLD=$BINDIR"aircrack-ng"

#################### This is rarely modified.##########################33
#This is the rate per second at wich packets will be injected
	INJECTRATE="330"

#How many times the deauth attack is run
	DEAUTHTIME="4"

#Time between re-association with target AP
	AUTHDELAY="80"
	KEEPALIVE="30"

#Fudge factor setting
	FUDGEFACTOR="2"

########## From here, people usually don't modify anything...###############

#The path where the data is stored
	DUMP_PATH=`mktemp -d`

# Create airoscript main dir
	mkdir ~/.airoscript 2> /dev/null

# Path to your wordlist file (for WPA and WEP dictionnary attack)
	if [ -e ~/.airoscript/worlist.txt ]; then
		WORDLIST=~/.airoscript/wordlist.txt
	else 
		WORDLIST="$DUMP_PATH/wordlist.txt"
	fi 

#The Mac address used to associate with AP during fakeauth			
	FAKE_MAC="00:06:25:02:FF:D8"
	# IP of the AP and clients to be used for CHOPCHOP and Fragmentation attack
	# Host_IP and Client_IP used for arp generation from xor file (frag and chopchop)
	#Host_IP="192.168.1.1"
	#Client_IP="192.168.1.37"
	#Host_IP="192.168.0.1"
	#Client_IP="192.168.0.37"
	Host_IP="255.255.255.255"
	Client_IP="255.255.255.255"

# Fragmentation IP
	#FRAG_HOST_IP="192.168.1.1"
	#FRAG_CLIENT_IP="192.168.1.37"
	#FRAG_HOST_IP="192.168.0.1"
	#FRAG_CLIENT_IP="192.168.0.37"
	FRAG_HOST_IP="255.255.255.255"
	FRAG_CLIENT_IP="255.255.255.255"

# Default packet size values for tkiptun-ng attack
	TKIPTUN_MAX_PL=100
	TKIPTUN_MIN_PL=80

# You wont usually have to touch this, it's cardctl executable, automatically changed since on kernels 2.4 is carcctl and 2.6 is pccardctl
	if [ `uname -r|cut -d . -f 2` == "6" ]; then
		CARDCTL="pccardctl"
	else
		CARDCTL="cardctl"
	fi
Reply With Quote
  #2 (permalink)  
Old 10-08-2009, 05:55 PM
Senior Member
 
Join Date: Nov 2006
Posts: 309
Default

try wepbuster
Reply With Quote
  #3 (permalink)  
Old 10-08-2009, 06:08 PM
yop fr's Avatar
Moderator
 
Join Date: Jan 2008
Posts: 140
Default

cd /pentest/wireless/aircrack-ng
make install

ca va l'installer la ou il faut

le svn n'est plus chez aircrack-ng (enfin je sais pas si il est a jour)

wget http://airoscript.googlecode.com/fil...t-2.1.0.tar.gz
tar zxvf airoscript-2.1.0.tar.gz
cd airoscript
make
make install

et ca devrait etre bon
Reply With Quote
  #4 (permalink)  
Old 10-08-2009, 06:45 PM
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

Merci Yop pour le protocole je vais essayer çà de suite. (Meme si maintenant je me demande si c'est pas plus pratique de tout faire en ligne de commande, comme tout le monde le dit depuis le début.Au moins on sait ce qu'on fait et a quel moment)

Pour le SVN en principe il est a jour, le dev est a nouveau en cours d'apres le site

Thx oper0tor for the tool Wepbuster, i will try it again on BT4 (i have ever tried it on bt3final..)

Edit:

Yop je viens de tenter ta manip, tout les make et make install se déroulent bien mais il y a toujours des messages d'erreurs dans airoscript sur le chemin d'airodump-ng

Last edited by murdock69; 10-08-2009 at 07:02 PM.
Reply With Quote
  #5 (permalink)  
Old 10-10-2009, 12:46 AM
Senior Member
 
Join Date: Jan 2009
Location: /dev/null
Posts: 270
Default

Quote:
make et make install se déroulent bien mais il y a toujours des messages d'erreurs dans airoscript sur le chemin d'airodump-ng
Ben, soit tu changes le fichier de conf (trois fois rien à faire si tu as l'ombre d'une toute petite notion en bash), soit tu crées un link vers le binaire dans le répertoire qu'on te demande. Rien de compliqué, c'est vraiment de la base ça...

Si tu veux, je peux t'aider à modifier la conf (c'est l'histoire d'une ligne), mais à condition que tu reprennes toute la partie "#Paths" en m'expliquant ligne après ligne ce que tu en as compris...
__________________
Avant de poster quoique ce soit, veuillez STFW, RTFM & RTFR. Merci
Before asking anything, please STFW, RTFM & RTFR. Thanks
Reply With Quote
  #6 (permalink)  
Old 10-12-2009, 11:17 AM
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

Quote:
Originally Posted by ~LCF~ View Post
Ben, soit tu changes le fichier de conf (trois fois rien à faire si tu as l'ombre d'une toute petite notion en bash), soit tu crées un link vers le binaire dans le répertoire qu'on te demande. Rien de compliqué, c'est vraiment de la base ça...

Si tu veux, je peux t'aider à modifier la conf (c'est l'histoire d'une ligne), mais à condition que tu reprennes toute la partie "#Paths" en m'expliquant ligne après ligne ce que tu en as compris...

Merci LCF pour cette proposition. Je potasse çà et je reviens dès que j'ai compris le truc.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2