V
V
Vlad Stelin2019-03-01 21:20:05
linux
Vlad Stelin, 2019-03-01 21:20:05

How to install mdk3 on Ubuntu?

How to install mdk3 on Ubuntu? Thanks in advance for your replies.
The output code has been truncated a bit
[email protected]:~# git clone git://git.kali.org/packages/mdk3.git
Cloning to "mdk3"...
remote: Counting objects: 147, done.
remote: Compressing objects: 100% (134/134), done.
remote: Total 147 (delta 36), reused 0 (delta 0)
Getting objects: 100% (147/147), 245.10 KiB | 14.00 KiB/s, done.
Change detection: 100% (36/36), done.
Checking the connection... done.
[email protected]:~# cd mdk3
[email protected]:~/mdk3# male
Command 'male' not found, did you mean:
Command 'make' from package 'make-guile' (universe)
Command ' make' from package 'make' (main)
Command 'ale' from package 'ale' (universe)
Command 'mame' from package 'mame' (multiverse)
male: command not found
[email protected]:~/mdk3# make
make -C osdep
make[1]: input to directory "/root/mdk3/osdep"
Building for Linux
make[2]: enter directory "/root/mdk3/osdep"
gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o osdep.o osdep.c
gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 - fPIC -I.. -c -o common.o common.c
gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o network.o network.c
gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o linux.o linux.c
linux.c: In function ' is_ndiswrapper':
linux.c:165:17: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
int n, pid, unused;
^
linux.c: In function 'linux_set_rate':
linux.c:334:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
int pid, status, unused;
^
mdk3.c:3883:10: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_eapo);
^
mdk3.c:3886:10: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_wids);
^
mdk3.c:3889:10: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_macb);
^
mdk3.c:3892:10: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_wpad);
^
mdk3.c:3895:10: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_head);
^
mdk3.c:3902:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_head);
^
mdk3.c:3904:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_beac);
^
mdk3.c:3905:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_auth);
^
mdk3.c:3906:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_prob);
^
mdk3.c:3907:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_deau);
^
mdk3.c:3908:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_mich);
^
mdk3.c:3909:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_eapo);
^
mdk3.c:3910:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_wids);
^
mdk3.c:3911:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_macb);
^
mdk3.c:3912:9: warning: format not a string literal and no format arguments [-Wformat-security]
printf(use_wpad);
^
mdk3.c:3931:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
setuid( getuid() );
^
/tmp/cc9afGIC.o: In function `init_channel_hopper':
/root/mdk3/mdk3.c:1269: undefined reference to `pthread_create'
/tmp/cc9afGIC.o: In function `ssid_brute':
/root/mdk3/mdk3. c:2282: undefined reference to `pthread_create'
/tmp/cc9afGIC.o: In function `ssid_brute_real':
/root/mdk3/mdk3.c:2332: undefined reference to `pthread_create'
/tmp/cc9afGIC.o: In function ` intelligent_auth_dos':
/root/mdk3/mdk3.c:2702: undefined reference to `pthread_create'
/tmp/cc9afGIC.o: In function `wids_machine':
/root/mdk3/mdk3.c:2790: undefined reference to `pthread_create'
/tmp/cc9afGIC.o:/root/mdk3/mdk3.c:2868: more undefined references to `pthread_create' follow
collect2: error:ld returned 1 exit status
Makefile:22: error executing recipe for target 'mdk3'
make: *** [mdk3] Error 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2019-03-01
@VladStelin

The easiest way is to connect the universe repository and install it with a regular package manager, without bothering with compiling the code.
https://packages.ubuntu.com/search?keywords=mdk3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question