?>/script>'; } ?> AirWin 2.0 Renovado (wlanreaver para windows) Widgets Magazine

Autor Tema: AirWin 2.0 Renovado (wlanreaver para windows)  (Leído 275463 veces)

0 Usuarios y 1 Visitante están viendo este tema.

warcry

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #140 en: 18-10-2011, 21:14 (Martes) »
ok, pero ya me obligas a desempaquetar el portatil  :-

ahora en un rato te cuento

Post fusionado: 18-10-2011, 21:27 (Martes)
ya estoy de vuelta,

con el airwin 2.0.2 que es que yo tengo sigue lanzando claves al aire, sin ningun mensaje de error, asi que ya me he contestado la pregunta

gracias y un saludo
« Última modificación: 18-10-2011, 21:27 (Martes) por warcry »

warcry

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #141 en: 19-10-2011, 21:34 (Miércoles) »
que hay berni,

hoy me he pasado al airwin 2.0.3 y tiene el mismo problema del anterior, si apagas el router o le quitas la antena al pc ni se entera y sigue lanzando claves, te mando un privado con datos adicionales

un saludo

mansur

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #142 en: 20-10-2011, 00:25 (Jueves) »
Hola chicos, mi duda es la siguiente, mi ruter funciona bien el problema es que se me olvido la contraseña y en el tlf tengo la contraseña y va bien pero en el portatil nuevo no puedo conectarme porque no tengo la contraseña. Me valdria este programa?.
Un saludo.

