-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run an audit starting with the 07/14/2023 portable release #154
Comments
Hi @jcrain23 Thanks for your feedback. We have resolved the |
Thank you!!! I'm downloading the latest release, cool to see we'll be able to specify the path for results. I do miss the old excel export, but I'm making due. :-) |
@younglim Different issue with the latest release. I'll debug on my end to see if I can figure anything out, but I'm not a coder. {"timestamp":"2023-08-24 09:23:35","level":"error","message":"uncaughtException: Unexpected end of JSON input\nSyntaxError: Unexpected end of JSON input\n at JSON.parse ()\n at getUserDataTxt (file:///C:/Users/Jackc/Desktop/Purple_0824/purple-hats/utils.js:74:27)\n at file:///C:/Users/Jackc/Desktop/Purple_0824/purple-hats/constants/questions.js:12:18\n at ModuleJob.run (node:internal/modules/esm/module_job:193:25)\n at async Promise.all (index 0)\n at async ESMLoader.import (node:internal/modules/esm/loader:530:24)\n at async loadESM (node:internal/process/esm_loader:91:5)\n at async handleMainPromise (node:internal/modules/run_main:65:12)"} |
Hi @jcrain23, Would you try to remove Then retry |
@younglim Figured it out.userData.txt is being created empty. After putting in {} and saving userData.txt it runs fine. |
@younglim I spoke to soon. While I was able to get up to the point if it asking me the URL of the website to test, it would execute. |
@younglim Ah! Missing folders in the download zip |
The Chromium and other browsers have been removed since v0.9.13 to reduce download size. Run the command similar to the mentioned in your PowerShell output, or simple the following to install Chromium: Hope this helps! |
You would minimally the following within userData.txt |
Thanks @younglim, installing Chromium did the trick. I'm up and running! Have a great day! |
Hello,
I've been able to use PurpleHats with any release after 07/04.
I execute "Node Index" and it just stops. I found this in "errors.txt":
{"timestamp":"2023-08-22 11:50:11","level":"error","message":"uncaughtException: Unexpected end of JSON input\nSyntaxError: Unexpected end of JSON input\n at JSON.parse ()\n at getUserDataTxt (file:///C:/Users/Jackc/Desktop/Purple0822/purple-hats/utils.js:68:27)\n at file:///C:/Users/Jackc/Desktop/Purple0822/purple-hats/constants/questions.js:12:18\n at ModuleJob.run (node:internal/modules/esm/module_job:193:25)\n at async Promise.all (index 0)\n at async ESMLoader.import (node:internal/modules/esm/loader:530:24)\n at async loadESM (node:internal/process/esm_loader:91:5)\n at async handleMainPromise (node:internal/modules/run_main:65:12)"}
Can you help? I'd like to take advantage of the latest updates. I'm on Windows10
The text was updated successfully, but these errors were encountered: