|
1 | 1 | import argparse |
2 | 2 | from os import getcwd |
3 | | -from os.path import dirname, abspath, join, realpath, isfile |
| 3 | +from os.path import dirname, abspath, join, realpath, isfile, normpath |
4 | 4 | import subprocess |
5 | 5 | from time import time |
6 | 6 | from rich.console import Console |
@@ -84,25 +84,25 @@ def get_cli_args(): |
84 | 84 | parser.add_argument( |
85 | 85 | "--test-user-file", |
86 | 86 | required=False, |
87 | | - default=abspath(join(script_dir, "data", "test_users.txt")), |
| 87 | + default=normpath(join(script_dir, "data", "test_users.txt")), |
88 | 88 | help="Path to the file containing test usernames", |
89 | 89 | ) |
90 | 90 | parser.add_argument( |
91 | 91 | "--test-password-file", |
92 | 92 | required=False, |
93 | | - default=abspath(join(script_dir, "data", "test_passwords.txt")), |
| 93 | + default=normpath(join(script_dir, "data", "test_passwords.txt")), |
94 | 94 | help="Path to the file containing test passwords", |
95 | 95 | ) |
96 | 96 | parser.add_argument( |
97 | 97 | "--amsi-bypass-file", |
98 | 98 | required=False, |
99 | | - default=abspath(join(script_dir, "data", "test_amsi_bypass.txt")), |
| 99 | + default=normpath(join(script_dir, "data", "test_amsi_bypass.txt")), |
100 | 100 | help="Path to the file containing AMSI bypasses", |
101 | 101 | ) |
102 | 102 | parser.add_argument( |
103 | 103 | "--test-normal-file", |
104 | 104 | required=False, |
105 | | - default=abspath(join(script_dir, "data", "test_file.txt")), |
| 105 | + default=normpath(join(script_dir, "data", "test_file.txt")), |
106 | 106 | help="Path to file to upload/download" |
107 | 107 | ) |
108 | 108 | parser.add_argument( |
|
0 commit comments