Pennyw0rth / NetExec

The Network Execution Tool
https://netexec.wiki/
BSD 2-Clause "Simplified" License
3.27k stars 358 forks source link

Refactor return types #459

Closed NeffIsBack closed 3 weeks ago

NeffIsBack commented 1 month ago

A lot of functions like smb.execute have multiple different return types such as "None", "Boolean" or "String". This leads to exceptions such as mentioned in #458, #431 or #177. Standardising them would resolve these issues which can lead to unnecessary stacktraces in certain edge cases