How to run chromium browser and vlc in Backtrack with root privileges.

Posted: 10/01/2012 in Cyber Security, Operating Systems, Software Tweaks
Tags: , , , , , , , ,

This is a tiny tutorial for running Chromium and Vlc in Bt. To simply install google chrome on Backtrack 5,

apt-get install chromium-browser

However, developers of google chrome have not allowed root privileges. If you try to run it on Backtrack, you will get the follow message:

After installation of Chromium we have to hex edit the binary file in chromium-browser, so in terminal:

cd /usr/lib/chromium-browser

hexedit chromium-browser

Weird?? No! So here you can edit data in both hexadecimal and ascii mode. Its a very useful tool.     Now we switch to ascii by pressing [tab]. The cursor will be moved to the right side from the middle panel. Now you can edit in ascii. To undo any changes you might do by mistake, press [backspace].

ctrl+s to search for geteuid

Now we modify the geteuid to getppid

 

Now, ctrl+x to exit with changes saved. Finally chromium runs with root privileges.

To do the same operation for vlc just follow the same steps on:

/usr/bin/vlc

Another post about skype in root acc is coming next, stay tuned.  🙂

Comments
  1. AA Scrapebox says:

    …Click here for or more Information…

    […]excellent points altogether, you simply received a brand new reader.[…]…

  2. A very interesting read, thanks for that. If you ever write a follow-up, i’ll be sure to read it!

    • mitsos21 says:

      Thank you very much! I made a read to your site and its interesting too. Yes the next project is on modification right now so stay tuned 🙂

  3. Mike says:

    what about 64 bit system and OS?

  4. simon says:

    Excuse me, my hexedit cant find the entry gateuid
    what now?

  5. Aj says:

    hey i tried doing it but i cant able to open my chrome .. 😦

  6. Will says:

    it’s says the file is read-only on mine?

  7. guy says:

    cant switch to ascil mode please help!!

  8. coolnezz says:

    “Now we modify the geteuid to geteppid”

    that should be “getppid”, w/o the letter “e”

  9. Anonymous says:

    Straight and to the point; Love it! :3

  10. -φιλε εχω μερικες αποριες πανω σε αυτο το θεμα-
    προσπαθω να το κανω σε ενα vps με debian 7 32bit και οταν βαζω cd /usr/lib/chromium-browser
    –>No such directory or file
    Επισης μπηκα σιγα σιγα με cd /usr/ μετα cd /lib μπλα μπλα αλλα παλι το ιδιο με εβγαζε και οταν προσπαθησα με to hexedit εγραφε “Not a file” (λογικο αφου δεν το βρισκει)
    Θα σου ημουν ευγνωμων αν με βοηθουσες
    ΥΓ: (Τον εχω εγκαταστησει τον browser αλλα δεν ξερω γιατι δεν το βρισκει)

    • jimma314 says:

      Καλησπέρα φίλε μου. Λοιπόν, αρχικα μιας που ανέφερες Debian OS, δοκιμασε το path:
      “/usr/bin/chromium-browser” , αν και παλι δε κανει κατι τοτε, τρέξε το command:
      “$ strace chromium-browser” και πες μου τι σου εμφανιζει.

  11. Junior says:

    Thanks ! it worked !

  12. shawn says:

    did not work at all…..

  13. edu petit-valley says:

    Hi , how are you doing?
    I found this post trying to understand why chromium is not able tu run php pages with permissions set at 600. Im trying to complete a mooc online and they say the 600 permission is the right one since only you can read the php code… You think it’s possible they gave chrome root privileges? Well, thanks in advance. Greetings!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s