h4-debug 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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: h4-debug
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Advanced application proxy debugger and F12-style web console
5
5
  Author-email: h4 <h4@example.com>
6
6
  Requires-Python: >=3.8
@@ -38,9 +38,7 @@ def main():
38
38
  env = os.environ.copy()
39
39
 
40
40
  # 3. Dispatch to handler based on file extension
41
- ext = ""
42
- if os.path.isfile(target):
43
- ext = os.path.splitext(target)[1].lower()
41
+ ext = os.path.splitext(target)[1].lower()
44
42
 
45
43
  if ext == ".py":
46
44
  handlers.handle_python(target, command, env, args)
@@ -4,6 +4,7 @@ import time
4
4
  import struct
5
5
  import sys
6
6
  import os
7
+ import threading
7
8
 
8
9
  kernel32 = ctypes.WinDLL('kernel32', use_last_error=True)
9
10
 
@@ -159,7 +160,6 @@ def read_process_memory(hProcess, address, size):
159
160
 
160
161
  def psutil_daemon(pid, client, stop_event):
161
162
  import psutil
162
- import threading
163
163
  try:
164
164
  proc = psutil.Process(pid)
165
165
  except psutil.NoSuchProcess:
@@ -272,7 +272,6 @@ def debug_process(command, client):
272
272
  process_handle = None
273
273
  debug_event = DEBUG_EVENT()
274
274
 
275
- import threading
276
275
  daemon_stop_event = threading.Event()
277
276
  daemon_thread = None
278
277
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: h4-debug
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Advanced application proxy debugger and F12-style web console
5
5
  Author-email: h4 <h4@example.com>
6
6
  Requires-Python: >=3.8
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "h4-debug"
7
- version = "0.2.3"
7
+ version = "0.2.4"
8
8
  description = "Advanced application proxy debugger and F12-style web console"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
File without changes
File without changes
File without changes
File without changes
File without changes