language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
Patch
aircrack-ng/patches/old/zd1211rw_inject_2.6.23.patch
diff -Naur linux-2.6.23_orig/drivers/net/wireless/zd1211rw/zd_mac.c linux-2.6.23_rawtx/drivers/net/wireless/zd1211rw/zd_mac.c --- linux-2.6.23_orig/drivers/net/wireless/zd1211rw/zd_mac.c 2007-10-09 22:31:38.000000000 +0200 +++ linux-2.6.23_rawtx/drivers/net/wireless/zd1211rw/zd_mac.c 2007-12-04 00:07:04.000000000 +0100...
Patch
aircrack-ng/patches/old/zd1211rw_inject_2.6.26.patch
diff -pur drivers/net/wireless/zd1211rw/zd_mac.c.orig drivers/net/wireless/zd1211rw/zd_mac.c --- drivers/net/wireless/zd1211rw/zd_mac.c.orig 2008-07-20 19:44:42.000000000 +0200 +++ drivers/net/wireless/zd1211rw/zd_mac.c 2008-07-20 19:49:24.000000000 +0200 @@ -159,14 +159,19 @@ void zd_mac_clear(struct zd_mac *mac) sta...
Patch
aircrack-ng/patches/old/zd1211rw_malformed.patch
--- linux-source-2.6.17-orig/drivers/net/wireless/zd1211rw/zd_mac.c 2006-10-01 18:42:47.000000000 +0200 +++ linux-source-2.6.17-rawtx/drivers/net/wireless/zd1211rw/zd_mac.c 2007-04-01 22:35:50.000000000 +0200 @@ -716,6 +716,8 @@ u8 rt_rate; u16 rt_channel; u16 rt_chbitmask; + u8 rt_antsignal; + u8 rt_antnoise;...
aircrack-ng/patches/wpe/freeradius-wpe/Dockerfile
# Docker container to test WPE patch against a specific version of freeradius, then create an updated patch if successful. # Build args: # - OLD_VERSION: old hostapd version # - NEW_VERSION: new hostapd version FROM kalilinux/kali-rolling ARG OLD_VERSION ARG NEW_VERSION RUN if [ -z "${OLD_VERSION}" ]; then \ >&2 e...
aircrack-ng/patches/wpe/freeradius-wpe/freeradius-server-3.2.2-wpe.diff
diff -rupN freeradius-server-3.2.2/raddb/mods-config/files/authorize freeradius-server-3.2.2-wpe/raddb/mods-config/files/authorize --- freeradius-server-3.2.2/raddb/mods-config/files/authorize 2023-02-16 14:38:01.000000000 +0000 +++ freeradius-server-3.2.2-wpe/raddb/mods-config/files/authorize 2023-02-16 16:05:35.00000...
Markdown
aircrack-ng/patches/wpe/freeradius-wpe/README.md
# FreeRadius Wireless Pawn Edition Updated patch for FreeRadius 3.2.2 More information about WPE can be found: https://www.willhackforsushi.com/?page_id=37 Supported and tested EAP Types/Inner Authentication Methods (others may also work): * PEAP/PAP (OTP) * PEAP/MSCHAPv2 * EAP-TTLS/PAP (includes OTPs) * EAP-TTLS/MS...
aircrack-ng/patches/wpe/hostapd-wpe/Dockerfile
# Docker container to test WPE patch against a specific version of hostapd, then create an updated patch if successful. # Build args: # - OLD_VERSION: old hostapd version # - NEW_VERSION: new hostapd version FROM kalilinux/kali-rolling ARG OLD_VERSION ARG NEW_VERSION RUN if [ -z "${OLD_VERSION}" ]; then \ >&2 echo...
Patch
aircrack-ng/patches/wpe/hostapd-wpe/hostapd-2.10-wpe.patch
diff '--color=auto' -rupN hostapd-2.10/hostapd/.config hostapd-2.10-wpe/hostapd/.config --- hostapd-2.10/hostapd/.config 1970-01-01 00:00:00.000000000 +0000 +++ hostapd-2.10-wpe/hostapd/.config 2022-02-22 00:00:00.356000000 +0000 @@ -0,0 +1,416 @@ +# Wireless Pawn Edition HostAPd configuration file +# +# This file list...
Markdown
aircrack-ng/patches/wpe/hostapd-wpe/README.md
# About hostapd-wpe is the replacement for [FreeRADIUS-WPE](http://www.willhackforsushi.com/?page_id=37). It implements IEEE 802.1x Authenticator and Authentication Server impersonation attacks to obtain client credentials, establish connectivity to the client, and launch other attacks where applicable. hostapd-wpe...
aircrack-ng/scripts/airmon-ng.freebsd
#!/bin/sh if [ -n "$1" ] && [ -z "$2" ]; then echo "Invalid command. Valid commands: [start|stop] INTERFACE." exit 1 fi if [ -n "$1" ]; then if [ "$1" != 'stop' ] && [ "$1" != 'start' ]; then echo "Invalid command. Valid commands: [start|stop] INTERFACE." exit 1 fi fi if [ -n "$2" ]; then ifconfig $2 >/de...
aircrack-ng/scripts/airmon-ng.linux
#!/bin/sh DEBUG="0" VERBOSE="0" ELITE="0" USERID="" checkvm_status="" MAC80211=0 WIRELESS_TOOLS="0" IW_SOURCE="https://mirrors.edge.kernel.org/pub/software/network/iw/iw-5.19.tar.xz" IW_ERROR="" if [ ! -d '/sys/' ]; then printf "CONFIG_SYSFS is disabled in your kernel, this program will not work.\n" exit 1 fi if ! m...
aircrack-ng/scripts/airodump-ng-oui-update
#!/bin/sh CURL=`which curl 2>/dev/null` WGET=`which wget 2>/dev/null` OUI_DOWNLOAD_URL="http://standards-oui.ieee.org/oui.txt" OUI_PATH0="/etc/aircrack-ng" OUI_PATH1="/usr/local/etc/aircrack-ng" OUI_PATH2="/usr/share/aircrack-ng" if [ -d "$OUI_PATH0" ]; then OUI_PATH="$OUI_PATH0" elif [ -d "$OUI_PATH1" ]; then OUI_...
Python
aircrack-ng/scripts/dcrack.py
#!/usr/bin/env python import sys import os import subprocess import random import time import sqlite3 import threading import hashlib import gzip import json import datetime import re import socket import tempfile import errno if sys.version_info[0] >= 3: from socketserver import ThreadingTCPServer from urllib.requ...
aircrack-ng/scripts/Makefile.am
# Aircrack-ng # # Copyright (C) 2017 Joseph Benden <joe@benden.us> # # Autotool support was written by: Joseph Benden <joe@benden.us> # # 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 ver...
aircrack-ng/scripts/airdrop-ng/airdrop-ng
#!/usr/bin/env python #part of project lemonwedge __author__ = "TheX1le & King_Tuna" __version__ = "2012.2.17.1.54.00" __licence__ = "GPL2" """ Airdrop-ng A rule based wireless deauth tool a component of project lemonwedge Written by Thex1le and King_Tuna """ import sys, argparse, re, time, random, os import pdb #upda...
aircrack-ng/scripts/airdrop-ng/Makefile.am
# Aircrack-ng # # Copyright (C) 2017 Joseph Benden <joe@benden.us> # # Autotool support was written by: Joseph Benden <joe@benden.us> # # 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 ver...
aircrack-ng/scripts/airdrop-ng/README
_ _ _ _ ___ /_\ (_)_ __ __| |_ __ ___ _ __ /\ \ \/ _ \ //_\\| | '__/ _` | '__/ _ \| '_ \ _____ / \/ / /_\/ / _ \ | | | (_| | | | (_) | |_) |_____/ /\ / /_\\ \_/ \_/_|_| \__,_|_| \___/| .__/ \_\ \/\____/ |_| ...
Python
aircrack-ng/scripts/airdrop-ng/setup.py
#!/usr/bin/env python # This file is Copyright David Francos Cuartero, licensed under the GPL2 license. from setuptools import setup setup(name='airdrop-ng', version='1.1', description='Rule based Deauth Tool', author='TheX1le', url='https://aircrack-ng.org', license='GPL2', classi...
Python
aircrack-ng/scripts/airdrop-ng/airdrop/libDumpParse.py
#!/usr/bin/env python #airodump parsing lib #returns in an array of client and Ap information #part of the airdrop-ng project from sys import exit as Exit class airDumpParse: def parser(self,file): """ One Function to call to parse a file and return the information """ fileOpenResults = self.airDumpOpen(file)...
Python
aircrack-ng/scripts/airdrop-ng/airdrop/libOuiParse.py
#!/usr/bin/env python __author__ = 'Ben "TheX1le" Smith, Marfi' __email__ = 'thex1le@gmail.com' __website__= '' __date__ = '09/19/09' __version__ = '2009.11.23' __file__ = 'ouiParse.py' __data__ = 'a class for dealing with the oui txt file' """ ######################################## # # This program and its support ...
Python
aircrack-ng/scripts/airdrop-ng/airdrop/__init__.py
import os import sys class bcolors: """ class for using colored text """ HEADER = '\033[95m' #pink OKBLUE = '\033[94m' #blue OKGREEN = '\033[92m' #green WARNING = '\033[93m' #yellow FAIL = '\033[91m' #red ENDC = '\033[0m' #white def disable(self): """ ...
Man Page
aircrack-ng/scripts/airdrop-ng/doc/airdrop-ng.1
.TH AIRDROP-NG 1 .SH NAME airdrop-ng - A rule based wireless deauth tool .SH SYNOPSIS .B airdrop-ng [-i <card> -t <data> -r <rules>] -d <driver> -s <sleep> -p -b -u .SH DESCRIPTION .BI airdrop-ng is a program used for targeted, rule-based deauthentication of users. It can target based on MAC address, type of hardware,...
Text
aircrack-ng/scripts/airdrop-ng/doc/Apple.sample.txt
#direct string lookup #strings were grep'd from the oui Txt file Apple Computer Apple Computer Inc Apple Computer Inc. Apple Computer, Inc. Apple Inc Apple, Inc Apple, Inc. APPLE COMPUTER APPLE COMPUTER INC. APPLE COMPUTER, INC. APPLE, INC #regex lookup apple #this will return the same ouis as the strings above
aircrack-ng/scripts/airdrop-ng/doc/dropRules.conf.example
#[comments] #All lines in this file are commented out # The # symbol at the front of a line denotes a commented line #airdrop-ng.py rule configuration file #a is allow #d is deny #format is (a or d)/bssid|(any or client mac or list of client macs in format of mac1,mac2,mac3) #it is not wise to mix rule types for examp...
aircrack-ng/scripts/airdrop-ng/doc/Makefile.am
# Aircrack-ng # # Copyright (C) 2017 Joseph Benden <joe@benden.us> # # Autotool support was written by: Joseph Benden <joe@benden.us> # # 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 ver...
aircrack-ng/scripts/airgraph-ng/airgraph-ng
#!/usr/bin/env python __author__ = 'Ben "TheX1le" Smith' __email__ = 'thex1le _A_T_ remote-exploit.org' __website__= 'remote-exploit.org' __date__ = '05/18/2011' __version__= '2.0.2' __file__ = 'airgraph-ng' __data__ = 'This is the main airgraph-ng file' import subprocess import sys, argparse, os import pdb t...
aircrack-ng/scripts/airgraph-ng/airodump-join
#!/usr/bin/python # this script is a total hack it works and I'll clean it up later import sys,getopt, argparse, pdb, re def raw_lines(file): try: raw_lines = open(file, "r") except Exception: print("Failed to open ",file,". Do you have the file name correct?") sys.exit(1) Rlines = raw_lines.readlines() retur...
aircrack-ng/scripts/airgraph-ng/Makefile.am
# Aircrack-ng # # Copyright (C) 2017 Joseph Benden <joe@benden.us> # # Autotool support was written by: Joseph Benden <joe@benden.us> # # 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 ver...
aircrack-ng/scripts/airgraph-ng/README
Airgraph-ng ------------- Airgraph-ng's purpose is to graph the txt file that is created when you run airodump with the -w option The idea is that we are showing the relationships of the clients to the AP's so don't be shocked if you see only one mapping as you may only have captured one client. Installation -------...
Python
aircrack-ng/scripts/airgraph-ng/setup.py
#!/usr/bin/env python # This file is Copyright David Francos Cuartero, licensed under the GPL2 license. from setuptools import setup setup(name='airgraph-ng', version='1.1', description='Aircrack-ng network grapher', author='TheX1le', url='https://aircrack-ng.org', license='GPL2', ...
Python
aircrack-ng/scripts/airgraph-ng/airgraphviz/libDumpParse.py
#!/usr/bin/env python #airodump parsing lib #returns in an array of client and Ap information #part of the airdrop-ng project from sys import exit as Exit class airDumpParse: def parser(self,file): """ One Function to call to parse a file and return the information """ self.capr ...
Python
aircrack-ng/scripts/airgraph-ng/airgraphviz/libOuiParse.py
#!/usr/bin/env python __author__ = 'Ben "TheX1le" Smith, Marfi' __email__ = 'thex1le@gmail.com' __website__= '' __date__ = '04/26/2011' __version__ = '2011.4.26' __file__ = 'ouiParse.py' __data__ = 'a class for dealing with the oui txt file' """ ######################################## # # This program and its support...
Python
aircrack-ng/scripts/airgraph-ng/airgraphviz/lib_Airgraphviz.py
__author__ = 'Ben "TheX1le" Smith' __email__ = 'thex1le@gmail.com' __website__= 'http://trac.aircrack-ng.org/browser/trunk/scripts/airgraph-ng/' __date__ = '03/02/09' __version__ = '' __file__ = 'lib_Airgraphviz.py' __data__ = 'This library supports airgraph-ng' """ ######################################## # # Airgrap...
aircrack-ng/scripts/airgraph-ng/lib/Makefile
AC_ROOT = ../../.. include $(AC_ROOT)/common.mak LIB_FILES = lib_Airgraphviz.py ag_lib = $(DESTDIR)$(bindir)/lib default: all all: @echo Nothing to do. Run make install install: uninstall install -d $(ag_lib) install -m 644 $(LIB_FILES) $(ag_lib) uninstall: -rm -f $(ag_lib)/lib_Airgraphviz.py
Man Page
aircrack-ng/scripts/airgraph-ng/man/airgraph-ng.1
.TH airgraph-ng 1 "May 2010" Linux "User Manual" .SH NAME airgraph-ng - a 802.11 visualization utility .SH SYNOPSIS .B airgraph-ng [options] .SH DESCRIPTION .BI airgraph-ng graphs the CSV file generated by Airodump-ng. The idea is that we are showing the relationships of the clients to the AP's so don't be shocked i...
Man Page
aircrack-ng/scripts/airgraph-ng/man/airodump-join.1
.TH Airodump-join .SH NAME airodump-join - a support tool for airgraph-ng that allows you to join the airodump output files. .SH SYNOPSIS airodump-join.py -i foo_name_1 foo_name_2 foo_name_3 .... -o output-file.csv .SH DESCRIPTION A simple support tool that allows joining of airodump files into one larger file. It ...
aircrack-ng/scripts/airgraph-ng/man/Makefile.am
# Aircrack-ng # # Copyright (C) 2017 Joseph Benden <joe@benden.us> # # Autotool support was written by: Joseph Benden <joe@benden.us> # # 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 ver...
Text
aircrack-ng/scripts/airgraph-ng/test/test-1.txt
BSSID, First time seen, Last time seen, channel, Speed, Privacy, Cipher, Authentication, Power, # beacons, # IV, LAN IP, ID-length, ESSID, Key 00:02:2D:8E:F9:FB, 2008-11-02 22:40:42, 2008-11-05 01:43:08, 1, 11, WEP OPN , WEP, , 20, 6162, 56513, 0. 0. 0. 0, 1, , 02:1D:7E:47:F6:B3, 2008-11-02 22:40:4...
aircrack-ng/scripts/versuck-ng/Makefile.am
# Aircrack-ng # # Copyright (C) 2017 Joseph Benden <joe@benden.us> # # Autotool support was written by: Joseph Benden <joe@benden.us> # # 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 ver...
aircrack-ng/scripts/versuck-ng/README
Please read the tools manpage this can be done with the following command from the current directory man ./versuck-ng.1 Also please check out the tools help with ./versuck-ng -h Thank you -TheX1le
aircrack-ng/scripts/versuck-ng/versuck-ng
#!/usr/bin/env python __author__ = "TheX1le" __version__ = "10-15-2009.231841" """ Verizon Fios and actiontech in their wisdom decided that it would be a good idea to generate your 64 bit WEP key off the internal mac address of your router and some basic base 36 math. Sounds like a fine idea to me! """ import argpar...
Man Page
aircrack-ng/scripts/versuck-ng/versuck-ng.1
.TH versuck-ng "June 2010" Linux "User Manual" .SH NAME versuck-ng - an actiontec router default wep key generator .SH SYNOPSIS versuck-ng [options] .SH DESCRIPTION .I versuck-ng's purpose is to calculate the default WEP key for verizon .I issued actiontec wireless routers. It does this using a list of .I known...
Include
aircrack-ng/src/Makefile.inc
# Aircrack-ng # # Copyright (C) 2017 Joseph Benden <joe@benden.us> # # Autotool support was written by: Joseph Benden <joe@benden.us> # # 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 ver...
C
aircrack-ng/src/airbase-ng/airbase-ng.c
/* * 802.11 monitor AP * based on airtun-ng * * Copyright (C) 2008-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2008, 2009 Martin Beck <martin.beck2@gmx.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
C
aircrack-ng/src/aircrack-ng/aircrack-ng.c
/* * 802.11 WEP / WPA-PSK Key Cracker * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2004, 2005 Christophe Devine * * Advanced WEP attacks developed by KoreK * WPA-PSK attack code developed by Joshua Wright * SHA1 MMX assembly code written by Simon Marechal * *...
C++
aircrack-ng/src/aircrack-ng/linecount.cpp
/* * High speed wordcounting functions for ETA calculations by Len White <lwhite * at nrw.ca> * * Copyright (C) 2015 Len White <lwhite at nrw.ca> * * 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 Softwa...
C/C++
aircrack-ng/src/aircrack-ng/linecount.h
/* * High speed wordcounting header * * 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 d...
C
aircrack-ng/src/aircrack-ng/session.c
/* * Aircrack-ng session (load/restore). * * Copyright (C) 2018-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * * 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 o...
C/C++
aircrack-ng/src/aircrack-ng/session.h
/* * Aircrack-ng session (load/restore). * * Copyright (C) 2018-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * * 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 o...
C/C++
aircrack-ng/src/aircrack-ng/wkp-frame.h
/* * Elcomsoft Wireless Security Auditor (EWSA) Project File's Frame (3.02) * * Copyright (C) 2010 ZhaoChunsheng * * 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...
C
aircrack-ng/src/airdecap-ng/airdecap-ng.c
/* * 802.11 to Ethernet pcap translator * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2004, 2005 Christophe Devine * * 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 * t...
C
aircrack-ng/src/airdecloak-ng/airdecloak-ng.c
/* * WEP Cloaking filtering * * Copyright (C) 2008-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * * Thanks to Alex Hernandez aka alt3kx for the hardware. * * 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 * ...
C/C++
aircrack-ng/src/airdecloak-ng/airdecloak-ng.h
/* * * 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 ...
C
aircrack-ng/src/aireplay-ng/aireplay-ng.c
/* * 802.11 WEP replay & injection attacks * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2004, 2005 Christophe Devine * * WEP decryption attack (chopchop) developed by KoreK * * This program is free software; you can redistribute it and/or modify * it under the ...
C
aircrack-ng/src/airodump-ng/airodump-ng.c
/* * pcap-compatible 802.11 packet sniffer * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2004, 2005 Christophe Devine * * 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 * ...
C/C++
aircrack-ng/src/airodump-ng/airodump-ng.h
/* * * 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 ...
C
aircrack-ng/src/airodump-ng/dump_write.c
/* * Airodump-ng text files output * * Copyright (C) 2018-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * * 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 ...
C/C++
aircrack-ng/src/airodump-ng/dump_write.h
/* * * 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 ...
C
aircrack-ng/src/airolib-ng/airolib-ng.c
/* * A tool to compute and manage PBKDF2 values as used in WPA-PSK and WPA2-PSK * * Copyright (C) 2007-2009 ebfe * * 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...
C
aircrack-ng/src/airserv-ng/airserv-ng.c
/* * Server for osdep network driver. Uses osdep itself! [ph33r the recursion] * * Copyright (c) 2007-2009 Andrea Bittau <a.bittau@cs.ucl.ac.uk> * * Advanced WEP attacks developed by KoreK * WPA-PSK attack code developed by Joshua Wright * SHA1 MMX assembly code written by Simon Marechal * * ...
C
aircrack-ng/src/airtun-ng/airtun-ng.c
/* * 802.11 WEP network connection tunneling * based on aireplay-ng * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2006-2009 Martin Beck <martin.beck2@gmx.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU ...
C
aircrack-ng/src/airventriloquist-ng/airventriloquist-ng.c
/* * 802.11 injection attacks * * Copyright (C) 2015 Tim de Waal * * 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 ...
C/C++
aircrack-ng/src/airventriloquist-ng/airventriloquist-ng.h
#include <stdint.h> static const uint32_t crc32_ccitt_table[256] = {0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de...
C
aircrack-ng/src/besside-ng/besside-ng.c
/* * Copyright (C) 2010 Andrea Bittau <bittau@cs.stanford.edu> * * 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 versi...
C
aircrack-ng/src/besside-ng-crawler/besside-ng-crawler.c
/* * Copyright (C) 2010 Pedro Larbig <pedro.larbig@carhs.de> * * 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...
C
aircrack-ng/src/buddy-ng/buddy-ng.c
/* * Copyright (c) 2007-2009 Andrea Bittau <a.bittau@cs.ucl.ac.uk> * * 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 l...
C
aircrack-ng/src/easside-ng/easside-ng.c
/* * Copyright (c) 2007-2009 Andrea Bittau <a.bittau@cs.ucl.ac.uk> * * 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 l...
C/C++
aircrack-ng/src/easside-ng/easside.h
/*- * Copyright (c) 2007, Andrea Bittau <a.bittau@cs.ucl.ac.uk> * */ #ifndef __EASSIDE_COMMON_H__ #define __EASSIDE_COMMON_H__ #define S_DEFAULT_PORT 6969 #define S_DEFAULT_UDP_PORT 6969 #define S_CMD_INET_CHECK 1 #define S_CMD_PACKET 2 #define S_HELLO_LEN 50 #endif /* __EASSIDE_COMMON_H__ */
C
aircrack-ng/src/ivstools/ivstools.c
/* * IVS Tools - Convert or merge IVs * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2004, 2005 Christophe Devine (pcap2ivs and mergeivs) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public ...
C
aircrack-ng/src/kstats/kstats.c
/* * Kstat: displays the votes of the korek attack for each keybyte * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2004, 2005 Christophe Devine * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public L...
C
aircrack-ng/src/makeivs-ng/makeivs-ng.c
/* * Server for osdep network driver. Uses osdep itself! [ph33r the recursion] * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2004, 2005 Christophe Devine * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
C
aircrack-ng/src/packetforge-ng/packetforge-ng.c
/* * 802.11 ARP-request WEP packet forgery * UDP, ICMP and custom packet forging developed by Martin Beck * * Copyright (C) 2006-2022 Thomas d'Otreppe <tdotreppe@aircrack-ng.org> * Copyright (C) 2004, 2005 Christophe Devine (arpforge) * * This program is free software; you can redistribute it and/or modify...
C
aircrack-ng/src/tkiptun-ng/tkiptun-ng.c
/* * 802.11 WPA replay & injection attacks * * Copyright (C) 2008, 2009 Martin Beck <martin.beck2@gmx.de> * * WEP decryption attack (chopchop) developed by KoreK * * 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 ...
C
aircrack-ng/src/wesside-ng/wesside-ng.c
/* * Copyright (C) 2005-2009 Andrea Bittau <a.bittau@cs.ucl.ac.uk> * * 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 v...
C
aircrack-ng/src/wpaclean/wpaclean.c
/* * Copyright (C) 2011 Andrea Bittau <bittau@cs.stanford.edu> * * 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 versi...
Shell Script
aircrack-ng/test/int-test-common.sh
#!/bin/sh cleanup() { echo "Cleanup" kill_wpa_supplicant kill_hostapd # takes care of killing tcpdump if necessary clean_tcpdump unload_module restore_regdomain } screen_cleanup() { SCREEN_NAME=capture [ -n "$1" ] && SCREEN_NAME="$1" screen -S "${SCREEN_NAME}" -p 0 -X quit screen -wipe } check_arg_is_numb...
Include
aircrack-ng/test/Makefile.inc
# Aircrack-ng # # Copyright (C) 2017 Joseph Benden <joe@benden.us> # # Autotool support was written by: Joseph Benden <joe@benden.us> # # 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 ver...
aircrack-ng/test/password.lst
# Compiled by Solar Designer 12345 abc123 password passwd 123456 newpass notused Hockey internet asshole Maddock 12345678 newuser computer Internet Mickey qwerty fiction Cowboys Jordan Hatton test Michael ou812 orange 1234 Beavis 123 tigger Soccer shadow Purple Sports dragon michael wheeling mustang Monkey Qwerty Schoo...
C
aircrack-ng/test/pingreply.c
/* pingreply.c - Ping reply * * DESCRIPTION * * Replies to all ping requests. Useful for testing sniffing/injecting * packets with airtun-ng. * * USAGE * * ./pingreply <iface> * * INSTALL * * cc -lpcap -o pingreply pingreply.c * * LICENSE * * Copyright (c) 2015, Jorn van Engelen <spamme@quzart.com> * ...
Python
aircrack-ng/test/replay.py
#!/usr/bin/env python import sys import pcapy from scapy import * from impacket.ImpactDecoder import * try: conf.verb=0 except NameError: # Scapy v2 from scapy.all import * conf.verb=0 if len(sys.argv) != 2: print("Usage: ./replay.py <iface>") sys.exit(1) interface=sys.argv[1] max_bytes = 2...
Shell Script
aircrack-ng/test/test-airbase-ng-0001.sh
#!/bin/sh # Airbase-ng WPA2 supplicant authentication if test ! -z "${CI}"; then exit 77; fi CHANNEL=1 SSID=thisrocks # Load helper functions . "${abs_builddir}/../test/int-test-common.sh" # Check root check_root # Check all required tools are installed check_airmon_ng_deps_present is_tool_present wpa_supplicant ...
Shell Script
aircrack-ng/test/test-airbase-ng-0002.sh
#!/bin/sh # Airbase-ng WPA supplicant authentication if test ! -z "${CI}"; then exit 77; fi CHANNEL=1 SSID=thisrocks # Load helper functions . "${abs_builddir}/../test/int-test-common.sh" # Check root check_root # Check all required tools are installed check_airmon_ng_deps_present is_tool_present wpa_supplicant #...
Shell Script
aircrack-ng/test/test-airbase-ng-0003.sh
#!/bin/sh # Airbase-ng open, hidden SSID and auth with fakeauth (wrong ssid and then correct) # Temporarily disable the test exit 77 if test ! -z "${CI}"; then exit 77; fi CHANNEL=1 SSID=thisrocks # Load helper functions . "${abs_builddir}/../test/int-test-common.sh" # Check root check_root # Check all required t...
Shell Script
aircrack-ng/test/test-aircrack-ng-0001.sh
#!/bin/sh set -ef "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -w "${abs_srcdir}/password.lst" \ -a 2 \ -e Harkonen \ -q "${abs_srcdir}/wpa2.eapol.cap" | \ ${GREP} 'KEY FOUND! \[ 12345678 \]' exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0002.sh
#!/bin/sh set -ef "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -w "${abs_srcdir}/password.lst" \ -a 2 \ -e test \ -q "${abs_srcdir}/wpa.cap" | \ ${GREP} 'KEY FOUND! \[ biscotte \]' exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0003.sh
#!/bin/sh set -ef "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -w "${abs_srcdir}/password.lst" \ -a 2 \ -e linksys \ -q "${abs_srcdir}/wpa2-psk-linksys.cap" | \ ${GREP} 'KEY FOUND! \[ dictionary \]' exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0004.sh
#!/bin/sh set -ef "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -w "${abs_srcdir}/password.lst" \ -a 2 \ -e linksys \ -q "${abs_srcdir}/wpa-psk-linksys.cap" | \ ${GREP} 'KEY FOUND! \[ dictionary \]' exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0005.sh
#!/bin/sh set -ef "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ --oneshot \ "${abs_srcdir}/wep_64_ptw.cap" \ -l /dev/null | \ ${GREP} "KEY FOUND" | ${GREP} "1F:1F:1F:1F:1F" exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0006.sh
#!/bin/sh set -ef echo "asciipsk" > ${abs_builddir}/1word cat > ${abs_builddir}/session << EOF ${abs_builddir} 00:0D:93:EB:B0:8C 1 0 0 4 ${top_builddir}/src/aircrack-ng${EXEEXT} ${abs_srcdir}/wpa.cap -w ${abs_builddir}/1word,${abs_srcdir}/password.lst EOF "${abs_builddir}/../aircrack-ng${EXEEXT}" \ -R ${abs_bui...
Shell Script
aircrack-ng/test/test-aircrack-ng-0007.sh
#!/bin/sh set -ef "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -w "${abs_srcdir}/password-2.lst" \ -a 3 \ -e Neheb \ -q "${abs_srcdir}/n-02.cap" | \ ${GREP} 'KEY FOUND! \[ bo$$password \]' || \ echo 'SKIP: CMAC may be missing.' exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0008.sh
#!/bin/sh set -ef "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -w "${abs_srcdir}/password.lst" \ -a 2 \ -e test \ -q "${abs_srcdir}/n-02.cap" \ "${abs_srcdir}/wep_64_ptw.cap" \ "${abs_srcdir}/wep.open.system.authentication.cap" \ "${abs_srcdir}/wep.shared.key.authentication...
Shell Script
aircrack-ng/test/test-aircrack-ng-0009.sh
#!/bin/sh set -ef echo 1 | "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -w "${abs_srcdir}/password.lst" \ "${abs_srcdir}/wpa2.eapol.cap" \ "${abs_srcdir}/wps2.0.pcap" | \ ${GREP} 'KEY FOUND! \[ 12345678 \]' exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0010.sh
#!/bin/sh set -ef #./aircrack-ng -X -K ./test.ivs if test ! -z "${CI}"; then exit 77; fi "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -X -K \ "${abs_srcdir}/test.ivs" \ -l /dev/null | \ ${GREP} "KEY FOUND" | ${GREP} "AE:5B:7F:3A:03:D0:AF:9B:F6:8D:A5:E2:C7" exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0011.sh
#!/bin/sh set -ef if test ! -z "${CI}"; then exit 77; fi "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -b 00:11:95:91:78:8C \ -K \ "${abs_srcdir}/test.ivs" \ -l /dev/null | \ ${GREP} "KEY FOUND" | ${GREP} "AE:5B:7F:3A:03:D0:AF:9B:F6:8D:A5:E2:C7" exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0012.sh
#!/bin/sh set -ef if test ! -z "${CI}"; then exit 77; fi "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -K \ "${abs_srcdir}/test.ivs" \ -l /dev/null | \ ${GREP} "KEY FOUND" | ${GREP} "AE:5B:7F:3A:03:D0:AF:9B:F6:8D:A5:E2:C7" exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0013.sh
#!/bin/sh set -ef # if test ! -z "${CI}"; then exit 77; fi "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -b 28:10:7B:94:BB:29 \ -w "${abs_srcdir}/password-3.lst" \ -a 2 \ "${abs_srcdir}/test1.pcap" \ -l /dev/null -q | \ ${GREP} "KEY FOUND" | ${GREP} "15211521" exi...
Shell Script
aircrack-ng/test/test-aircrack-ng-0014.sh
#!/bin/sh set -ef # if test ! -z "${CI}"; then exit 77; fi "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -b 00:12:BF:77:16:2D \ -w "${abs_srcdir}/password-3.lst" \ -a 2 \ "${abs_srcdir}/test-pmkid.pcap" \ -l /dev/null -q | \ ${GREP} "KEY FOUND" | ${GREP} "SP-91862D...
Shell Script
aircrack-ng/test/test-aircrack-ng-0015.sh
#!/bin/sh set -ef echo "staytogether" | "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -e "Stay Alfred" \ -w - \ "${abs_srcdir}/StayAlfred.hccapx" \ -l /dev/null | \ ${GREP} "KEY FOUND" exit 0
Shell Script
aircrack-ng/test/test-aircrack-ng-0016.sh
#!/bin/sh set -ef # Turn our pcap into a hccapx "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -j "test" \ -e "linksys" \ "${abs_srcdir}/wpa2-psk-linksys.cap" # Make sure we can load it and solve it echo "dictionary" | "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_A...
Shell Script
aircrack-ng/test/test-aircrack-ng-0017.sh
#!/bin/sh set -ef # Turn our pcap into a hccap "${abs_builddir}/../aircrack-ng${EXEEXT}" \ ${AIRCRACK_NG_ARGS} \ -J "test" \ -e "linksys" \ "${abs_srcdir}/wpa2-psk-linksys.cap" # Make sure we can load it and solve it # NOTE: We can't load a HCCAP file. Mostly because it doesn't have a magic number #e...