Keyboard interrupt doesn't kill the client

Issue #16 resolved
Kevin Hamacher repo owner created an issue

If I'm trying to quit the client by ctrl+c, it shows a little traceback but doesn't quit. In this case, there are no IPs to attack since I forgot to add them and just ran the script against the server.

[λ::nightstalker::~/dev/RAF3/clients/python]# python2 client.py                                                                                                  <dev*> 
^CTraceback (most recent call last):
  File "client.py", line 6, in <module>
    e.run()
  File "/home/chief/dev/RAF3/clients/python/raf3_client/__init__.py", line 214, in run
    time.sleep(0.05)
KeyboardInterrupt
^C^C^C^C
[...] <- does not quit here



[λ::nightstalker::~]# ps aux | grep python                                                                                                                              
chief    14619  0.2  0.1 224728  9572 pts/6    Sl+  09:47   0:00 python2 client.py
chief    14620  0.0  0.0      0     0 pts/6    Z+   09:47   0:00 [python2] <defunct>
chief    14628  0.0  0.0 150992  7012 pts/6    S+   09:47   0:00 python2 client.py

Comments (2)

  1. Kevin Hamacher reporter

    Strangly, after adding some IPs to attack, it works. Is this a failure or did my laptop do some heavy caching?

    [λ::nightstalker::~/dev/RAF3/clients/python]# python2 client.py                                                                                                  <dev*> 
    urwid is not installed, not displaying console interface. To get console interface run 'pip install urwid' or 'easy_install urwid'
    ^CShutting down...
    Flag collector processes exited
    Submitter processes exited
    Maintenance thread exited
    
  2. Log in to comment