HarryLudemann / Ngoto

Extendable Python script handler for automating penetration testing.
MIT License
38 stars 8 forks source link

Decorators #40

Closed HarryLudemann closed 1 year ago

HarryLudemann commented 1 year ago

Changed Command Creation from Abstract Class to Decorator

Change from using abstract class to create cog to decorator. Commands now require each script to have a setup function that returns a class, any functions within the class with a command decprator will be added. All files within commands directory are checked for setup function.