Commit Graph
324 Commits
Author SHA1 Message Date
JinnaBalu 1c2cbbbe2a Optimized Dockerfile for layer cache and moved all the installations for cache not to rerun the same layer for every code change for Docker container. 2023-09-01 12:32:42 +05:30
Hardik Zinzuvadiya f5aff5547a Merge pull request #395 from cclauss/patch-4
Add test for install, run, and uninstall
2023-07-23 10:50:23 +05:30
Christian Clauss aa67417b65 Add test for install, run, and uninstall 2023-07-21 19:31:39 +02:00
Hardik Zinzuvadiya 0232498f8f Merge pull request #394 from cclauss/patch-4
Test install, run, uninstall
2023-07-21 22:41:38 +05:30
Christian Clauss 8b14aa5ba1 Update test_install.yml 2023-07-19 18:50:07 +02:00
Christian Clauss 8199183e1c Update test_install.yml 2023-07-19 18:33:27 +02:00
Christian Clauss 6538cee32d Exit after hackingtool is successfully uninstalled 2023-07-19 18:24:38 +02:00
Christian Clauss 2ecb207953 Update test_install.yml 2023-07-19 17:25:18 +02:00
Christian Clauss 44dce8d2d2 Update test_install.yml 2023-07-19 17:15:38 +02:00
Christian Clauss abf8ebe47b Update test_install.yml 2023-07-19 17:01:22 +02:00
Christian Clauss a14a6ee7b5 Update test_install.yml 2023-07-19 16:51:04 +02:00
Christian Clauss 4947439c74 Update test_install.yml 2023-07-19 16:43:52 +02:00
Christian Clauss e237db09b0 Press ENTER to continue 2023-07-19 16:35:35 +02:00
Christian Clauss 71a599fea9 0 is update ; 1 is uninstall 2023-07-19 16:23:12 +02:00
Christian Clauss 2da84e1a9f Update test_install.yml 2023-07-19 13:40:06 +02:00
Christian Clauss 7e9f0e684b Update test_install.yml 2023-07-19 13:23:03 +02:00
Christian Clauss 08f1b06b2b Test install, run, uninstall 2023-07-19 13:15:26 +02:00
Hardik Zinzuvadiya d7251643a8 Merge pull request #393 from cclauss/patch-4
Complete the test_install GitHub Action
2023-07-19 16:06:45 +05:30
Christian Clauss 6d52db4861 Complete the test_install GitHub Action 2023-07-19 12:33:19 +02:00
Hardik Zinzuvadiya ca8dcdbca7 Merge pull request #391 from cclauss/patch-4
Fix AttributeError: module 'os' has no attribute 'mkdirs'.
2023-07-19 15:48:34 +05:30
Christian Clauss 8cd67f7a8e Typo makedirs()!!!
Fixes #390
2023-07-18 14:21:52 +02:00
Hardik Zinzuvadiya c188fe0235 Merge pull request #389 from cclauss/patch-5
Do not hardcode the home directory
2023-07-18 17:39:58 +05:30
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 c7e73b1d13 Update test_install.yml 2023-07-18 12:40:34 +02:00
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 562d50c901 Use os.path.expanduser() 2023-07-18 12:29:56 +02:00
Christian Clauss 0df6be72bf Do not hardcode the home directory 2023-07-18 12:17:27 +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 cf34f54a9c Update test_install.yml 2023-07-18 11:18:26 +02:00
Christian Clauss e87c63e499 echo -e "2\n" | ./hackingtool.py 2023-07-18 11:04:16 +02:00
Christian Clauss a4cc799dfb echo "2\n" | ./hackingtool.py 2023-07-18 10:59:25 +02:00
Christian Clauss 952e737279 echo "2\n" | hackingtool.py 2023-07-18 10:55:33 +02:00
Christian Clauss 0c64994bdb skip ci 2023-07-18 10:53:50 +02:00
Hardik Zinzuvadiya c9deb216fd Merge pull request #387 from cclauss/patch-3
Use Python os.makedirs() instead of os.makedir()
2023-07-18 14:17:13 +05:30
Christian Clauss 0e0b8fac6c Update test_install.yml 2023-07-18 10:46:09 +02:00
Christian Clauss 27c6941795 Update test_install.yml 2023-07-18 10:34:31 +02:00
Christian Clauss 173c18570f if [[ ! $choice =~ ^[1-2]+$ ]]; then 2023-07-18 10:27:31 +02:00
Christian Clauss 78c57596ba sudo ./install.sh 1 2023-07-18 10:13:27 +02:00
Christian Clauss 90eb7f2980 choice=$1 2023-07-18 10:10:44 +02:00
Christian Clauss e6f0e39f77 echo -e "\n1\n1\n1\n" | sudo ./install.sh 2023-07-18 10:04:07 +02:00
Christian Clauss f21b8e2047 echo "\n1\n" | sudo ./install.sh 2023-07-18 10:00:29 +02:00
Christian Clauss 7646ee3a6f echo "1\n" | sudo ./install.sh 2023-07-18 09:57:21 +02:00
Christian Clauss 483fb42740 TERM: "linux" 2023-07-18 09:55:58 +02:00
Christian Clauss da0fd466ed TERM: "whatever" 2023-07-18 09:53:41 +02:00
Christian Clauss ba86818beb GitHub Action to test the install process 2023-07-18 09:49:09 +02:00
Christian Clauss 84bd8407da Ignore a FileNotFoundError if we are already in the Brute_Force directory
Fixes: #356
2023-07-18 09:14:24 +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