bind-shell 0.1.0__tar.gz → 0.1.1__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.
- {bind_shell-0.1.0 → bind_shell-0.1.1}/PKG-INFO +1 -1
- {bind_shell-0.1.0 → bind_shell-0.1.1}/pyproject.toml +1 -1
- {bind_shell-0.1.0 → bind_shell-0.1.1}/pysrc/bind_shell/commands.py +1 -1
- {bind_shell-0.1.0 → bind_shell-0.1.1}/README.md +0 -0
- {bind_shell-0.1.0 → bind_shell-0.1.1}/pyplate.md +0 -0
- {bind_shell-0.1.0 → bind_shell-0.1.1}/pysrc/bind_shell/__init__.py +0 -0
- {bind_shell-0.1.0 → bind_shell-0.1.1}/pysrc/bind_shell/__main__.py +0 -0
- {bind_shell-0.1.0 → bind_shell-0.1.1}/pysrc/bind_shell/app.py +0 -0
|
@@ -26,7 +26,7 @@ pythonpath = ["pysrc"]
|
|
|
26
26
|
|
|
27
27
|
[tool.poetry]
|
|
28
28
|
name = "bind-shell"
|
|
29
|
-
version = "0.1.
|
|
29
|
+
version = "0.1.1"
|
|
30
30
|
description = "A Typer CLI for creating and connecting to bind shells and reverse shells. Built on Python's stdlib socket — no external dependencies."
|
|
31
31
|
authors = ["Tyson Holub <tyson@tysonholub.com>"]
|
|
32
32
|
license = "MIT"
|
|
@@ -82,7 +82,7 @@ def _executor_session(conn: socket.socket, addr: tuple, password: str):
|
|
|
82
82
|
logger.info(f"Authentication failed: {addr[0]}:{addr[1]}")
|
|
83
83
|
return
|
|
84
84
|
try:
|
|
85
|
-
_executor_loop(conn, prompt=f"bind-shell@{
|
|
85
|
+
_executor_loop(conn, prompt=f"bind-shell@{conn.getsockname()[0]}$ ".encode())
|
|
86
86
|
finally:
|
|
87
87
|
logger.info(f"Client disconnected: {addr[0]}:{addr[1]}")
|
|
88
88
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|