diff --git a/revshellgen.py b/revshellgen.py index 81ff253..8046064 100755 --- a/revshellgen.py +++ b/revshellgen.py @@ -79,7 +79,7 @@ def select( new_index += 1 selected_index = new_index break - elif keypress == '\n': + elif keypress == readchar.key.ENTER or keypress == '\n': break elif keypress == readchar.key.CTRL_C: raise KeyboardInterrupt