Open rothoma2 opened 1 week ago
If /tmp folder exist, create the daily-malware-samples folders inside /tmp (/tmp/daily-malware-samples)
but this will only be available for posix path. what if it's a window path ?
maybe i will need to switch on system ?
I think you can do an OS check, and for windows write to the working folder. For linux check and write to /tmp folder. Once we publish this as pipy package, this issue will be resolved as well.
Besides this, we need to see why the zip format behaves weird. Does this zipping code works for you in Windows? I have only tested in Linux and it doesnt work properly.
Maybe you can use WSL, so you can try it both in Win and Linux for it to work on both.
it's look some zip or maybe all require a password
i tried to unzip some on windows each or maybe all require a pass words
We need to review the current ZIP the script is doing. In Linux you dont seem to be able to unzip the files easily.
Please refactor for a few changes: