Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script terminates with error on ArchLinux #1

Closed
strasharo opened this issue Nov 18, 2014 · 4 comments
Closed

Script terminates with error on ArchLinux #1

strasharo opened this issue Nov 18, 2014 · 4 comments
Labels

Comments

@strasharo
Copy link

Hello. I tried using the script on ArchLinux on a Raspberry PI and no matter what arguments I use it always terminates like this:

[root@pie wifiphisher]# python2 wifiphisher.py -c 9
WARNING: No route found for IPv6 destination :: (no default route?)
[] Starting HTTP server at port 8081
[
] Starting HTTPS server at port 444
[+] Networks discovered by wlan1: 22
[+] Starting monitor mode off wlan1
Monitor is: wlan1
Traceback (most recent call last):
File "wifiphisher.py", line 747, in
print "For the AP is: " + ap_iface
TypeError: cannot concatenate 'str' and 'bool' objects
[root@pie wifiphisher]#

Python version is as follows:

[root@pie ~]# python2 --version
Python 2.7.8
[root@pie ~]#

@strasharo
Copy link
Author

Looks like one of the recent pushes fixed it, however now a new error appears after choosing a network as mentioned here: #3

[+] Choose the [num] of the AP you wish to copy: 2
Traceback (most recent call last):
File "./wifiphisher.py", line 743, in
dhcp(dhcpconf, ap_iface)
File "./wifiphisher.py", line 407, in dhcp
Popen(['ifconfig', mon_iface, 'mtu', '1400'], stdout=DN, stderr=DN)
File "/usr/lib/python2.7/subprocess.py", line 679, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
raise child_exception
TypeError: execv() arg 2 must contain only strings

@jaseg
Copy link
Contributor

jaseg commented Jan 4, 2015

I'm not entirely sure, but this might well be fixed by #8

@strasharo
Copy link
Author

I confirm that changing the shebang to python2 solved the issue for me.
Thanks a lot, jaseg!

@sophron sophron closed this as completed Jan 6, 2015
nadmk referenced this issue in nadmk/PHPhisher Jan 1, 2017
A huge amount of bugs. Some things work, some other don't.
+ New Facebook OAuth Scenario Page (unstable)
+ MySQL Database implementation (unstable)
More things are coming soon
@ghost ghost mentioned this issue Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@jaseg @sophron @strasharo and others