diff options
Diffstat (limited to 'web/fetch.py')
-rwxr-xr-x | web/fetch.py | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/web/fetch.py b/web/fetch.py index 551f2db..d6e2e24 100755 --- a/web/fetch.py +++ b/web/fetch.py @@ -7,15 +7,16 @@ from transifex.api import TransifexAPI import sys -if len(sys.argv) == 2: - if sys.argv[1] == "AllFilesVerified": - pass - else: - print("Rejected: Incorrect magic word.") - exit(1) -else: - print("Rejected: As this script is VULNERABLE TO CODE INJECTION, you cannot run this command without verifying all files at Transifex first.") - exit(1) +#if len(sys.argv) == 2: +# if sys.argv[1] == "AllFilesVerified": +# pass +# else: +# print("Rejected: Incorrect magic word.") +# exit(1) +#else: +# print("Rejected: As this script is VULNERABLE TO CODE INJECTION, you cannot run this command without verifying all files at Transifex first.") +# exit(1) +print("\033[1mThis script is VULNERABLE TO CODE INJECTION. Git diff before deploying!\033[0m") project='saulc-tmw-fork' |