Aircrack-ng

Please login or register.

Login with username, password and session length

Post reply

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Restrictions: 10 per post, maximum total size 8920KB, maximum individual size 1536KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What OS is Kali based off of, www.kali.org? Lowercase.:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: tqk_ac
« on: February 17, 2019, 03:15:02 PM »

Quote
But as i have gone through the other options in the GUI it seems you also have hardcoded paths for the other available selections. This is my terminal output if i select  any of the options available to me in the gui.


Code: [Select]
root@Chromecast:/opt/aircrackgui/aircrack-ng-gui# python3 aircrack-ng-gui.py
aircrack-ng-gui.py:17: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.add(Gtk.Label(data))

This is a label related error, it shouldn't have affected functionality, it's fixed and shouldn't show up in the most recent push to the repo.

Quote
The interface does indeed load upon start but clicking (airmon-ng) and then trying to click on any of the buttons to (start NetworkManager.service) or (stop NetworkManager.service) yields this in terminal:

Code: [Select]
/bin/sh: 1: gksudo: not found

I'm not sure why this is happening, but I couldn't reproduce it. I guess it has to do with the gksudo command that I put for early stage debugging. Replaced it with sudo, try to see if it will work.

Thanks a lot for the input, will update the instructions as well.


EDIT: I have added an installation method, haven't tried it on other machines yet, planning to do by the next weekend, so it could be buggy, feedback on it would help!
Posted by: Nickelz34
« on: February 17, 2019, 02:44:52 PM »

Ok finally got to retry with the GUI on the recloned update

no more error when first loading and now the GUI shows perfectly and allows me to see a selection of wifi interfaces (wlan0-internal laptop card) & (wlan1-external awus036ach alpha card)

But as i have gone through the other options in the GUI it seems you also have hardcoded paths for the other available selections. This is my terminal output if i select  any of the options available to me in the gui.


Code: [Select]
root@Chromecast:/opt/aircrackgui/aircrack-ng-gui# python3 aircrack-ng-gui.py
aircrack-ng-gui.py:17: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.add(Gtk.Label(data))

The interface does indeed load upon start but clicking (airmon-ng) and then trying to click on any of the buttons to (start NetworkManager.service) or (stop NetworkManager.service) yields this in terminal:

Code: [Select]
/bin/sh: 1: gksudo: not found

the same terminal output is given for any of the airmon-ng buttons clicked

I am thinking this is once again linked to having hardcoded paths linked to these buttons options ( but than again i know nothing about python and am a mere n00b to most of this lol)


on a side note


The additional install instructions are a big help and im sure it will further help others who want to try this out as well . Although I do think more specific instructions could be given, such as:

    (choose/create install directory for repo)
    (cd /dir.choosen.or.created)
    clone the repo
    (git clone https://github.com/tqk-gh/aircrack-ng-gui.git)
    (cd aircrack-ng-gui-master)
    install dependencies by pip install -r requirements.txt
    make sure aircrack-ng is installed
    (cd aircrack-ng-gui)
    run aircrack-ng-gui by sudo python3 aircrack-ng-gui.py     | or if root / Kali Users |     python3 aircrack-ng-gui.py



These are just my opinions as to what i have found that may make things harder for beginners  ^^^^^

I also have a knack for constructive criticism and left out steps for anything sometimes makes me :facepalm:

LAWLZ

all in all keep up the good work loving how this is comming along
 





Posted by: tqk_ac
« on: February 14, 2019, 12:08:52 AM »

Ok I will try to reclone, will get some time before the weekend I hope. I will get back to you .

Oh and you should include needed prerequisites and some short install instructions. This GUI looks awesome in pix but I was kinda guessing by looking at the code as to what I would need to install for this to work as I was missing some things.

If it helps I'm on the latest Kali build all up to date as well :)

Again, thanks for the feedback. I have updated the repo with a better dependencies management and usage instructions. I'm planning to also tarball it into a package that can be installed. Currently busy so the progress is quite slow. So try it whenever you have time. More feedback is much appreciated.
Posted by: Nickelz34
« on: February 13, 2019, 04:39:27 PM »

Ok I will try to reclone, will get some time before the weekend I hope. I will get back to you .

Oh and you should include needed prerequisites and some short install instructions. This GUI looks awesome in pix but I was kinda guessing by looking at the code as to what I would need to install for this to work as I was missing some things.

If it helps I'm on the latest Kali build all up to date as well :)
Posted by: tqk_ac
« on: February 11, 2019, 06:19:25 PM »

You shouldn't rely on hardcoded path, it's different on a few distro. A few other examples, it can be found in /sbin or /usr/sbin.

Ok, I see. Thanks for the info. Will work on it asap.

EDIT: I updated the repo in github to not include hardcoded paths.
Posted by: tqk_ac
« on: February 11, 2019, 06:17:22 PM »

ok a few things

you have some sytax errors in your python file

looks like a random letter "f" was put randomly in code i removed all instances of the error

but now i have a error im not familiar with

"sh: 1: /bin/iw: not found"

i am assuming it has something to do with selecting the wireless interfaces, as i am not able to select a wireless interface in the app at all

maybe someone can chime in on this

prob a n00b issue lol

Thanks for commenting.
The problem I guess is that you are trying to run it in Python2.X?
f can be used in python 3 to use variables inside strings. for example:
x = 3
print(f"x is: {x}")

//output
x is: 3

Try running it in Python 3 and see if it will work

EDIT: if you're still facing the "sh: 1: /bin/iw: not found" issue, try cloning the repo again since I updated it to not include hardcoded paths.
Posted by: misterx
« on: February 11, 2019, 04:00:08 PM »

You shouldn't rely on hardcoded path, it's different on a few distro. A few other examples, it can be found in /sbin or /usr/sbin.
Posted by: Nickelz34
« on: February 11, 2019, 01:39:35 PM »

ok a few things

you have some sytax errors in your python file

looks like a random letter "f" was put randomly in code i removed all instances of the error

but now i have a error im not familiar with

"sh: 1: /bin/iw: not found"

i am assuming it has something to do with selecting the wireless interfaces, as i am not able to select a wireless interface in the app at all

maybe someone can chime in on this

prob a n00b issue lol
Posted by: Nickelz34
« on: February 11, 2019, 11:37:46 AM »

hey this looks really nice !

Thanks alot ! Im going to load it up now . Still a n00b with aircrack tools but this will definitely help out alot . 
Posted by: tqk_ac
« on: February 07, 2019, 06:31:54 AM »

Performing a bruteforce attack on WPA/WPA2 networks using aircrack-ng and iw.

https://github.com/t-gitt/aircrack-ng-gui

Main Window
Main Window where user can choose to go Scan, airmon-ng, aircrack-ng windows after selecting the interface (wlp4s0)

 


Airmon-ng Window
A window to check, start or stop airmon-ng, along with starting and stopping systemd NetworkManager.service

 


Scanning Window
A wifi access point scanning window. After choosing their interface, the user can scan for wifi ap using iw. Then, after choosing the target ap, they can go to airodump-ng after starting airmon-ng

 


Airmon-ng "with ssid chosen" Window
Very similar to Airmon-ng window, except this one pass the ssid variables "SSID, BSSID, CHANNEL" to Airodump-ng window

 



Airodump-ng Window | 1
To run airodump-ng (via desired terminal emulator) on the targeted SSID and output the file (with the handshake) to a desired file name. | (could be done better using STDERR and subprocess)

 


Airodump-ng Window | 2
After running airodump-ng, the user can use aireplay to send deauthentication packets for desired n times and a desired station to capture the handshake

 


Aircrack-ng Window
After saving the handshake into a cap file, aircrack can be accessed from the main window. The user chooses a .cap file that contain the handshake and a wordlist to perform the bruteforce attack on their desired terminal emulator.