jesparza / peepdf

Powerful Python tool to analyze PDF documents
http://peepdf.eternal-todo.com
GNU General Public License v3.0
1.32k stars 242 forks source link

Error: String object with Windows-formatted IP addresses #72

Open b1gb1t opened 6 years ago

b1gb1t commented 6 years ago

Hi,

I have found an issue when I try to add/modify string objects with Windows-formatted IP addresses (such as \127.0.0.1).

peepdf detects these IP addresses as if they were octal number \ddd. If the IP address has numbers bigger than 7, an exception occurs in the conversion to octal.

Please, specify the string object content: \\192.168.1.1 *** Error: The object has not been modified!!