Put quotes around ImagePath keys

If the Imagepath key for a service has spaces, it should have quotes around the value to avoid running malicious code.

Advertisements

Decode an ORA file

This will decode an ORA file and send it out in CSV format.  Not completed, but it works sending it to the screen #include Global $sFileRead Read_TNS_File("TNSNAMES.ORA") Func Read_TNS_File($ThisFilename) Local $hFileOpen = FileOpen($ThisFilename, $FO_READ) If $hFileOpen = -1 Then MsgBox($MB_SYSTEMMODAL, "", "An error occurred when reading the file.") Return False EndIf Local $sFileRead = FileRead($hFileOpen) $sFileRead … Continue reading Decode an ORA file