LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > rainbowsally
User Name
Password

Notices


Rate this Entry

qt designer help without the enableRemoteControl switch

Posted 04-26-2012 at 04:02 PM by rainbowsally
Updated 08-06-2014 at 10:18 AM by rainbowsally

In case you missed it (the blog entry), qt designer tries to go online whenever you click on the help button. This can cause the help to hang for quite a long time if your user doesn't have internet access or you might just dislike the decisions made by the developers and prefer to stay in your own neighborhood.

If you didn't "miss it" but you had trouble with a hex editing the commandline for the assistant client, here's the one that I created. It should work on openSUSE 11.4, and probably other recent-ish QT4 systems, but keep a backup in case it doesn't work for you.

The d/load is about 180K. The basic executable is the stock version that came with the opensuse 11.4 DVD (no updates) with one change in the string "-enableRemoteControl" which has been changed to "-quiet" using ghex2 to edit the binary.

The change is at file offset: 0x52214, and the string is terminated with a '00' hex byte but the rest of the original string is still visible in the dump as
"RemoteControl".

The "RemoteControl" part is ignored though, because the string is now equivalent
to const char*
Code:
"-quiet\0RemoteControl"
// instead of
"-enableRemoteControl"
It could also be filled with null chars replacing "RemoteControl", which you can do if you prefer.

I was able to recompile 'designer' from sources and that's what I am using but this one might as well be put to use in case anyone wants it or if you had trouble and want to see what went wrong in your own hex editing attempt.

http://rainbowsally.org/pub/lq/rs-de...te-ctrl.tar.gz

:-)

Addenda:

How to diff binary files

We need a byte-by-byte binary comparison tool no?

Yes.

And we can used 'hexdump -C' to generate two text files we can then diff or kompare the text files.

Code:
$> diff a.txt b.txt
20955c20955
< 00052210  65 6e 74 00 2d 65 6e 61  62 6c 65 52 65 6d 6f 74  |ent.-enableRemot|
---
> 00052210  65 6e 74 00 2d 71 75 69  65 74 00 52 65 6d 6f 74  |ent.-quiet.Remot|

You might want to skip the rest of this blog entry if you're not in the mood for another of my rants. Fair warning. ;-)

The reason I'm belaboring this issue is because I have nothing to hide. I'm not so sure about the developers of these black boxes, however.

In fact I wonder how many 'security breaches' and hacking problems are inside jobs, either perpetrated by site administators or by "Remote Control" by way of back doors we cannot see in these opaque binary package based linux systems such as openSUSE

"That can't happen in 'open source'" you say?

Uh... More coffee, anyone? ;-)

While TrollTech may have had integrity, they were bought out by Nokia. What I'm saying is that 'good businesses' have no control over those they sell out to.

The trends in the alleged "free market" these days is that only cheaters prosper. There is zero or less than zero incentive to be honest or ethical in today's business environment.

Just look at Bank of America's foreclosure scam. Forged documents!

No penalty???

Worse. No justice for those ripped off.

Verizon and AT&T both raise prices at the same time which appears to be blatant "price fixing" and would contradict the assumptions of competition in a capitalistic system if that coincidence can't be justified by increased expense at some common source.

How many encyclopedias could we fill with similar examples of both criminal and just plain unethical behavior paying off for the guys that are already "Too Big To [J]ail"?

It's not bad enough that they are merely anti-democracy ("FISA" and the Constitution be damned) so maybe if we point out that they are even anti-capitalism? ;-) THEN would we recognize that this is not the "American Way"?

I don't know about Nokia, but I do know that this accumulation of large companies under even larger companies, accelerated by the "financial institutions" reaping risky gains "speculating" in the market...

...with "our" money...before they lose it in a bad gamble and again afterward (the Mexican Bailout for Wallstreet in 1995 was bad enough)...

Well, something pretty obviously went wrong and has stayed wrong, and it might just be this rampant 'spirit' -- this patriotism to one's money (economic warfare, which is a brand of "survival of the fittest" that would commit infanticide if this mental aberration carried over into the physical world) because it seems like nothing else is held in very high regard anymore.

So that's why I belabored the subject. You have a right to know where that "RemoteControl" string in your binary file came from.

It wasn't me.

:-)

Neither did I put the NSA_KEY in Windows' kernel32.dll or lose 2.3 trillion dollars of "taxpayers hard earned money" on sept 10, 2001.

I just notice this stuff while digging around looking for causes of problems.

Call me paranoid. Or call me eternally vigilant. What's the diff?

--The Computer Mad Science Team

;-)
Posted in Uncategorized
Views 720 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 09:32 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration