calebstewart / pwncat

Fancy reverse and bind shell handler
https://pwncat.readthedocs.io
MIT License
2.58k stars 250 forks source link

Fix Windows platform implementation of `sessions` command #285

Open Acters opened 2 months ago

Acters commented 2 months ago

Description of Changes

This fixes the Windows implementation of enumerating a list of users. Also, added extra type checks for edge cases to prevent confusing errors, and will now raise a ModuleFailed error incase users variable is not a dict or list of users.

Major Changes Implemented:

Pre-Merge Tasks