Skip to content

Commit

Permalink
Airodump-ng OUI Updater: Fixed OUI URL and allow CURL redirect (Fixes #…
Browse files Browse the repository at this point in the history
…829).

git-svn-id: http://svn.aircrack-ng.org/trunk@1859 28c6078b-6c39-48e3-add9-af49d547ecab
  • Loading branch information
Mister-X- committed Feb 14, 2011
1 parent 4b1265f commit bc55dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/airodump-ng-oui-update
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

CURL=`which curl 2>/dev/null`
WGET=`which wget 2>/dev/null`
OUI_DOWNLOAD_URL="http://standards.ieee.org/regauth/oui/oui.txt"
OUI_DOWNLOAD_URL="http://standards.ieee.org/develop/regauth/oui/oui.txt"

OUI_PATH="/usr/local/etc/aircrack-ng"
AIRODUMP_NG_OUI="${OUI_PATH}/airodump-ng-oui.txt"
Expand Down Expand Up @@ -41,7 +41,7 @@ if [ ${CURL} ] || [ ${WGET} ]; then
if [ ${WGET} ]; then
${WGET} ${OUI_DOWNLOAD_URL} -O ${OUI_IEEE} >/dev/null 2>/dev/null
else
${CURL} ${OUI_DOWNLOAD_URL} > ${OUI_IEEE} 2>/dev/null
${CURL} -L ${OUI_DOWNLOAD_URL} > ${OUI_IEEE} 2>/dev/null
fi

if [ "${?}" -ne 0 ]; then
Expand Down

0 comments on commit bc55dcf

Please sign in to comment.