Link Details

Link 61174 thumbnail
User 111696 avatar

By bloid
via homepage.mac.com
Published: Jan 15 2008 / 05:31

Recently, I started working on reverse engineering an venerable C program that relied on a set of INI-like files. It isn't cost-effective to write (or even download) an INI-file parser for Java. Instead, most of the configuration parameters could be simply moved into a garden-variety Java properties file.
  • 7
  • 3
  • 1879
  • 677

Comments

Add your comment
User 201282 avatar

jmcantrell replied ago:

0 votes Vote down Vote up Reply

i'm not opposed to python syntax for config files, but how do you handle arbitrary code execution from the config file?

User 134569 avatar

khalopti replied ago:

0 votes Vote down Vote up Reply

Use the Python config module: http://www.red-dove.com/python_config.html
,

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (3)