Closed username836 closed 4 years ago
You opened the same issue three times. Please don't do that in the future.
You need to cd roguehostapd
first. But if you just want to run Wifiphisher, you just need to move to the Wifiphisher directory and run "python bin/wifiphisher".
It still didn't work
I have the same issue. Anyone resolved that?
Don't work
Problem ~/roguehostapd# python3 setup.py instsll
/tmp/tmp_netlink_427dkp18/test_netlink.c:2:10: fatal error: netlink/netlink.h: No such file or directory
2 | #include <netlink/netlink.h>
| ^~~~~~~
compilation terminated.
[!] The development package for netlink is missing. Please download it and restart the compilation.If you are on Debian-based system: 'apt-get install libnl-3-dev libnl-genl-3-dev'.
root@localhost:~/roguehostapd# python3 setup.py install
/tmp/tmp_netlink_pbiq_3mu/test_netlink.c:2:10: fatal error: netlink/netlink.h: No such file or directory
2 | #include <netlink/netlink.h>
| ^~~~~~~
compilation terminated.
[!] The development package for netlink is missing. Please download it and restart the compilation.If you are on Debian-based system: 'apt-get install libnl-3-dev libnl-genl-3-dev'.
wifiphisher / wifiphisher Code Issues 104 Pull requests 9 Pulse Community Jump to bottom Open How to install roguehostapd ? #1102 @username836 username836 opened this issue about 21 hours ago I followed the steps on the git hub roguehostapd and still won't work
@sophron sophron commented about 20 hours ago We won't be able to help you if you don't provide any information.
@username836 username836 commented about 17 hours ago • edited about 17 hours ago root@kali:~# git clone https://github.com/wifiphisher/roguehostapd Cloning into 'roguehostapd'... remote: Enumerating objects: 952, done. remote: Total 952 (delta 0), reused 0 (delta 0), pack-reused 952 Receiving objects: 100% (952/952), 2.07 MiB | 4.96 MiB/s, done. Resolving deltas: 100% (254/254), done.
root@kali:~# ls Desktop Downloads Pictures roguehostapd Videos Documents Music Public Templates
root@kali:~# cd roguehostapd
root@kali:/roguehostapd# python setup.py install /tmp/tmp_netlink_vQphiR/test_netlink.c:2:10: fatal error: netlink/netlink.h: No such file or directory
include <netlink/netlink.h>
^
~~~~~~ compilation terminated. [!] The development package for netlink is missing. Please download it and restart the compilation.If you are on Debian-based system: 'apt-get install libnl-3-dev libnl-genl-3-dev'. root@kali:/roguehostapd# apt-get install libnl-3-dev libnl-genl-3-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libnl-3-dev libnl-genl-3-dev 0 upgraded, 2 newly installed, 0 to remove and 940 not upgraded. Need to get 122 kB of archives. After this operation, 683 kB of additional disk space will be used. Get:1 http://kali.download/kali kali-rolling/main amd64 libnl-3-dev amd64 3.4.0-1 [102 kB] Get:2 http://kali.download/kali kali-rolling/main amd64 libnl-genl-3-dev amd64 3.4.0-1 [20.3 kB] Fetched 122 kB in 1s (210 kB/s) Selecting previously unselected package libnl-3-dev:amd64. (Reading database ... 373911 files and directories currently installed.) Preparing to unpack .../libnl-3-dev_3.4.0-1_amd64.deb ... Unpacking libnl-3-dev:amd64 (3.4.0-1) ... Selecting previously unselected package libnl-genl-3-dev:amd64. Preparing to unpack .../libnl-genl-3-dev_3.4.0-1_amd64.deb ... Unpacking libnl-genl-3-dev:amd64 (3.4.0-1) ... Setting up libnl-3-dev:amd64 (3.4.0-1) ... Setting up libnl-genl-3-dev:amd64 (3.4.0-1) ... root@kali:~/roguehostapd# python setup.py install /tmp/tmp_openssl_d22BGa/test_openssl.c:2:10: fatal error: openssl/ssl.h: No such file or directoryinclude <openssl/ssl.h>
^
~~~~~~ compilation terminated. [!] The development package for openssl is missing. Please download it and restart the compilation.If you are on Debian-based system: 'apt-get install libssl-dev'.root@kali:~/roguehostapd# apt-get install libssl-dev Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libssl1.1 Suggested packages: libssl-doc The following NEW packages will be installed: libssl-dev The following packages will be upgraded: libssl1.1 1 upgraded, 1 newly installed, 0 to remove and 939 not upgraded. Need to get 3,325 kB of archives. After this operation, 8,114 kB of additional disk space will be used. Do you want to continue? [Y/n] y
Get:1 http://kali.download/kali kali-rolling/main amd64 libssl1.1 amd64 1.1.1b-1 [1,531 kB] Get:2 http://kali.download/kali kali-rolling/main amd64 libssl-dev amd64 1.1.1b-1 [1,794 kB] Fetched 3,325 kB in 1s (4,311 kB/s) Reading changelogs... Done Preconfiguring packages ... (Reading database ... 374059 files and directories currently installed.) Preparing to unpack .../libssl1.1_1.1.1b-1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1b-1) over (1.1.1a-1) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../libssl-dev_1.1.1b-1_amd64.deb ... Unpacking libssl-dev:amd64 (1.1.1b-1) ... Processing triggers for libc-bin (2.28-2) ... Setting up libssl1.1:amd64 (1.1.1b-1) ... Setting up libssl-dev:amd64 (1.1.1b-1) ... Processing triggers for libc-bin (2.28-2) ... root@kali:~/roguehostapd# python setup.py install In file included from roguehostapd/hostapd-2_6/src/l2_packet/l2_packet_linux.c:15: roguehostapd/hostapd-2_6/src/utils/common.h:426: warning: "__bitwise" redefined
define __bitwise
In file included from /usr/include/linux/filter.h:10, from roguehostapd/hostapd-2_6/src/l2_packet/l2_packet_linux.c:13: /usr/include/linux/types.h:22: note: this is the location of the previous definition
define __bitwise bitwise
roguehostapd/hostapd-2_6/src/ap/ieee802_11.c: In function ‘handle_assoc’: roguehostapd/hostapd-2_6/src/ap/ieee802_11.c:2154:63: warning: ?: using integer constants in boolean context [-Wint-in-bool-context] sta->last_subtype == reassoc ? WLAN_FC_STYPE_REASSOC_REQ : In file included from roguehostapd/hostapd-2_6/src/drivers/driver_nl80211.c:26: roguehostapd/hostapd-2_6/src/utils/common.h:426: warning: "__bitwise" redefined
define __bitwise
In file included from /usr/include/linux/sysinfo.h:5, from /usr/include/linux/kernel.h:5, from /usr/include/linux/netlink.h:5, from /usr/include/libnl3/netlink/netlink.h:25, from /usr/include/libnl3/netlink/genl/genl.h:15, from roguehostapd/hostapd-2_6/src/drivers/driver_nl80211.c:17: /usr/include/linux/types.h:22: note: this is the location of the previous definition
define __bitwise bitwise
roguehostapd/hostapd-2_6/src/drivers/driver_nl80211.c: In function ‘i802_set_wds_sta’: roguehostapd/hostapd-2_6/src/drivers/driver_nl80211.c:5946:37: warning: ‘.sta’ directive output may be truncated writing 4 bytes into a region of size between 1 and 17 [-Wformat-truncation=] os_snprintf(name, sizeof(name), "%s.sta%d", bss->ifname, aid); ^~~~ In file included from /usr/include/stdio.h:873, from roguehostapd/hostapd-2_6/src/utils/includes.h:21, from roguehostapd/hostapd-2_6/src/drivers/driver_nl80211.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘builtin___snprintf_chk’ output between 6 and 32 bytes into a destination of size 17 return builtin_snprintf_chk (s, n, USE_FORTIFY_LEVEL - 1, ^
~~~~~~~~~~~~~~~ bos (s), fmt, va_arg_pack ());In file included from roguehostapd/hostapd-2_6/src/drivers/driver_nl80211_scan.c:15: roguehostapd/hostapd-2_6/src/utils/common.h:426: warning: "__bitwise" redefined
define __bitwise
In file included from /usr/include/linux/sysinfo.h:5, from /usr/include/linux/kernel.h:5, from /usr/include/linux/netlink.h:5, from /usr/include/libnl3/netlink/netlink.h:25, from /usr/include/libnl3/netlink/genl/genl.h:15, from roguehostapd/hostapd-2_6/src/drivers/driver_nl80211_scan.c:13: /usr/include/linux/types.h:22: note: this is the location of the previous definition
define __bitwise bitwise
roguehostapd/hostapd-2_6/src/drivers/driver_hostap.c: In function ‘hostap_set_iface_flags’: roguehostapd/hostapd-2_6/src/drivers/driver_hostap.c:351:35: warning: ‘ap’ directive output may be truncated writing 2 bytes into a region of size between 0 and 16 [-Wformat-truncation=] os_snprintf(ifname, IFNAMSIZ, "%sap", drv->iface); ^~ In file included from /usr/include/stdio.h:873, from roguehostapd/hostapd-2_6/src/utils/includes.h:21, from roguehostapd/hostapd-2_6/src/drivers/driver_hostap.c:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘builtin___snprintf_chk’ output between 3 and 19 bytes into a destination of size 16 return builtin_snprintf_chk (s, n, USE_FORTIFY_LEVEL - 1, ^
~~~~~~~~~~~~~~~ bos (s), fmt, va_arg_pack ());root@kali:~/roguehostapd# python run.py -i wlan0 --ssid haha python: can't open file 'run.py': [Errno 2] No such file or directory
@username836 username836 commented about 17 hours ago The issue is python: can't open file 'run.py when I type:python run.py -i
@username836 username836 commented about 17 hours ago And when I type root@kali:where is roguehostapd:
It finds nothing
Or locate finds nothing Which is why wifiphisher will not detect it I think ?
@username836 username836 commented about 17 hours ago And my interface is wlan0 by the way
Comment on issue
Leave a comment Close issue Comment Notifications for this thread You’re receiving notifications because you authored the thread.
Unsubscribe Desktop version Sign out