<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to obfuscate some text inside a python lookup script? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-obfuscate-some-text-inside-a-python-lookup-script/m-p/59333#M14601</link>
    <description>&lt;P&gt;One solution that I have used before is to use &lt;CODE&gt;base64&lt;/CODE&gt;, although it may not be the best way, it's the only way I found to be feasible (for my case at least).&lt;/P&gt;

&lt;P&gt;You could create a script that handles the processing of the username/password through the &lt;CODE&gt;base64&lt;/CODE&gt; module and any other "jazz" you may want to do with the password. Once this script has been created you could import it into you main script and use in this way.&lt;/P&gt;

&lt;P&gt;Not sure if this helps, but I hope it does.&lt;/P&gt;

&lt;P&gt;Ref: &lt;A href="http://docs.python.org/2/library/base64.html"&gt;http://docs.python.org/2/library/base64.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2013 08:37:28 GMT</pubDate>
    <dc:creator>MHibbin</dc:creator>
    <dc:date>2013-06-11T08:37:28Z</dc:date>
    <item>
      <title>how to obfuscate some text inside a python lookup script?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-obfuscate-some-text-inside-a-python-lookup-script/m-p/59332#M14600</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
in my App I have a python lookup script that do a connection with an external service.&lt;BR /&gt;
Into this script I create a standard HTTP request, and inside the payload I have some XML tags with the credentials for the authentication for this service.&lt;/P&gt;

&lt;P&gt;Now I have to install this App into a customer's server. There is a methon to encrypt in some way this data to make at least a little bit harder, even with a simple obfuscation algorithm, to intercept or read?&lt;/P&gt;

&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2013 08:30:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-obfuscate-some-text-inside-a-python-lookup-script/m-p/59332#M14600</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2013-06-11T08:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to obfuscate some text inside a python lookup script?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-obfuscate-some-text-inside-a-python-lookup-script/m-p/59333#M14601</link>
      <description>&lt;P&gt;One solution that I have used before is to use &lt;CODE&gt;base64&lt;/CODE&gt;, although it may not be the best way, it's the only way I found to be feasible (for my case at least).&lt;/P&gt;

&lt;P&gt;You could create a script that handles the processing of the username/password through the &lt;CODE&gt;base64&lt;/CODE&gt; module and any other "jazz" you may want to do with the password. Once this script has been created you could import it into you main script and use in this way.&lt;/P&gt;

&lt;P&gt;Not sure if this helps, but I hope it does.&lt;/P&gt;

&lt;P&gt;Ref: &lt;A href="http://docs.python.org/2/library/base64.html"&gt;http://docs.python.org/2/library/base64.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2013 08:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-obfuscate-some-text-inside-a-python-lookup-script/m-p/59333#M14601</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2013-06-11T08:37:28Z</dc:date>
    </item>
  </channel>
</rss>

