diff options
| author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-03-19 20:56:09 +0100 |
|---|---|---|
| committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-03-19 20:56:09 +0100 |
| commit | 6a21d65d2840c58cfa7cd749a04669d8f7980646 (patch) | |
| tree | 00b1aa153b69cda8cf9406c4700fd7730c34d3a5 /packages/aircrack/files | |
| parent | dcfe7349b369a87881cf1fa43085d9e9c5609fcf (diff) | |
| parent | 6f854d71c347475d53d5080a5490625345d95d12 (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/aircrack/files')
| -rw-r--r-- | packages/aircrack/files/makefile-ldflags.patch | 13 | ||||
| -rw-r--r-- | packages/aircrack/files/oe.patch | 10 | ||||
| -rw-r--r-- | packages/aircrack/files/silent_patch.diff | 87 |
3 files changed, 0 insertions, 110 deletions
diff --git a/packages/aircrack/files/makefile-ldflags.patch b/packages/aircrack/files/makefile-ldflags.patch deleted file mode 100644 index da2a0afaf1..0000000000 --- a/packages/aircrack/files/makefile-ldflags.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: 1.0-dev/src/Makefile -=================================================================== ---- 1.0-dev.orig/src/Makefile 2007-06-29 21:16:15.000000000 +0100 -+++ 1.0-dev/src/Makefile 2007-06-29 21:16:32.000000000 +0100 -@@ -36,7 +36,7 @@ - endif - LIBOSD = $(OSD)/lib$(OSD).a - --LIBSSL = -lssl -lcrypto -+LIBSSL = -lssl -lcrypto $(LDFLAGS) - - all: osd userland $(SBINFILES) - diff --git a/packages/aircrack/files/oe.patch b/packages/aircrack/files/oe.patch deleted file mode 100644 index 742d83b96b..0000000000 --- a/packages/aircrack/files/oe.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -ur aircrack-2.41-orig/Makefile aircrack-2.41/Makefile ---- aircrack-2.41-orig/Makefile 2005-11-22 13:09:39.000000000 -0500 -+++ aircrack-2.41/Makefile 2005-12-12 19:54:29.000000000 -0500 -@@ -1,5 +1,4 @@ --CC = gcc --CFLAGS = -g -W -Wall -O2 -+CFLAGS = -g -W -Wall -O3 - OPTFLAGS = -D_FILE_OFFSET_BITS=64 -D_MAJ=2 -D_MIN=41 - - prefix = /usr/local diff --git a/packages/aircrack/files/silent_patch.diff b/packages/aircrack/files/silent_patch.diff deleted file mode 100644 index b3ed5d3b49..0000000000 --- a/packages/aircrack/files/silent_patch.diff +++ /dev/null @@ -1,87 +0,0 @@ ---- aircrack.c.o 2005-02-14 01:10:25.000000000 +0100 -+++ aircrack.c 2005-02-14 01:11:00.000000000 +0100 -@@ -44,6 +44,7 @@ - "\n" - " usage: aircrack [options] <pcap file> <pcap file> ...\n" - "\n" -+" -S : silent - usefull for embedded devices\n" - " -d <start> : debug - specify beginning of the key\n" - " -f <fudge> : bruteforce fudge factor (default: 2)\n" - " -m <maddr> : MAC address to filter usable packets\n" -@@ -53,6 +54,7 @@ - - /* command-line parameters */ - -+int silent = 0; /* Silent, just display wep key if found */ - int debug_lvl = 0; /* # of keybytes fixed */ - int macfilter = 0; /* BSSID check flag */ - int stability = 0; /* unstable attacks on */ -@@ -803,7 +805,10 @@ - - wepkey[B] = wpoll[B][depth[B]].index; - -- show_stats( B ); -+ if (! silent) -+ { -+ show_stats( B ); -+ } - - if( B == 4 && weplen == 13 ) - { -@@ -832,14 +837,20 @@ - - /* we have a valid key */ - -+ if (! silent ) -+ { - show_stats( B ); -- - printf( " \33[31;1mKEY FOUND! [ " ); -- - for( i = 0; i < weplen; i++ ) - printf( "%02X", wepkey[i] ); -- - printf( " ]\33[0m\n\n" ); -+ } else -+ { -+ printf( "KEY FOUND! [ " ); -+ for( i = 0; i < weplen; i++ ) -+ printf( "%02X", wepkey[i] ); -+ printf( "]\n\n" ); -+ } - - kill( 0, SIGTERM ); - -@@ -893,7 +904,7 @@ - - while( 1 ) - { -- int option = getopt( argc, argv, "d:f:m:n:p:s:" ); -+ int option = getopt( argc, argv, "Sd:f:m:n:p:s:" ); - - if( option < 0 ) break; - -@@ -997,6 +1008,10 @@ - - break; - -+ case 'S': -+ silent=1; -+ break; -+ - default : goto usage; - } - } -@@ -1072,7 +1087,11 @@ - tm_start = time( NULL ); - tm_prev = time( NULL ); - -- printf( "\33[2J" ); -+ if (!silent) -+ { -+ printf( "\33[2J" ); -+ } -+ - fflush( stdout ); - - return( do_wep_crack( 0 ) ); |
