Thursday, October 27, 2011

How to Run Google Chrome as Root on Backtrack Linux

1. Close out any instances of google chrome.

2. Open a terminal and change into the google chrome directory


root@bt:~# cd /opt/google/chrome/

3. Next we are going to use a Hex editor to modify the Chrome code. We are basically going to alter the section that checks to see what user is running.


root@bt:/opt/google/chrome# hexedit chrome

4. Now you will be presented with the following screen:

Screen-Shot-2011-10-27-at-7.20.14-AM
5. The first thing we need to do is press the tab key which will switch us into ASCII mode. You can see if this worked because your cursor will move over to the right hand column of the hex editor.
6. Next we will hit CTRL-s in order to open up the search function. The string we are looking for is the “geteuid” command.
Screen-Shot-2011-10-27-at-7.27.29-AM
7. Once we locate the string what we want to do is alter it from “geteuid” to “geteppd”
Screen-Shot-2011-10-27-at-7.27.44-AM
8. Once the ASCII string is altered we can press CTRL-x in order to save the file. Be sure to reply Yes when asked if you want to save the file or not.
Screen-Shot-2011-10-27-at-7.27.48-AM

9. Once the file is saved we can open Google Chrome and it should run normally.
Screen-Shot-2011-10-27-at-7.28.56-AM


news from Question-Defense.com thanks to pureh@te

No comments:

Post a Comment