shirkdog / pulledpork

Pulled Pork for Snort and Suricata rule management (from Google code)
GNU General Public License v2.0
419 stars 133 forks source link

Windows path issue when running pulledpork #356

Open shirkdog opened 3 years ago

shirkdog commented 3 years ago

When fixing the bug in #353 I noticed that even though the checking of the directory and file existence was working, the path was being interpreted within a specific REGEX as a unicode modifier.

This shows up due to Windows path issues. If someone downloads the script and puts it in a directory starting with a p (ex. \pulledpork), perl reads the next character as a modifier. The work around is to copy the script to another directory on Windows, but this needs to be fixed.