SystemShellServer (version 0.0.1)
index
systemshellserver.py

A local privilege escalation utility that allows elevating from an
administrator context to the SYSTEM account on Windows to perform
high-privilege operations.

 
Classes
       
_ctypes.Structure(_ctypes._CData)
SecurityAttributes
builtins.object
PipeServer

 
class PipeServer(builtins.object)
    PipeServer(
    executable: str = 'cmd.exe',
    pipe_in: str = '\\\\.\\pipe\\stdin_pipe',
    pipe_out: str = '\\\\.\\pipe\\stdout_pipe'
)
 
Named pipe server redirect offering a real console process.
 
  Methods defined here:
__init__( self, executable: str = 'cmd.exe', pipe_in: str = '\\\\.\\pipe\\stdin_pipe', pipe_out: str = '\\\\.\\pipe\\stdout_pipe' )
Initialize the server and create named pipes.
exec_shell(self)
Execute the real Windows shell with redirected IO.
redirect_stdio(self)
Redirect stdin, stdout and stderr to the pipes.
run(self)
Run the server lifecycle.
wait_for_client(self)
Wait for the client to connect to the pipes.

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

Data and other attributes defined here:
INVALID_HANDLE_VALUE = 18446744073709551615
O_RDONLY = 0
O_WRONLY = 1
PIPE_ACCESS_INBOUND = 1
PIPE_ACCESS_OUTBOUND = 2
PIPE_TYPE_BYTE = 0
PIPE_WAIT = 0

 
class SecurityAttributes(_ctypes.Structure)
    Windows SECURITY_ATTRIBUTES structure.
 
 
Method resolution order:
SecurityAttributes
_ctypes.Structure
_ctypes._CData
builtins.object

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object
bInheritHandle
lpSecurityDescriptor
nLength

Methods inherited from _ctypes.Structure:
__buffer__(self, flags, /)
Return a buffer object that exposes the underlying memory of the object.
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods inherited from _ctypes.Structure:
__new__(*args, **kwargs) class method of _ctypes.Structure
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from _ctypes._CData:
__ctypes_from_outparam__(self, /)
default __ctypes_from_outparam__ method returns self.
__hash__(self, /)
Return hash(self).
__reduce__(self, /)
Helper for pickle.
__setstate__(self, dict, data, /)

 
Functions
       
byref(obj, offset=0, /)
Return a pointer lookalike to a C instance, only usable as function argument.
dup2(fd, fd2, inheritable=True)
Duplicate file descriptor.
exit(status=None, /)
Exit the interpreter by raising SystemExit(status).
 
If the status is omitted or None, it defaults to zero (i.e., success).
If the status is an integer, it will be used as the system exit status.
If it is another kind of object, it will be printed and the system
exit status will be one (i.e., failure).
main() -> int
Entry point.
sizeof(obj, /)
Return the size in bytes of a C instance.

 
Data
        Optional = typing.Optional
__author_email__ = 'mauricelambert434@gmail.com'
__copyright__ = '\nWinSystemShell Copyright (C) 2026 Maurice Lam...ome to redistribute it\nunder certain conditions.\n'
__description__ = '\nA local privilege escalation utility that allow...on Windows to perform\nhigh-privilege operations.\n'
__license__ = 'GPL-3.0 License'
__maintainer__ = 'Maurice Lambert'
__maintainer_email__ = 'mauricelambert434@gmail.com'
__url__ = 'https://github.com/mauricelambert/WinSystemShell'
copyright = '\nWinSystemShell Copyright (C) 2026 Maurice Lam...ome to redistribute it\nunder certain conditions.\n'
license = 'GPL-3.0 License'

 
Author
        Maurice Lambert