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

[bug] wifipumpkin crash and AP won't stop running after. #23

Closed
rashidmya opened this issue Apr 28, 2020 · 1 comment
Closed

[bug] wifipumpkin crash and AP won't stop running after. #23

rashidmya opened this issue Apr 28, 2020 · 1 comment
Labels
good first issue Good for newcomers priority: high priority to solve solved bugs that have been solved status: in progress the solution is in progress type: bug Something isn't working

Comments

@rashidmya
Copy link

rashidmya commented Apr 28, 2020

I connected android device to AP then visited google
went to wifipumkin3 cli and entered "clients" command.
and this happened:

wp3 > clients
Traceback (most recent call last):
File "/usr/local/bin/wifipumpkin3", line 4, in
import('pkg_resources').run_script('wifipumpkin3==1.0.0', 'wifipumpkin3')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1462, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/EGG-INFO/scripts/wifipumpkin3", line 103, in
prompt.cmdloop("Starting prompt...")
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/common/terminal.py", line 43, in cmdloop
super(ConsoleUI, self).cmdloop(intro="")
File "/usr/lib/python3.8/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/common/terminal.py", line 149, in onecmd
Cmd.onecmd(self, command)
File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/init.py", line 252, in do_clients
self.tableUI.ui_table_mod.start()
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/ui/table.py", line 157, in start
self.main()
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/ui/table.py", line 144, in main
self.setup_view()
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/ui/table.py", line 138, in setup_view
self.add_Clients(Refactor.readFileDataToJson(C.CLIENTS_CONNECTED))
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/ui/table.py", line 179, in add_Clients
data_dict[data]["HOSTNAME"],
KeyError: 'HOSTNAME'
QProcess: Destroyed while process ("/usr/sbin/hostapd") is still running.

Now when I run wifipumpkin3, AP is already running and can't stop it.
image

  • wifipumpkin3 v1.0.0
  • Virtual Machine (yes or no and which): yes
  • Operating System: kali
  • version: 2020.1
@rashidmya rashidmya changed the title [bug] [bug] wifipumpkin crash and AP won't stop running after. Apr 28, 2020
@mh4x0f mh4x0f added type: bug Something isn't working priority: high priority to solve good first issue Good for newcomers status: in progress the solution is in progress labels Apr 28, 2020
@mh4x0f mh4x0f added the solved bugs that have been solved label Apr 29, 2020
@mh4x0f mh4x0f closed this as completed Apr 29, 2020
@jepunband
Copy link

typing 'clients' throws off error ..

Traceback (most recent call last):
File "/usr/local/bin/wifipumpkin3", line 11, in
load_entry_point('wifipumpkin3==1.0.0', 'console_scripts', 'wifipumpkin3')()
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/main.py", line 106, in main
prompt.cmdloop("Starting prompt...")
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/common/terminal.py", line 43, in cmdloop
super(ConsoleUI, self).cmdloop(intro="")
File "/usr/lib/python3.8/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/common/terminal.py", line 165, in onecmd
Cmd.onecmd(self, command)
File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/init.py", line 259, in do_clients
self.tableUI.ui_table_mod.start()
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/ui/table.py", line 157, in start
self.main()
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/ui/table.py", line 144, in main
self.setup_view()
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/ui/table.py", line 138, in setup_view
self.add_Clients(Refactor.readFileDataToJson(C.CLIENTS_CONNECTED))
File "/usr/local/lib/python3.8/dist-packages/wifipumpkin3-1.0.0-py3.8.egg/wifipumpkin3/core/common/platforms.py", line 173, in readFileDataToJson
datastore = json.load(f)
File "/usr/lib/python3.8/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers priority: high priority to solve solved bugs that have been solved status: in progress the solution is in progress type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants