martes, 28 de mayo de 2013

Como instalar Aircrack-ng en Mac Os Mountain Lion

Hola, como muchos de mis amigos ya saben cambie las ventanas y las shell`s por leones!
asi que ahora vamos a ver como podemos customizar poco a poco nuestro Mountain Lion de Mac Os en sensillos pasos. 
lo primero es instalar  Xcode del mac apps store (es gratuido)

Mirarremos algo asi como esta pantallaya instalada, vamos al menu de preferencias del Xcode y depsues en descargas vamos a instalar el Command line tools. 
 

ahor avamos a instalar macports el sitio de descarga oficial es: http://www.macports.org/
se descarga e instala, pasamos a abrir una terminal donde escribimos el siguiente comando para actualizar el port
 ---------------Inicio de datos de mi ventana de terminal-----------
oposada$ sudo port -v selfupdate
Password:
--->  Updating MacPorts base sources using rsync
receiving file list ... done
base.tar

sent 11482 bytes  received 111 bytes  7728.67 bytes/sec
total size is 3594240  speedup is 310.04
receiving file list ... done
base.tar.rmd160

sent 64 bytes  received 116 bytes  120.00 bytes/sec
total size is 512  speedup is 2.84
MacPorts base version 2.1.3 installed,
MacPorts base version 2.1.3 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done
ports.tar

sent 51137 bytes  received 5798 bytes  22774.00 bytes/sec
total size is 53176320  speedup is 933.98
receiving file list ... done
ports.tar.rmd160

sent 64 bytes  received 636 bytes  1400.00 bytes/sec
total size is 512  speedup is 0.73
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
Adding port python/py-cdb
Adding subport py26-cdb
Adding port python/py-clonedigger
Adding subport py25-clonedigger
Adding subport py26-clonedigger

Total number of ports parsed:    5
Ports successfully parsed:    5
Ports failed:            0
Up-to-date ports skipped:    17101

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
-----------------------------------fin de datos de mi ventana de terminal--------

ahora instalamos Aircrack-ng con el siguiente comando


----------------
oposada$ sudo port install aircrack-ng
Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build.
Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information.
--->  Computing dependencies for aircrack-ngError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
MacBook-Pro-de-Oscar:~ oposada$ sudo port install aircrack-ng
Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build.
Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information.
--->  Computing dependencies for aircrack-ngError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
MacBook-Pro-de-Oscar:~ oposada$ clear

MacBook-Pro-de-Oscar:~ oposada$ sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  70.00 bytes/sec
total size is 3594240  speedup is 34230.86
receiving file list ... done

sent 36 bytes  received 76 bytes  224.00 bytes/sec
total size is 512  speedup is 4.57
MacPorts base version 2.1.3 installed,
MacPorts base version 2.1.3 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done

sent 36 bytes  received 70 bytes  70.67 bytes/sec
total size is 53176320  speedup is 501663.40
receiving file list ... done

sent 36 bytes  received 77 bytes  226.00 bytes/sec
total size is 512  speedup is 4.53
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports

Total number of ports parsed:    0
Ports successfully parsed:    0
Ports failed:            0
Up-to-date ports skipped:    17106

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
MacBook-Pro-de-Oscar:~ oposada$ sudo port install aircrack-ng
Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build.
Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information.
--->  Computing dependencies for aircrack-ngError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
MacBook-Pro-de-Oscar:~ oposada$ clear

MacBook-Pro-de-Oscar:~ oposada$ sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  42.00 bytes/sec
total size is 3594240  speedup is 34230.86
receiving file list ... done

sent 36 bytes  received 76 bytes  44.80 bytes/sec
total size is 512  speedup is 4.57
MacPorts base version 2.1.3 installed,
MacPorts base version 2.1.3 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done

sent 36 bytes  received 70 bytes  42.40 bytes/sec
total size is 53176320  speedup is 501663.40
receiving file list ... done

sent 36 bytes  received 77 bytes  45.20 bytes/sec
total size is 512  speedup is 4.53
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports

Total number of ports parsed:    0
Ports successfully parsed:    0
Ports failed:            0
Up-to-date ports skipped:    17106

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
MacBook-Pro-de-Oscar:~ oposada$ sudo port install aircrack-ng
--->  Computing dependencies for aircrack-ng
--->  Dependencies to be installed: gmake gettext expat libiconv ncurses openssl zlib
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/expat
--->  Installing expat @2.1.0_0
--->  Activating expat @2.1.0_0
--->  Cleaning expat
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/libiconv
--->  Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/libiconv
--->  Installing libiconv @1.14_0
--->  Activating libiconv @1.14_0
--->  Cleaning libiconv
--->  Fetching archive for ncurses
--->  Attempting to fetch ncurses-5.9_2.darwin_12.x86_64.tbz2 from http://packages.macports.org/ncurses
--->  Attempting to fetch ncurses-5.9_2.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/ncurses
--->  Installing ncurses @5.9_2
--->  Activating ncurses @5.9_2
--->  Cleaning ncurses
--->  Fetching archive for gettext
--->  Attempting to fetch gettext-0.18.2.1_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/gettext
--->  Attempting to fetch gettext-0.18.2.1_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/gettext
--->  Installing gettext @0.18.2.1_0
--->  Activating gettext @0.18.2.1_0
--->  Cleaning gettext
--->  Fetching archive for gmake
--->  Attempting to fetch gmake-3.82_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/gmake
--->  Attempting to fetch gmake-3.82_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/gmake
--->  Installing gmake @3.82_0
--->  Activating gmake @3.82_0
--->  Cleaning gmake
--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.2.8_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/zlib
--->  Attempting to fetch zlib-1.2.8_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/zlib
--->  Installing zlib @1.2.8_0
--->  Activating zlib @1.2.8_0
--->  Cleaning zlib
--->  Fetching archive for openssl
--->  Attempting to fetch openssl-1.0.1e_1.darwin_12.x86_64.tbz2 from http://packages.macports.org/openssl
--->  Attempting to fetch openssl-1.0.1e_1.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/openssl
--->  Installing openssl @1.0.1e_1
--->  Activating openssl @1.0.1e_1
--->  Cleaning openssl
--->  Fetching archive for aircrack-ng
--->  Attempting to fetch aircrack-ng-1.1_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/aircrack-ng
--->  Attempting to fetch aircrack-ng-1.1_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/aircrack-ng
--->  Attempting to fetch aircrack-ng-1.1_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/aircrack-ng
--->  Fetching distfiles for aircrack-ng
--->  Attempting to fetch aircrack-ng-1.1.tar.gz from http://distfiles.macports.org/aircrack-ng
--->  Verifying checksum(s) for aircrack-ng
--->  Extracting aircrack-ng
--->  Configuring aircrack-ng
--->  Building aircrack-ng
--->  Staging aircrack-ng into destroot
--->  Installing aircrack-ng @1.1_0
--->  Activating aircrack-ng @1.1_0
--->  Cleaning aircrack-ng
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
MacBook-Pro-de-Oscar:~ oposada$

------------------------------------

se puede validar si esta instalado o no con el comando aircrack-ng el cual nos dara el siguiente resultado si esta todo en OK

 

y listo ya tenemos el Aircrack-ng instalado en nuestro Mountain Lion. 

No hay comentarios.: