Closed 0000x0 closed 7 years ago
Please, stop creating issues copying and pasting everything as is because the asterisks are interpreted by markdown as bold. Use screenshots instead next time.
I see in your data you are launching docker from a standard non-root account. Try to launch docker run with sudo or as root.
Anyway I think is not related to docker. What about launching it in native mode without using docker? Are you able to capture packets?
Ok the problem here is that your xterm windows can't reach your host X Window system. By default, on docker the DISPLAY used is ":0". So be pretty sure of having your X running there.
env | grep DISPLAY
As I said, usually they are on ":0" and if that is the case it should work. If you have in ":1" for example, you must modify your docker run
command to set the DISPLAY var pointing to the right place. So you should add -e DISPLAY=:1
to your docker run
command.
I updated right now Linux Docker Wiki Section with a new parameter which does this automatically. So your command should be:
docker run --rm -ti --name airgeddon --net=host --privileged -p 3000:3000 -v /home/localhost/AirgeDDon:/io -e DISPLAY=$(env | grep DISPLAY | awk -F "=" '{print $2}') v1s1t0r1sh3r3/airgeddon
The key to see if it worked is the xdpy resolution detection. If the resolution is not detected something went wrong and probably the xterms are going to fail.
Closing.
localhost@localhost-x ~ $ docker run --rm -ti --name airgeddon --net=host --privileged -p 3000:3000 -v /home/localhost/AirgeDDon:/io v1s1t0r1sh3r3/airgeddon
*** Welcome **** Welcome to airgeddon script v6.21
^C *** Exiting **** Exiting airgeddon script v6.21 - See you soon! :)
Checking if cleaning/restoring tasks are needed... No tasks to perform on exit
localhost@localhost-x ~ $ docker run --rm -ti --name airgeddon --net=host --privileged -p 3000:3000 -v /home/localhost/AirgeDDon:/io v1s1t0r1sh3r3/airgeddon /bin/bash root@localhost-x:/opt# exit exit localhost@localhost-x ~ $ docker run --rm -ti --name airgeddon --net=host --privileged -p 3000:3000 -v /home/localhost/AirgeDDon:/io v1s1t0r1sh3r3/airgeddon
*** Welcome **** Welcome to airgeddon script v6.21
*** Welcome **** This script is only for educational purposes. Be good boyz&girlz! Use it only on your own networks!!
Accepted bash version (4.4.11(1)-release). Minimum required version: 4.2
Detecting resolution... Can't be detected!, using standard : 1024x768
If make work xpdyinfo command, the script will be able to calculate your screen resolution and show you the windows in a better way. Depending of the system, the package name could be x11-utils, xdpyinfo, xorg-xdpyinfo, etc.
Known compatible distros with this script : "Arch" "Backbox" "BlackArch" "CentOS" "Cyborg" "Debian" "Fedora" "Gentoo" "Kali" "Kali arm" "OpenMandriva" "Parrot" "Parrot arm" "Raspbian" "Red Hat" "SuSE" "Ubuntu" "Wifislax"
Detecting system... Kali Linux (Docker)
Let's check if you have installed what script needs Press [Enter] key to continue...
Essential tools: checking... ifconfig .... Ok iwconfig .... Ok iw .... Ok awk .... Ok airmon-ng .... Ok airodump-ng .... Ok aircrack-ng .... Ok xterm .... Ok
Optional tools: checking... beef-xss .... Ok dhcpd .... Ok wash .... Ok etterlog .... Ok dnsspoof .... Ok reaver .... Ok hostapd .... Ok iptables .... Ok wpaclean .... Ok bully .... Ok sslstrip .... Ok aireplay-ng .... Ok unbuffer .... Ok lighttpd .... Ok crunch .... Ok ettercap .... Ok hashcat .... Ok mdk3 .... Ok bettercap .... Ok pixiewps .... Ok
Your distro has all necessary essential tools. Script can continue... Press [Enter] key to continue...
The automatic update has been disabled when airgeddon is running in a Docker container. If you want to update it, download again the image tagged as "latest" Press [Enter] key to continue...
***** Interface selection ** Select an interface to work with :
Hint Every time you see a text with the prefix [PoT] acronym for "Pending of Translation", means the translation has been automatically generated and is still pending of review
8
***** airgeddon main menu ** Interface wlp1s0mon selected. Mode: Monitor
Select an option from menu :
Hint Select a wifi card to work in order to be able to do more actions than with an ethernet interface
5
Handshake tools menu Interface wlp1s0mon selected. Mode: Monitor
Select an option from menu :
Hint Remember to select a target network with clients to capture Handshake
4
**** Exploring for targets ***** Exploring for targets option chosen (monitor mode needed)
Selected interface wlp1s0mon is in monitor mode. Exploration can be performed
When started, press [Ctrl+C] to stop... Press [Enter] key to continue... /opt/airgeddon/airgeddon.sh: line 6128: /tmp/nws-01.csv: No such file or directory
No networks found Press [Enter] key to continue...
im not sure if i supose create them ? :)