buckyroberts / Turtle

Python reverse shell.
292 stars 148 forks source link

Selecting a client index higher than what is already existing blocks the server #12

Closed N-faycal closed 8 years ago

N-faycal commented 8 years ago

turtle> list ----- Clients -----

turtle> select 10
Not a valid selection
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "server.py", line 141, in work
    start_turtle()
  File "server.py", line 65, in start_turtle
    target, conn = get_target(cmd)
TypeError: 'NoneType' object is not iterable

No command is accepted after this exception.

N-faycal commented 8 years ago

Corrected

turtle> list ----- Clients -----

turtle> select 10 Not a valid selection turtle> select e Client index should be an integer turtle>