<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Oracle client &#8211; changing the program name in the session</title>
	<atom:link href="http://www.slaviks-blog.com/2009/10/01/oracle-client-changing-the-program-name-in-the-session/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.slaviks-blog.com/2009/10/01/oracle-client-changing-the-program-name-in-the-session/</link>
	<description>Slavik&#039;s Blog</description>
	<lastBuildDate>Mon, 08 Mar 2010 10:21:01 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Slavik</title>
		<link>http://www.slaviks-blog.com/2009/10/01/oracle-client-changing-the-program-name-in-the-session/comment-page-1/#comment-3969</link>
		<dc:creator>Slavik</dc:creator>
		<pubDate>Mon, 05 Oct 2009 16:18:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.slaviks-blog.com/?p=166#comment-3969</guid>
		<description>@Pete
Sure, one can just rename the binary of SQL*Plus or such but we had a need to change the program name dynamically inside the executable to various different names. Also, sometimes you&#039;re in an environment where you can&#039;t change SQL*Plus but you have execution privileges and access to Oracle. You can use  LD_PRELOAD in the same way as I showed here to override the program name.</description>
		<content:encoded><![CDATA[<p>@Pete<br />
Sure, one can just rename the binary of SQL*Plus or such but we had a need to change the program name dynamically inside the executable to various different names. Also, sometimes you&#8217;re in an environment where you can&#8217;t change SQL*Plus but you have execution privileges and access to Oracle. You can use  LD_PRELOAD in the same way as I showed here to override the program name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Finnigan</title>
		<link>http://www.slaviks-blog.com/2009/10/01/oracle-client-changing-the-program-name-in-the-session/comment-page-1/#comment-3967</link>
		<dc:creator>Pete Finnigan</dc:creator>
		<pubDate>Fri, 02 Oct 2009 08:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.slaviks-blog.com/?p=166#comment-3967</guid>
		<description>Hi Slavik,

I guess I am confused but why not just rename the binary if you want Oracle to think its not running what it really is running? - I talked about the same issue for a different rewason 6 years ago in this paper - http://www.petefinnigan.com/news_letter_001.pdf and interestingly in 8.1.5 i was able to modify the string for SQL*Plus in the binary using a hex editor from SQl*Plus to SQL~Plus so that the PUP functionallity didnt recognise that the binary actually being used was SQl*plus as i found that simply renaming it didnt work.

Nice work Slavik,

cheers

Pete</description>
		<content:encoded><![CDATA[<p>Hi Slavik,</p>
<p>I guess I am confused but why not just rename the binary if you want Oracle to think its not running what it really is running? &#8211; I talked about the same issue for a different rewason 6 years ago in this paper &#8211; <a href="http://www.petefinnigan.com/news_letter_001.pdf" rel="nofollow">http://www.petefinnigan.com/news_letter_001.pdf</a> and interestingly in 8.1.5 i was able to modify the string for SQL*Plus in the binary using a hex editor from SQl*Plus to SQL~Plus so that the PUP functionallity didnt recognise that the binary actually being used was SQl*plus as i found that simply renaming it didnt work.</p>
<p>Nice work Slavik,</p>
<p>cheers</p>
<p>Pete</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.935 seconds -->
