Commit Graph

8 Commits

Author SHA1 Message Date
Christian Clauss
e885d19f8a
Minor fixes 2023-03-04 16:02:23 +01:00
Christian Clauss
14ef376b57
Update core.py 2022-12-03 19:08:24 +01:00
Christian Clauss
161825411e
Update core.py 2022-06-13 13:02:58 +02:00
Christian Clauss
2283ee3d91
Update core.py 2022-06-13 12:59:39 +02:00
Christian Clauss
6db6a615ed
Do not use bare except:
Do not use bare `except:`, it also catches unexpected events like memory errors, interrupts, system exit, and so on.  Prefer `except Exception:`.  If you're sure what you're doing, be explicit and write `except BaseException:`.
2022-06-13 12:56:48 +02:00
mokrunka
ed2c9dd969 fix my mistake on f-string in core.py 2020-12-23 08:56:28 -08:00
mokrunka
381908e12f update some more typos; change print from .format to f-strings for readability 2020-12-18 17:14:36 -08:00
naveennamani
eaa920a7e3 Refactored the whole project
List of changes

+ Handling information about a tool has been improved a lot by providing a `HackingTool` class, which takes care of showing the options, running the selected option, executing the required commands
+ This class is designed with flexibililty and simplicity in mind, so adding a new tool is a lot easier, mention TITLE, DESCRIPTION, list of INSTALL_COMMANDS, RUN_COMMANDS and PROJECT_URL and there you go...

+ grouping all the `HackingTool`s is also made super simpler by providing a `HackingToolsCollection` class which groups the tools into their respective categories. Just add the instances of `HackingTool` classes to the TOOLS property of the `HackingToolsCollection`.

+ Refactored all the tools into separate files based on their categories.
+ Added a READM_template.md and generate_readme.py script to automatically generate Table of contents and the list of tools available automatically.
+ Now each tool in the README.md points to its project url if provided. This makes it easier to visit the project from the readme.
2020-08-14 16:41:59 +05:30