ocabello

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #143 en: 01-12-2011, 22:09 (Jueves) »
Buenas noches.
En primer lugar  >:( >:( >:( por tu dedicacion y generosidad.
Tengo XP-SP3. Me quedaria probar tu prog con una antena USB pero no la tengo a mano.

A mi tambien me aparece el error al darle al boton Scan:
Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.ComponentModel.Win32Exception: Solicitud no compatible
   en NativeWifi.Wlan.ThrowIfError(Int32 win32ErrorCode)
   en NativeWifi.WlanClient.WlanInterface.GetNetworkBssList()
   en WindowsFormsApplication2.Form1.actualizar()
   en WindowsFormsApplication2.Form1.scan_Click(Object sender, EventArgs e)
   en System.Windows.Forms.Control.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ButtonBase.WndProc(Message& m)
   en System.Windows.Forms.Button.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3625 (GDR.050727-3600)
    Código base: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Airwin 2.0.3
    Versión del ensamblado: 0.0.2.1
    Versión Win32: 0.0.2.1
    Código base: file:///C:/downloads/Airwin2.0.3/Airwin%202.0.3.exe
----------------------------------------
System.Windows.Forms
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3623 (GDR.050727-3600)
    Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3624 (GDR.050727-3600)
    Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ManagedWifi
    Versión del ensamblado: 1.0.0.0
    Versión Win32: 1.0.0.0
    Código base: file:///C:/downloads/Airwin2.0.3/ManagedWifi.DLL
----------------------------------------
System.Configuration
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3082 (QFE.050727-3000)
    Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Windows.Forms.resources
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    Versión del ensamblado: 2.0.0.0
    Versión Win32: 2.0.50727.3625 (GDR.050727-3600)
    Código base: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.


warcry

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #144 en: 01-12-2011, 22:33 (Jueves) »
lee el primer  mensaje del tema y seguro que lo tendrás  mas claro  ;)
« Última modificación: 01-12-2011, 22:56 (Jueves) por warcry »

zkyevolved

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #145 en: 18-03-2012, 12:52 (Domingo) »
Hola gente! Que tal?

Primero, soy nuevo a esto y estoy intentando entenderlo lo mejor posible! Lo siento si alguna pregunta es tonta.

Yo tengo varios dicionarios generados (alguno generado desde mi movil (android), y otros desde algunas aplicaciones de aqui).

He descargado esta aplicacion, y selecione el dicionario, y puse el tiempo de Delay a 5 segundos (es suficiente)? Pero bueno, la pregunta es si Airwin sigue funcionando: le doy a empieza, y se queda atascado en un codigo "Probando ..." y el numbero. Pero miro a mi icono de windows y veo que sigue intentando conectarse y desconectarse, no se si sigue funcionando o no.
Aqui tienes una imagen de ello!


Pone que es conexion 2, porque tengo a mi red por ethernet, y estoy probando con otra red con una tarjeta wifi USB para hacer pruebas :).

Muchas gracias adelantado. Un saludo!

berni69

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #146 en: 18-03-2012, 20:38 (Domingo) »
Acabo de liberar el codigo de AirWin 2.0.X y AirWin 2.1(inestable) pero por falta de tiempo no la he podido continuar, si alguien quieree continuar el proyecto donde lo deje bienvenido sea!


http://code.google.com/p/airwin/source/browse/


Se que el codigo esta muy sucio pero como en un principio solo lo tenia que ver yo.. xD



Cosas que faltan:

Mejorar la interfaz
Tratar correctamente las excepciones (En la 2.1 hay alguna pequeña solucion)
Intenar adaptarlo a la API de WinXP
« Última modificación: 18-03-2012, 20:49 (Domingo) por βerni69 »

akej4

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #147 en: 21-03-2012, 18:46 (Miércoles) »
Hola berni69,
 No hablan al español, por lo que esto va a ser complicado.
Quiero decirle "muy buen trabajo" ("creo que en c# basado en el"managedwifi.dll"?")
...Que me recuerda que tenía unos pocos años de las reclamaciones para ejecutar Aircrack-ng en Windows en la obra de Thomas otreppe y su GUI para "aircrack-ng" porque la obra original es Christophe devine, con "aircrack" y un cmd como interfaz, hexanium compilados en VB o C++ "Creo", una GUI para "aircrack". wildpackets fue directamente poner en C++ en aircrack y instala el Protocolo "PEEK.inf", "WinPcap", con el cambio de conductor de "WILDPACKETS" correspondiente al mapa (porque todo es una cuestión de chipsets, un WiFi Netgear tarjeta tenía controladores Realtek 8187).Desde otreppe thomas asumió la programación de AIRCRACK-NG, es más complicado operar los controladores "wilpackets", mientras "TAMOS suave" desarrollado hijos nariz en una fuente en C ++ controlador Atheros para hacer un controlador con inyección de paquetes que dio "Commview", justo antes de "AIRPCAP" la clave de wifi USB y su cambian con su chipset elegido para la marca.Windows y su wlanAPI, y allí encontré en CODESOURCE.fr la fuente WIFU en c#, más la "aircrack-ng GUI" en C#, cualquier módulo que desarrollé, así que hacer mi GUI en c# pensando operar el todo sin problema, es un terrible winpcap, wildpackets, wildpacket de contenedor de windows, commview, airpcap que dll, wlanAPI serie herramientas aicrack-ngcomo poderes hace elegir todos un montón de parámetro, con interfaz wifi, análisis rápido, pero otra opción suena un implementar tales como: generador de diccionario "desarrollo temprano pero no ha terminado" cambio de herramientas de dirección MAC adicional, "todavía temprano" aircrack-ng, así que tengo necesidades de empleado que conoce el tema para probar, programación e inventar nueva sugerencia para hacer a la fuente, atractivo y competitivo
Todo se vuelve más complicada y estoy solo en el proyecto por lo que se descargará su origen si quieres bien y tratar de incluir en mi fuente
Pero si le interesa le puedo enviar la mina
Winairodump 1.2 por Hwagm para aicrack-ng
AiroWizard 1.0 por NaZirCon para aircrack-ng
WinAircrack 2.7 por Hexanium derrama aircrack-ng
-AWUS036H chipset realtek
-Chipset de ralink AWUS051NH

 >:( >:( >:(

berni69

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #148 en: 22-03-2012, 08:41 (Jueves) »
Citar
generador de diccionario "desarrollo temprano pero no ha terminado" cambio de herramientas de dirección MAC adicional, "todavía temprano" aircrack-ng, así que tengo necesidades de empleado que conoce el tema para probar, programación e inventar nueva sugerencia para hacer a la fuente, atractivo y competitivo
Hola akej4,

me interesaria poder añadir esas funcionalidades a Airwin, es mas estaba preparandolo para mezclarlo con el SWifi Keygen

Ahora no puedo estar muy pendiente del proyecto pero si te qieres unir bienvenido, enviame por mensaje privado una direccion de gmail y te agrego para que puedas modificar el source code

Saludos, berni69


akej4

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #149 en: 26-03-2012, 19:46 (Lunes) »
Es realmente difícil para mí
Es una foto de where am he modificado, pero se vuelve más complicada porque soy sólo ahora.
Puedo enviarle mi origen y puedo probar sus aplicaciones sin ningún problema O varias imágenes del software si desea.;D ;D

akej4

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #150 en: 26-03-2012, 20:15 (Lunes) »
yo soy francais no hablar espagnol

akej4

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #151 en: 26-03-2012, 20:52 (Lunes) »
/*
 *  Aircrack-ng GUI
 *
 *  Copyright (C) 2006,2007  Thomas d'Otreppe
 *
 *  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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using System.Management;
using System.Reflection;
using WinPcap.Public.Packets;
using WinPcapWrapper;
using NativeWifi;

namespace Aircrack_ng
{
    public partial class Faircrack : Form
    {
        private string currentDir;
        private int nbCpu;
        private string Windir;
        private string cmd_exe;

        private const String debugFile = "debug.log";
        private StreamWriter debugStream = null;

        private string Changelog =
                  "v1.0.0.6\n"
                + "    - Fixed \"Choose\" button (airdecap-ng)\n"
                + "\n"
                + "v1.0.0.5\n"
                + "    - Allow choosing WEP key size when using PTW\n"
                + "\n"
                + "v1.0.0.4\n"
                + "    - Fixed cracking with a wordlist\n"
                + "\n"
                + "v1.0.0.3\n"
                + "    - Added logging to debug.log\n"
                + "    - Added PTW option\n"
                + "\n"
                + "v1.0.0.2\n"
                + "    - Fixed wordlist selection\n"
                + "\n"
                + "v1.0.0.1\n"
                + "    - Added About box\n"
                + "    - Modified Aircrack-ng tab\n"
                + "\n"
                + "v1.0\n"
                + "    - First version\n";

        WinPcapWrapper.LibWinPcap wpcap = new WinPcapWrapper.LibWinPcap();
        PcapDevice[] dev = WinPcapWrapper.LibWinPcap.GetDevices();
        public static WlanClient Client;
        WlanClient.WlanInterface FirstInterface;

        public Faircrack()
        {
            InitializeComponent();

            // Initialize logging
            this.initLog();

            this.ShowHideEssidBssid(this.cbBssid, null);
            this.ShowHideEssidBssid(this.cbEssid, null);

            try
            {
                string NbrCpu = Environment.GetEnvironmentVariable("NUMBER_OF_PROCESSORS");
                this.nbCpu = int.Parse(NbrCpu);
                this.cbMultiThreading.Visible = this.nbCpu > 1;
            }
            catch
            {
                this.nbCpu = 1;
            }
            this.cbAdvancedOptions_CheckedChanged(null, null);
            this.currentDir = Directory.GetCurrentDirectory();
            this.clbKorek.CheckOnClick = true;
            this.cbPMKDecap_CheckedChanged(null, null);
            this.ShowHideEssidBssidDecap(this.cbBssidDecap, null);
            this.ShowHideEssidBssidDecap(this.cbEssidDecap, null);
            this.rbWepDecap_CheckedChanged(null, null);

            //Get Windows directory
            try
            {
                this.Windir = Environment.GetEnvironmentVariable("SystemRoot");
            }
            catch
            {
                try
                {
                    this.Windir = Environment.GetEnvironmentVariable("windir");
                }
                catch
                {
                    this.Windir = @"C:\Windows";
                }
            }
            // Log windows directory
            this.writeLog("Windir: " + Windir);

            cmd_exe = this.Windir + "\\System32\\cmd.exe";
            // End windows directory

            this.rbWEP_CheckedChanged(null, null);

            // About box
            this.lblAboutText.Text = "Aircrack-ng GUI v" + Assembly.GetCallingAssembly().GetName().Version.ToString();
            this.lblAboutText.Left = (this.tAboutBox.Width - this.lblAboutText.Width) / 2;

            // Log version
            this.writeLog(this.lblAboutText.Text);

            // Add changelog
            this.rtbChangelog.Text = this.Changelog;

            // ... and copyright
            this.lblCopyright.Text =
                "Copyright © 2006, 2007, 2008 Thomas d'Otreppe";

            this.lblCopyright.Left = (this.tAboutBox.Width - this.lblCopyright.Width) / 2;
            //End about box

            Application.DoEvents();
        }

        /// <summary>
        /// Initialize logging
        /// </summary>
        private void initLog()
        {
            // Make sure it doesn't crash
            try
            {
                debugStream = new StreamWriter(debugFile, true);
                this.writeLog("Application starting");
            }
            catch { }

        }

        /// <summary>
        /// Write to log file
        /// </summary>
        /// <param name="text"></param>
        private void writeLog(string text)
        {
            // Make sure it doesn't crash
            try
            {
                this.debugStream.WriteLine("{0} - {1}", DateTime.Now.ToString(), text);
                this.debugStream.Flush();
            }
            catch { }
        }

        /// <summary>
        /// Standard Open file dialog
        /// </summary>
        /// <param name="Filter"></param>
        /// <param name="FilterIndex"></param>
        /// <param name="multipleFiles"></param>
        /// <returns></returns>
        private string FileDialog(string Filter, int FilterIndex, bool multipleFiles, string separator)
        {
            string fileseparator = separator;
            string filenames = "";
            OpenFileDialog ofd = new OpenFileDialog();
            ofd.Filter = Filter;
            ofd.FilterIndex = FilterIndex;
            ofd.InitialDirectory = ".";
            ofd.Multiselect = multipleFiles;
            ofd.RestoreDirectory = true;
            ofd.DereferenceLinks = true;
            ofd.CheckPathExists = true;
            ofd.CheckFileExists = true;

            if (string.IsNullOrEmpty(fileseparator))
                fileseparator = " ";

            if (ofd.ShowDialog() == DialogResult.OK)
            {
                foreach (string filename in ofd.FileNames)
                {
                    filenames += fileseparator;
                    if (filename.Contains(" "))
                        filenames += "\"" + filename + "\"";
                    else
                        filenames += filename;
                }
            }
            return filenames;
        }

        /// <summary>
        /// Open a file dialog to select capture files
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btOpenCapFiles_Click(object sender, EventArgs e)
        {
            string captureFileExtensions =
                "Capture files (*.cap, *.ivs, *.dump)|*.cap;*.ivs;*.dump|All files (*.*)|*.*";
            this.tbFilenames.Text += " " + this.FileDialog(captureFileExtensions, 0, true, null).Trim();
            this.tbFilenames.Text = this.tbFilenames.Text.Trim();
        }

        private void ShowHideEssidBssid(object sender, EventArgs e)
        {
            if ((CheckBox)sender == this.cbBssid)
            {
                this.tbBssid.Visible = this.cbBssid.Checked;
            }
            else
            {
                this.tbEssid.Visible = this.cbEssid.Checked;
            }
        }

        /// <summary>
        /// Called when clicking on Laucnh WZCook
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btLaunchWzcook_Click(object sender, EventArgs e)
        {
            try
            {
                Process.Start(this.currentDir + @"\wzcook.exe");
            }
            catch
            {
                MessageBox.Show("Failed to start WZCook", this.Text);
            }
        }

        private void cbAdvancedOptions_CheckedChanged(object sender, EventArgs e)
        {
            this.pAdvancedOptions.Visible =
                this.cbAdvancedOptions.Checked && !this.cbPTW.Checked;
        }

        private string setOptions(bool isChecked, string option, string arg)
        {
            return string.Empty;
               
        }

        private void btLaunchCrack_Click(object sender, EventArgs e)
        {
            string launch, options, path;

            options = string.Empty;

            if (string.IsNullOrEmpty(this.tbFilenames.Text))
            {
                MessageBox.Show("Give at least one capture file to crack", this.Text);
                return;
            }

            if (this.rbWEP.Checked)
            {
                // Force WEP Mode
                options += " -a 1";

                if (this.cbPTW.Checked)
                {
                    // use PTW
                    options += " -z";
                }
                else
                {
                    //Key size
                    options += " -n " + this.cbKeySize.Text;

                    // Force showing ascii
                    options += " -s";
                }
            }
            else
            {
                // Force WPA Mode
                options += " -a 2";
            }
           

            // Do we have to use a dictionnary?
            if (this.rbWPA.Checked || (this.rbWEP.Checked && this.cbUseWordlist.Checked && !this.cbPTW.Checked))
            {
                if (checkFileExist(this.tbWPADico.Text,
                        "Please specify a wordlist and/or\n"
                        + "check that dictionnary file exist") == false)
                {
                    return;
                }
                options += " -w \"" + this.tbWPADico.Text + "\"";
            }

            // Advanced options
            if (this.cbAdvancedOptions.Checked && !this.cbPTW.Checked)
            {

                // BSSID
                if (this.cbBssid.Checked && !string.IsNullOrEmpty(this.tbBssid.Text))
                {
                    if (this.tbBssid.Text.Contains(" "))
                    {
                        MessageBox.Show("Invalid BSSID", this.Text);
                        return;
                    }
                    options += " -b " + this.tbBssid.Text;
                }

                // ESSID?
                if (this.cbEssid.Checked && !string.IsNullOrEmpty(this.tbBssid.Text))
                    options += " -e \"" + this.tbEssid.Text + "\"";

                if (this.rbWEP.Checked && !this.cbUseWordlist.Checked)
                {
                    //Limit search to Alphanumeric values
                    if (this.cbAlphanum.Checked)
                        options += " -c";

                    //Limit search to BCD characters
                    if (this.cbBCD.Checked)
                        options += " -t";

                    //Limit search to Numeric Values (Fritz!BOX)
                    if (this.cbFritzbox.Checked)
                        options += " -h";

                    //Disabling KoreK attacks
                    foreach (String elem in this.clbKorek.CheckedItems)
                    {
                        options += " -k " + int.Parse(elem);
                    }

                    //Fudge factor
                    options += " -f " + this.NUDFudge.Value.ToString();

                    if (this.cbSingleBrute.Checked)
                    {
                        options += " -y";
                    }
                    else
                    {
                        options += " -x" + this.NUDkbBrute.Value.ToString();
                        if (this.cbMultiThreading.Checked == false)
                            options += " -X";
                    }

                }
            }

            options = options.Trim();
            // End options

            path = this.currentDir + "\\aircrack-ng.exe";
            launch = "\"" + path + "\" " + options + " " + this.tbFilenames.Text;
           
            this.writeLog("Launch command: " + launch);

                // " " + type + " file does not exist",
            if (checkFileExist(path, "Aircrack-ng executable"))
            {
                try
                {
                    Process.Start(cmd_exe, "/k \" " + launch + " \"");
                }
                catch
                {
                    this.writeLog("Failed to start Aircrack-ng process");
                    MessageBox.Show("Failed to start Aircrack-ng", this.Text);
                }
            }
        }

        /// <summary>
        /// Checking if a file exist
        /// </summary>
        /// <param name="path">Path to the file</param>
        /// <param name="message">Message to show</param>
        /// <returns></returns>
        private bool checkFileExist(string path, string message)
        {
            bool ret = false;

            // Checking if file exist
            if (string.IsNullOrEmpty(path) == false)
                ret = File.Exists(path);

            if (ret == false)
            {
                string completeMsg = "Failed to start Aircrack-ng.";
                if (string.IsNullOrEmpty(message) == false)
                    completeMsg += "\n" + message;

                // Write it to log file
                this.writeLog("File <" + path + "> does not exist");

                MessageBox.Show(completeMsg, this.Text);
            }
            return ret;
        }

        private void btLaunchAirodump_Click(object sender, EventArgs e)
        {
            try
            {
                Process.Start("airodump-ng.exe");
            }
            catch
            {
                this.writeLog("Failed to start Airodump-ng");
                MessageBox.Show("Failed to start Airodump-ng", this.Text);
            }
        }

        private void cbSingleBrute_CheckedChanged(object sender, EventArgs e)
        {
            bool enable = !this.cbSingleBrute.Checked;
            this.NUDkbBrute.Enabled = enable;
            this.cbMultiThreading.Enabled = enable;
            this.lkbBrute.Enabled = enable;
        }

        private void btOpenDico_Click(object sender, EventArgs e)
        {
            this.tbWPADico.Text += "," + this.FileDialog("Wordlist|*.*", 0, true, ",").Trim();

            this.tbWPADico.Text = this.tbWPADico.Text.Trim(',').Trim('\"');
        }

        private void cbPMKDecap_CheckedChanged(object sender, EventArgs e)
        {
            this.tbPMKDecap.Visible = this.cbPMKDecap.Checked;
        }

        private void ShowHideEssidBssidDecap(object sender, EventArgs e)
        {
            if ((CheckBox)sender == this.cbBssidDecap)
            {
                this.tbBssidDecap.Visible = this.cbBssidDecap.Checked;
            }
            else
            {
                this.tbEssidDecap.Visible = this.cbEssidDecap.Checked;
            }
        }

        private void btLaunchAirdecap_Click(object sender, EventArgs e)
        {
            string path, options, launch, keypass;

            if (string.IsNullOrEmpty(this.tbDecapFile.Text))
            {
                // No capture file given
                this.writeLog("Aircrack-ng - Missing capture file(s) to crack");
                MessageBox.Show("Give at least one capture file to crack", this.Text);
                return;
            }

            options = string.Empty;

            //Setting options

            if (this.cbNotRemove80211.Checked)
                options += " -l";

            if (this.cbEssidDecap.Checked &&
                !string.IsNullOrEmpty(this.tbEssidDecap.Text))
                options += " -e " + this.tbEssidDecap.Text;

            if (this.cbBssidDecap.Checked &&
                !string.IsNullOrEmpty(this.tbBssidDecap.Text))
                options += " -b " + this.tbBssidDecap.Text;

            keypass = this.tbKeyPassphrase.Text;

            if (this.rbWepDecap.Checked)
            {
                options += "-w " + keypass;
            }
            else
            {
                options += "-p " + keypass;

                if (this.cbPMKDecap.Checked)
                    options += "-k " + this.tbPMKDecap.Text;
            }



            //End Setting options

            path = this.currentDir + "\\airdecap-ng.exe";
            launch = "\"" + path + "\" " + options.Trim() + " " + this.tbFilenames.Text;

            this.writeLog("Launch command: " + launch);

            try
            {
                if (!File.Exists(path))
                    throw (new Exception());
                Process.Start(cmd_exe, "/k \" " + launch + " \"");
            }
            catch
            {
                MessageBox.Show("Failed to start Airdecap-ng", this.Text);
            }
        }

        private void rbWepDecap_CheckedChanged(object sender, EventArgs e)
        {
            this.lEncryptionText.Text = "Key (hex)";
            this.cbPMKDecap.Visible = false;
            this.tbPMKDecap.Visible = false;
        }

        private void rbWPADecap_CheckedChanged(object sender, EventArgs e)
        {
            this.lEncryptionText.Text = "Passphrase";
            this.cbPMKDecap.Visible = true;
            this.tbPMKDecap.Visible = true;
        }

        private void btLoadDecapFile_Click(object sender, EventArgs e)
        {
            string captureFileExtensions =
                "Capture files (*.cap, *.dump)|*.cap;*.dump|All files (*.*)|*.*";

            this.tbDecapFile.Text = this.FileDialog(captureFileExtensions, 0, false, null).Trim();
        }

        private void rbWEP_CheckedChanged(object sender, EventArgs e)
        {
            this.pWEPstdOption.Visible = this.rbWEP.Checked && !this.cbUseWordlist.Checked && !this.cbPTW.Checked;
            if (this.rbWEP.Checked)
            {
                this.cbPTW.Visible = true;
                this.pWordlist.Visible = this.cbUseWordlist.Checked && !this.cbPTW.Checked;
            }
            else
            {
                this.cbPTW.Visible = false;
                this.pWordlist.Visible = true;
            }

            this.pWEPKeySize.Visible = this.rbWEP.Checked;
            this.cbUseWordlist.Visible = this.rbWEP.Checked && !this.cbPTW.Checked;
        }

        private void cbUseWordlist_CheckedChanged(object sender, EventArgs e)
        {
            this.pWordlist.Visible = this.cbUseWordlist.Checked;
            this.pWEPstdOption.Visible = !this.cbUseWordlist.Checked;
            this.cbPTW.Enabled = !this.cbUseWordlist.Checked;
        }

        private void cbPTW_CheckedChanged(object sender, EventArgs e)
        {
            this.cbUseWordlist.Enabled = !this.cbPTW.Checked;
            this.cbAdvancedOptions.Enabled = !this.cbPTW.Checked;
            this.pAdvancedOptions.Visible = !this.cbPTW.Checked;
            this.cbUseWordlist_CheckedChanged(null, null);
            this.rbWEP_CheckedChanged(null, null);
            this.cbAdvancedOptions_CheckedChanged(null, null);

        }

        private void Faircrack_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.writeLog("Application closing");
            this.debugStream.Close();
        }

        private void clbKorek_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

 

        private void chkAirserv01_CheckedChanged(object sender, EventArgs e)
        {
           
        }

        private void btLaunchAirserv_Click(object sender, EventArgs e)
        {
            string launch, options, path;

            options = string.Empty;
           
            //if (string.IsNullOrEmpty(this.tbFilenames.Text))
            //{
            //    MessageBox.Show("Give at least one capture file to crack", this.Text);
            //    return;
            //}

            if (this.chkAirserv01.Checked)
            {
                // This help screen
                options += " -h";
            }
            else
            {


                if (this.chkAirserv02.Checked && (this.txtAirserv02.Text != ""))
                {
                    // TCP port to listen on (default:666)
                    options += " -p" + this.txtAirserv02.Text;
                }
                else
                {
                    options += " -p 666";
                }

                if (this.chkAirserv03.Checked && (this.txtAirserv03.Text != ""))
                {
                    // Wifi interface to use
                    options += " -d " + this.txtAirserv03.Text;
                }
                else
                {
                    MessageBox.Show("Indiquer <iface>", "Wifi interface to use");
                    return;
                }
               
                if (this.chkAirserv04.Checked && (this.txtAirserv04.Text != ""))
                {
                    // Channel to use
                    options += " -c " + this.txtAirserv04.Text;
                }
                else
                {
                    MessageBox.Show("Indiquer <chan>", "Channel to use");
                    return;
                }

                if (this.chkAirserv05.Checked)
                {
                    // Debug level (1 to 3; default: 1)
                    options += " -v " + this.lstAirserv05.Text;
                }

            }
            options = options.Trim();
            // End options

            path = this.currentDir + "\\airserv-ng.exe";
           
            launch = "\"" + path + "\" " + options;
           
            this.writeLog("Launch command: " + launch);
           
            if (checkFileExist(path, "Airserv-ng executable"))
            {
                try
                {
                   
                    Process.Start(cmd_exe, "/k \" " + launch + " \"");
       
                }
                catch
                {
                    this.writeLog("Failed to start Airserv-ng process");
                    MessageBox.Show("Failed to start Airserv-ng", this.Text);
                }
            }
        }

        private void cbKeySize_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        private void chkAirserv01_Click(object sender, EventArgs e)
        {
            if (chkAirserv01.Checked == true)
            {
                chkAirserv02.Enabled = false;
                txtAirserv02.Enabled = false;
                chkAirserv02.Checked = false;
                chkAirserv03.Enabled = false;
                txtAirserv03.Enabled = false;
                chkAirserv03.Checked = false;
                chkAirserv04.Enabled = false;
                txtAirserv04.Enabled = false;
                chkAirserv04.Checked = false;
                chkAirserv05.Enabled = false;
                lstAirserv05.Enabled = false;
                chkAirserv05.Checked = false;
            }
            else
            {
                chkAirserv02.Enabled = true;
                txtAirserv02.Enabled = true;
                chkAirserv02.Checked = true;
                chkAirserv03.Enabled = true;
                txtAirserv03.Enabled = true;
                chkAirserv03.Checked = true;
                chkAirserv04.Enabled = true;
                txtAirserv04.Enabled = true;
                chkAirserv04.Checked = true;
                chkAirserv05.Enabled = true;
                lstAirserv05.Enabled = true;
                chkAirserv05.Checked = true;
            }
        }

        private void chkAirserv02_Click(object sender, EventArgs e)
        {
            chkAirserv02.Checked = true;
        }

        private void chkAirserv03_Click(object sender, EventArgs e)
        {
            chkAirserv03.Checked = true;
        }

        private void chkAirserv04_Click(object sender, EventArgs e)
        {
            chkAirserv04.Checked = true;
        }

        private void chkAirserv05_Click(object sender, EventArgs e)
        {
            chkAirserv05.Checked = true;
        }

        private void Faircrack_Load(object sender, EventArgs e)
        {
            chkAirserv01.Checked = true;
            chkAirserv02.Enabled = false;
            txtAirserv02.Enabled = false;
            chkAirserv02.Checked = false;
            chkAirserv03.Enabled = false;
            txtAirserv03.Enabled = false;
            chkAirserv03.Checked = false;
            chkAirserv04.Enabled = false;
            txtAirserv04.Enabled = false;
            chkAirserv04.Checked = false;
            chkAirserv05.Enabled = false;
            lstAirserv05.Enabled = false;
            chkAirserv05.Checked = false;
            gbWinPcapWrapper.Visible = false;
            gbFWlanAPI.Visible = false ;
            gbLanAPI.Visible = false;
            gbDevcon.Visible = false;
            gbNmcap.Visible = false;

            cbBxMethodApi.Items.Add("WinPcap Wrapper");
            cbBxMethodApi.Items.Add("Wlan API.Net");
            cbBxMethodApi.Items.Add("Lan API.Net");
            cbBxMethodApi.Items.Add("Devcon.exe");
            cbBxMethodApi.Items.Add("Nmcap.exe");

            Client = new WlanClient();
            FirstInterface = Client.Interfaces[0];
            WlanState();
            GetConnectionState.Start();
            FirstInterface.BssType = Wlan.Dot11BssType.Any;
           

        }

        private void cbBxMethodApi_SelectedIndexChanged(object sender, EventArgs e)
        {
            int selectedMethod;
            selectedMethod = cbBxMethodApi.SelectedIndex;
            //lblMethod.Text = selectedMethod;
            if (selectedMethod == 0)
            {
                gbWinPcapWrapper.Visible = true ;
                gbFWlanAPI.Visible = false ;
                gbLanAPI.Visible = false;
                gbDevcon.Visible = false;
                gbNmcap.Visible = false;
                com*****xDevice.Items.Clear();
                foreach (PcapDevice pdev in dev)
                {
                    com*****xDevice.Items.Add(pdev.Adapter);
                }

                if (dev.Length > 0)
                    com*****xDevice.SelectedIndex = 0;
            }
            else if (selectedMethod == 1)
            {
                gbWinPcapWrapper.Visible = false;
                gbFWlanAPI.Visible = true;
                gbLanAPI.Visible = false;
                gbDevcon.Visible = false;
                gbNmcap.Visible = false;
                InterfaceList.Items.Clear();
                ListViewItem AddCarteInfo;
                foreach (WlanClient.WlanInterface Carte in Faircrack.Client.Interfaces)
                {
                    AddCarteInfo = new ListViewItem();
                    AddCarteInfo.Text = Carte.InterfaceName;
                    AddCarteInfo.SubItems.Add(Carte.InterfaceState.ToString());
                    AddCarteInfo.SubItems.Add(Carte.InterfaceGuid.ToString());
                    AddCarteInfo.SubItems.Add(Carte.InterfaceDescription);

                    InterfaceList.Items.Add(AddCarteInfo);
                }
                //MessageBox.Show("FWlan API.Net", "FWlan API.Net");
            }
            else if (selectedMethod == 2)
            {
                gbWinPcapWrapper.Visible = false;
                gbFWlanAPI.Visible = false ;
                gbLanAPI.Visible = true ;
                gbDevcon.Visible = false;
                gbNmcap.Visible = false;
                MessageBox.Show("Lan API.Net", "Lan API.Net");
            }
            else if (selectedMethod == 3)
            {
                gbWinPcapWrapper.Visible = false;
                gbFWlanAPI.Visible = false ;
                gbLanAPI.Visible = false;
                gbDevcon.Visible = true ;
                gbNmcap.Visible = false;
                MessageBox.Show("Devcon.exe", "Devcon.exe");
            }
            else if (selectedMethod == 4)
            {
                gbWinPcapWrapper.Visible = false;
                gbFWlanAPI.Visible = false ;
                gbLanAPI.Visible = false;
                gbDevcon.Visible = false;
                gbNmcap.Visible = true ;
                MessageBox.Show("Nmcap.exe", "Nmcap.exe");
            }
        }

        private void com*****xDevice_SelectedIndexChanged(object sender, EventArgs e)
        {
            labelInfoCarte.Text = string.Format("Description: {0}\nIP: {1}\nMasque: {2}\nAdapter: {3}\nLoopback: {4}\nLoopback: {5}", dev[com*****xDevice.SelectedIndex].Description,
                dev[com*****xDevice.SelectedIndex].Ip, dev[com*****xDevice.SelectedIndex].Netmask, dev[com*****xDevice.SelectedIndex].Adapter
                , dev[com*****xDevice.SelectedIndex].Loopback, dev[com*****xDevice.SelectedIndex].Adapter);
        }

        //Cette fonction se charge de chercher l'addresse MAC d'une carte réseau sur la machine locale.
        private string GetMACAddress(string Adapter)
        {
            ManagementClass mc;
            mc = new ManagementClass("Win32_NetworkAdapterConfiguration");
            ManagementObjectCollection moc = mc.GetInstances();
            //On cherche l'adaptateur passé en parametre pour la fonction
            foreach (ManagementObject o in moc)
            {
                if ((bool)o.GetPropertyValue("IPEnabled") == true)
                {
                    string strAdapter;
                    strAdapter = o.GetPropertyValue("Description").ToString();
                    //S'il est trouvé
                    if (strAdapter == Adapter)
                        return o.GetPropertyValue("MacAddress").ToString();
                }
            }
            // Sinon
            return string.Empty;
        }

        public string ConvertToHex(string asciiString)
        {
            string hex = "";
            foreach (char c in asciiString)
            {
                int tmp = c;
                hex += String.Format("{0:x2}", (uint)System.Convert.ToUInt32(tmp.ToString()));
            }
            return hex;
        }

        private void InterfaceList_SelectedIndexChanged(object sender, EventArgs e)
        {
            try
            {
                ListViewItem Selected = InterfaceList.SelectedItems[0];
                CarteDesc.Text = "Description : " + Selected.SubItems[3].Text;
                Carteid.Text = "Id : " + Selected.SubItems[2].Text;
                CarteState.Text = "Etat : " + Selected.SubItems[1].Text;
                //Mise a jour du textBox
                lblMacAddress.Text = GetMACAddress(Selected.SubItems[3].Text);
                //lblMacAddress.Text = "Test : " + Selected.SubItems[4].Text;
            }
            catch
            {
            }
        }

        void OnWlanConnection(Wlan.WlanNotificationData notifyData, Wlan.WlanConnectionNotificationData connNotifyData)
        {
            WlanState();
        }
        void OnWlanReason(Wlan.WlanNotificationData notifyData, Wlan.WlanReasonCode reasonCode)
        {
            WlanState();
        }
        void OnWlanNotification(Wlan.WlanNotificationData notifyData)
        {
            WlanState();
        }

        private void WlanState()
        {
            try
            {
                switch (FirstInterface.InterfaceState)
                {
                    case Wlan.WlanInterfaceState.NotReady:
                        ConnectionState.Image = Properties.Resources.wireless_tower_off;
                        ConnectionStateLabel.Text = "Non prêt";
                        Disconnect.Visible = false;
                        break;
                    case Wlan.WlanInterfaceState.Connected:
                        ConnectionState.Image = Properties.Resources.wireless_tower_4;
         

βerni69

  • Visitante
Re: Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #152 en: 27-03-2012, 14:21 (Martes) »
If you want acces in googlecode send me a private mail

Atentamente, berni69

berni69

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #153 en: 09-11-2012, 09:10 (Viernes) »
Buenos días a todos!!  Esta semana he preparado una release de mantenimiento para airwin. Me sabe mal deciros que no trae mejoras añadidas.



Esta release mejora la inestabilidad al pasar el diccionario, ya que no se lanza en el hilo principal del programa, por lo tanto la GUI no se cuelga.  Más adelante os presentaré algunas mejoras añadidas jeje

Descarga

Desconectado sanson

  • Colaborador
  • *
  • Mensajes: 8404
Re: Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #154 en: 09-11-2012, 11:04 (Viernes) »
Hola

Gracias berni69

Saludos

en el movil,  para variar

berni69

  • Visitante
Re: AirWin 2.0.5 Renovado (wlanreaver para windows)
« Respuesta #155 en: 08-01-2013, 19:51 (Martes) »
Liberada una nueva versión del software que te permite inyectar claves en una red wireless sin tener una interfaz en modo monitor.




  • Esta versión trae una nueva interfaz, más sencilla que la anterior habiendo eliminado campos inútiles.
  • Permite copiar la clave una vez encontrada.
  • Salvar los datos de la red junto a la clave si el ataque ha sido fructífero.
  • Permite exportar un listado de redes al alcance.
  • Permite parar un ataque a la mitad y retormarlo sin perder los progresos.



Enlace original:
http://www.bitsdelocos.es/2013/01/liberado-airwin-2-0-5/
« Última modificación: 08-01-2013, 19:55 (Martes) por βerni69 »

warcry

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #156 en: 08-01-2013, 21:35 (Martes) »
gracias artista  >:( >:( >:(

ahora que estarás tramando  ;D

berni69

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #157 en: 08-01-2013, 21:58 (Martes) »
gracias artista  >:( >:( >:(

ahora que estarás tramando  ;D

Ahora me tomare unos dias para terminar unas cosillas de la uni, pero luego volveré con más, pero no mejor, no porque no se pueda sino porque no se ja ja ja

yacarecito

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #158 en: 04-03-2013, 12:44 (Lunes) »
Te felicito. Has hecho un gran trabajo. Yo también programo en .Net en mis ratos libres y hacer una cosa como ésta es bastante difícil. Un abrazo

tristanc

  • Visitante
Re: AirWin 2.0 Renovado (wlanreaver para windows)
« Respuesta #159 en: 19-11-2013, 21:18 (Martes) »
Lo primero muchas gracias por esta App, estoy haciendo pruebas en win 8.1 , he generado un diccionario desde SWifi_Keygen, he añadido la pass de mi router , lanzo el AirWin , selecciona la red y el diccionario y no es capaz de conectarse pasa todo el diccionario y me dice que no ha encontrado la clave ¿ Es cosa del win 8.1 o de la App ?

Un Saludo y gracias de nuevo.