remove old server code unused
Description
This pull request removes the NXCSMBServer class and its associated functionality from the codebase, simplifying the SMB-related code. The changes include the removal of the server implementation, decorator, and imports referencing this functionality.
Removal of NXCSMBServer functionality:
-
nxc/servers/smb.py: Fully removed theNXCSMBServerclass, which implemented a custom SMB server, along with its imports and threading logic. -
nxc/protocols/smb.py: Deleted therequires_smb_serverdecorator, which previously managed the lifecycle of theNXCSMBServerinstance, and removed related imports. [1] [2]
Cleanup of references to removed functionality:
netexec.spec: Removed the reference tonxc.servers.smbfrom the analysis configuration, reflecting the removal of theNXCSMBServerimplementation.
Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
Highly appreaciated! This is also ancient stuff. Can you also rip out on_response/on_request in the example module and the smb.py module logic?
Highly appreaciated! This is also ancient stuff. Can you also rip out
on_response/on_requestin the example module and the smb.py module logic?
done ✅