first commit (2009-03-30)

This commit is contained in:
2021-09-01 18:34:13 +02:00
commit 0c103de28f
90 changed files with 15009 additions and 0 deletions

62
src/mainGUI.h Normal file
View File

@ -0,0 +1,62 @@
//---------------------------------------------------------------------------
#ifndef mainGUIH
#define mainGUIH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
struct AP {
AnsiString IP;
AnsiString user;
AnsiString pass;
AnsiString wep;
AnsiString status;
};
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TPageControl *PageControl1;
TTabSheet *TabSheet1;
TButton *Button1;
TEdit *newWEP;
TLabel *Label2;
TEdit *currWEP;
TLabel *Label1;
TTabSheet *TabSheet2;
TStringGrid *StringGrid1;
TBitBtn *generarClaveWEP;
TLabel *hexWEP;
TLabel *currHexWEP;
void __fastcall FormShow(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall StringGrid1DrawCell(TObject *Sender, int ACol,
int ARow, TRect &Rect, TGridDrawState State);
void __fastcall generarClaveWEPClick(TObject *Sender);
void __fastcall newWEPChange(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
private: // User declarations
AP *APs;
AnsiString __fastcall wepASCII2HEX(AnsiString txt);
public: // User declarations
__fastcall TForm1(TComponent* Owner);
void __fastcall MyWndProc(Messages::TMessage &Message);
bool __fastcall updateRouter(AnsiString IP, AnsiString user, AnsiString pass, AnsiString WEP);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif