Closed awsjpleger closed 1 month ago
Thank you! Feel free to make a pull request so the community will recognize your contribution to this repo! :)
Hi Zhii. Thanks for you reply. I have tried to create a branch on this repo but got an Access Denied error. Is the repo access restricted at the moment by any chance? Happy to follow up by email or meeting if needed ( jpleger@amazon.com) .
Thanks.
JP.
Thank you for your contribution. PR has merged.
Dear Zhi, Thanks for sharing this awesome project. I would like to propose a few small code changes aiming at improving compatibility for windows operating system :
nuclei.io/setup.py - Replace :
with open("README.md") as readme_file:
with :
with open("README.md", encoding="utf8") as readme_file:
This fixes an installation issue causing the following error :
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 1053: character maps to <undefined>
nuclei.io/feature_pre-calculation/nuc_stat.py and nuclei.io/feature_pre-calculation/nuc_stat_DL.py:
Make a small alteration to the parmap() function so that it detects if the operating system is windows based and falls back to using thread instead of process:
This fixes and issue caused by impossible pickling. ( There could potentially be a performance impact in switching from process to thread usage. )
Thanks,
JP.