Commit Graph

47 Commits

Author SHA1 Message Date
Christian Clauss
8cd67f7a8e
Typo makedirs()!!!
Fixes #390
2023-07-18 14:21:52 +02:00
Hardik Zinzuvadiya
2dbf7730ea
Merge pull request #388 from cclauss/patch-4
GitHub Action to test the install process
2023-07-18 17:39:41 +05:30
Christian Clauss
6f55416aad
fpath 2023-07-18 12:34:48 +02:00
Christian Clauss
4e2e76935e
os.path.expanduser("~/hackingtoolpath.txt") 2023-07-18 12:34:07 +02:00
Christian Clauss
946151b211
Update hackingtool.py 2023-07-18 11:43:11 +02:00
Christian Clauss
8dff887a4b
Update hackingtool.py 2023-07-18 11:37:40 +02:00
Christian Clauss
bf5c1c9090
fpath = "~/hackingtoolpath.txt" 2023-07-18 11:25:04 +02:00
Christian Clauss
9b900d8779
Use Python os.makedirs() instead of os.makedir()
Fixes #384 

[`os.makedir()`](https://docs.python.org/3/library/os.html#os.makedir) is raising `FileNotFoundError` because a parent directory in the path does not exist so let's use [`os.makedirs()`](https://docs.python.org/3/library/os.html#os.makedirs) which will create any missing parent directories.
2023-07-18 08:17:15 +02:00
Christian Clauss
e885d19f8a
Minor fixes 2023-03-04 16:02:23 +01:00
furknozg
21394cda9f Syntax Fix for older versions of python 2022-09-15 13:15:25 +03:00
Christian Clauss
920a43ee38
Update hackingtool.py 2022-06-15 13:32:11 +02:00
Christian Clauss
a62716c5a4
Fix two mypy issues 2022-06-15 13:26:49 +02:00
mokrunka
fe08423827 update some more typos; change print from .format to f-strings for readability 2020-12-23 07:45:00 -08:00
mokrunka
3d435a4307 update some more typos; change print from .format to f-strings for readability 2020-12-20 19:31:50 -08:00
mokrunka
5157b9fc2e update some typos; clearly print the path for install regardless of install option 2020-12-15 10:30:24 -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
Michele Romano
4262cd9859
Minor fixes
Minor fixes regarding usage of `subprocess.run` in order to make it work correctly
2020-08-05 19:00:23 +02:00
Michele Romano
6e41f4a5ee
[FIX] Command injection
Fixed the issue using the `subprocess.run(["program", f"options"])` method which is safe for formatting `user-supplied` inputs inside commands to be `executed`
2020-08-05 18:30:09 +02:00
Mr.Z4nzu
66534bc874
New Tools Added 2020-07-21 21:51:56 +05:30
ellandor
d9bb166397
Update hackingtool.py 2020-07-18 15:28:01 -03:00
Mr.Z4nzu
9c40b366f8
Update hackingtool.py 2020-07-11 15:41:58 +05:30
Mr.Z4nzu
028cef9d09
Update hackingtool.py 2020-07-07 13:13:11 +05:30
Mr.Z4nzu
f69994f353
Update hackingtool.py 2020-07-05 22:31:19 +05:30
Mr.Z4nzu
86ad40cc11
Update hackingtool.py 2020-07-05 17:52:39 +05:30
Mr.Z4nzu
4e35ff8db7
Update hackingtool.py 2020-06-30 17:18:55 +05:30
Mr.Z4nzu
c4adbdbf44
Update hackingtool.py 2020-06-27 12:08:15 +05:30
Mr.Z4nzu
74acad1a77
Update hackingtool.py 2020-06-27 11:35:51 +05:30
Mr.Z4nzu
132c40899a
Fixing Errors 2020-06-26 22:19:29 +05:30
Mr.Z4nzu
1fc8bba9db
Update hackingtool.py 2020-06-19 20:14:27 +05:30
Mr.Z4nzu
7e7cfb1dec
Update hackingtool.py 2020-06-19 19:45:51 +05:30
Mr.Z4nzu
24b19e1e49
Changes 2020-04-19 13:09:33 +05:30
Mr.Z4nzu
cceea8a5d5
Fix 2020-04-15 22:53:24 +05:30
Mr.Z4nzu
e624217dd7
Error Fix 2020-04-15 22:52:01 +05:30
Mr.Z4nzu
df7076557c
error 2020-04-15 22:05:39 +05:30
Mr.Z4nzu
34889162c8
Fix Error 2020-04-15 22:02:40 +05:30
Mr.Z4nzu
366dbcd453
Fixing Error 2020-04-15 21:15:46 +05:30
Mr.Z4nzu
e85ae98a2c
Error Fixing 2020-04-15 20:29:03 +05:30
Mr.Z4nzu
1dccbaf0f1
Error Fix 2020-04-15 20:16:55 +05:30
Mr.Z4nzu
db9a71ddb0
New File Uploaded 2020-04-11 20:05:52 +05:30
Mr.Z4nzu
f78a1a4076
Update New Fil 2020-04-11 20:05:19 +05:30
Mr.Z4nzu
c77766d2bc
small change 2020-04-11 20:03:47 +05:30
Mr.Z4nzu
13173d4bab
Update Whole File
Finally Update
2020-04-11 20:01:31 +05:30
Mr.Z4nzu
791aa854bb
change op choice 2020-04-11 18:53:09 +05:30
Mr.Z4nzu
d0331fd0bf
update op 00 2020-04-11 18:45:06 +05:30
Mr.Z4nzu
25415bdb6a
From mobile 2020-04-11 17:31:52 +05:30
Mr.Z4nzu
1b829faea7
Update hackingtool.py 2020-04-11 17:29:03 +05:30
Mr.Z4nzu
1d63c3fde8
FirstTime Upload 2020-04-11 15:00:14 +05:30