Installing Breach on Ubuntu 14.04 x64

260 views
Skip to first unread message

Jiří Kozlovský

unread,
Jul 20, 2014, 2:28:59 PM7/20/14
to breac...@googlegroups.com
Hello everyone!

I'm working on Ubuntu and I would like to participate on Breach development, but I can't install it. I run breach:
 
~/bin/breach/breach-v0.3.21-alpha.5-linux-x64$ sh breach
 
And it returns this:
 
[17472:17472:0720/201149:5792304417:FATAL:browser_main_loop.cc(172)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Aborted (core dumped)
 
So I've installed chromium-browser to be capable of running Breach. I've succeeded launching it after an advice of a fan on IRC to run specific command in terminal. He also recommended me to save that command - I really wanted to, but forgot it.
 
I'm running on a USB stick and I was out of memory so I've done reboot, so IRC history has gone. I remember a bit of the cmd, but can't really recall. It looked somehow like this:
 
 export CHROME_DEVEL_SANDBOX=/usr/lib/chromium-browser/chrome-sandbox ./breach

 But this doesn't work .. anyone? :) by the way, it would be great to include some hint to github welcome readme.md


Jiří Kozlovský

unread,
Jul 20, 2014, 3:26:46 PM7/20/14
to breac...@googlegroups.com
I have found a solution: 

overwrite breach script with this: 
sudo rm -rf __AUTO_UPDATE_BUNDLE__/exo_browser/shell/*;
sudo cp -a __AUTO_UPDATE_BUNDLE__/breach_core/* ~/bin/breach/__AUTO_UPDATE_BUNDLE__/exo_browser/shell;
./__AUTO_UPDATE_BUNDLE__/exo_browser/exo_browser --disable-setuid-sandbox;

But you will have to run it only from its folder

To run it from anywhere, move breach to specific folder (mine is ~/bin/breach):
cd ~;
sudo mkdir bin;
cd bin;
sudo mkdir breach;
cd breach;
sudo tar -xf /way/to/your/archive/location/breach-v0.3.21-alpha.5-linux-x64.tar.gz -C .; #extract tar.gz to this dir
sudo mv breach-v0.3.21-alpha.5-linux-x64/* .;
sudo rm -rf *64;

Then rewrite original breach file to this:
sudo rm -rf ~/bin/breach/__AUTO_UPDATE_BUNDLE__/exo_browser/shell/*;
sudo cp -a ~/bin/breach/__AUTO_UPDATE_BUNDLE__/breach_core/* ~/bin/breach/__AUTO_UPDATE_BUNDLE__/exo_browser/shell;
cd ~;
./bin/breach/__AUTO_UPDATE_BUNDLE__/exo_browser/exo_browser --disable-setuid-sandbox;

and then execute:
export PATH=$PATH:~/bin/breach;

Woalla! You can run it from anywhere .. just type

Stanislas Polu

unread,
Jul 21, 2014, 5:52:22 PM7/21/14
to Jiří Kozlovský, breac...@googlegroups.com

-stan

--
Stanislas Polu

Mo: +1 415 216 5700 | Tw: @spolu 


--
You received this message because you are subscribed to the Google Groups "breach-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to breach-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jiří Kozlovský

unread,
Jul 22, 2014, 7:12:11 AM7/22/14
to breac...@googlegroups.com, niks...@gmail.com
Thanks, that helped ! .. I just found out you dont have to install chromium or google chrome if you are running on LiveUSB Ubuntu 14.04 to run breach.

There is bulit-in chrome-sandbox which works for me:
export CHROME_DEVEL_SANDBOX=/usr/lib/x86_64-linux-gnu/oxide-qt/chrome-sandbox

All woking sandboxes can be found with this cmd:
sudo find / -name "*sandbox"

Output:
/opt/google/chrome/chrome-sandbox
/usr/lib/x86_64-linux-gnu/oxide-qt/chrome-sandbox
/usr/lib/chromium-browser/chrome-sandbox
/rofs/usr/lib/x86_64-linux-gnu/oxide-qt/chrome-sandbox

Then just assing sandbox to the one you like the most :D ...:
export CHROME_DEVEL_SANDBOX=/opt/google/chrome/chrome-sandbox

I'd publish this little walkthrough to http://breach.cc/hack/ or better https://github.com/breach/breach_core to a README.md



Dne pondělí, 21. července 2014 23:52:22 UTC+2 Stanislas Polu napsal(a):

Stanislas Polu

unread,
Jul 22, 2014, 8:53:25 AM7/22/14
to Jiří Kozlovský, breac...@googlegroups.com
Great! Feel free to update the blog post 'Running on Linux' with this additional information!
--
-stan

---
+1 415 216 5700 | @spolu

Stanislas Polu

unread,
Jul 22, 2014, 8:53:54 AM7/22/14
to Jiří Kozlovský, breac...@googlegroups.com
Of course I meant wiki post ;-)

Jiří Kozlovský

unread,
Jul 22, 2014, 2:24:41 PM7/22/14
to breac...@googlegroups.com, niks...@gmail.com
I'm on it ..

but regrettably after relaunching Ubuntu 14.04 on LiveUSB, assigning CHROME_DEVEL_SANDBOX is not enough .. it is needed to disable sanbox as posted first .. so I'll mention it on that Wiki

Dne úterý, 22. července 2014 14:53:54 UTC+2 Stanislas Polu napsal(a):
To unsubscribe from this group and stop receiving emails from it, send an email to breach-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
-stan

---
+1 415 216 5700 | @spolu

Reply all
Reply to author
Forward
0 new messages