BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   iPhone Android & other HandHeld Forum (http://www.blackberryforums.com/iphone-android-other-handheld-forum/)
-   -   G1 Accepting Everything You Type as a command. (http://www.blackberryforums.com/iphone-android-other-handheld-forum/158586-g1-accepting-everything-you-type-command.html)

TroyDBrown 11-08-2008 09:27 PM

G1 Accepting Everything You Type as a command.
 
Ya, I won't lie I have shown a little love to a G1, T-Mobile loaned me one and I had a lot of fun with it.

I ran across this article at Engadget and for you geeks out there you will either laugh or cry.

Epic Android bug inteprets your typing as system commands
by Chris Ziegler, posted Nov 8th 2008 at 8:42PM

The philosophy goes something like this: the great thing about Linux is that it's secure, and the great thing about open-source software is that it's thoroughly and constantly vetted for robustness. So to that end, Android should be pretty rock solid, right?

Perhaps, but the overwhelming enormity of this particular bug definitely gives us pause. It turns out that G1 firmware revisions RC29 and earlier literally interpret everything you type as command-line operations, so if you happen across a legit command, it's going to get executed -- with superuser permissions, no less. No, seriously.

Just go to the messaging app, the browser, or anywhere else a text box is convenient, type "reboot," press the enter key, and watch magic happen. We've tested this on two G1s, both with RC29 firmware, and have gotten this to consistently work on one of the two, so your mileage may vary -- but either way, this needed to get patched on the double. Fortunately, Google's been quick about it, rolling a fix into the RC30 build that's being rapidly pushed to users as we speak, but man... how did that get through?

[Via Engadget]
Epic Android bug inteprets your typing as system commands - Engadget Mobile

rachamphetamine 11-09-2008 01:57 PM

I read that on EM yesterday and it made me laugh. I do wonder how that bug made it through... but it is entertaining. I wish I had one near me just to test out the 'reboot' command.

TroyDBrown 11-09-2008 02:08 PM

Quote:

Originally Posted by rachamphetamine (Post 1163622)
I read that on EM yesterday and it made me laugh. I do wonder how that bug made it through... but it is entertaining. I wish I had one near me just to test out the 'reboot' command.

Being a true nerd I thought about how many times I would type a potential command and was shocked. Just in my posts here I use reboot often.

rachamphetamine 11-09-2008 02:10 PM

Same here - though I don't know that many commands other than, well, reboot. I imagine that I would find them out pretty fast when I typed them in, though...

gfrancis306 11-09-2008 03:10 PM

hey someone with a G1 text this to someone: rm -rf /


watch the madness ensue :)

TroyDBrown 11-09-2008 03:14 PM

Quote:

Originally Posted by gfrancis306 (Post 1163692)
hey someone with a G1 text this to someone: rm -rf /


watch the madness ensue :)

It is the G1's remote wipe feature.

gfrancis306 11-09-2008 03:22 PM

Quote:

Originally Posted by TroyDBrown (Post 1163693)
It is the G1's remote wipe feature.

it is *nix's wipe feature. hehe


All times are GMT -5. The time now is 03:56 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.