cSploit / android

cSploit - The most complete and advanced IT security professional toolkit on Android.
http://www.csploit.org/
GNU General Public License v3.0
3.29k stars 1.1k forks source link

Use botbrew to simplify life of developers #220

Open MuradMathematics opened 9 years ago

MuradMathematics commented 9 years ago

Hello csploit base.

Today I found a app called "BotBrew" which claims to be able to run linux apps right from Android. I found a guy on Google Plus who uploaded some pix: https://plus.google.com/+DavidMcClellan/posts/BrEKQiVhq1a

BotBrew includes ruby so technically you can get Metasploit.

Seems to be an interesting app. If anyone could take a closer look at this, I would be very grateful for this.

Thanks in advance, MuradTroll

ETeissonniere commented 9 years ago

It is very interessant...

MuradMathematics commented 9 years ago

Yesterday it worked but now the botbrew repo is down (Http 502 error) and I cant test it. Will test it when the server is running again.

MuradMathematics commented 9 years ago

This could be helpful for @tux-mind

ETeissonniere commented 9 years ago

Yes, I think Le 17 août 2015 01:19, "MuradTroll" notifications@github.com a écrit :

This could be helpful for @tux-mind https://github.com/tux-mind

— Reply to this email directly or view it on GitHub https://github.com/cSploit/android/issues/220#issuecomment-131638532.

tux-mind commented 8 years ago

oh guys... what a shining stone you found... I cannot believe that this project were around when I started working on the native part of dSploit. I wasted entire weeks ... thank you so much for this suggestion, I'll switch to use botbrew as we close some high-priority issues.

thank you @MuradTroll or this precious suggestion.

tux-mind commented 8 years ago

@DeveloppSoft thanks for the manual!

For shared libraries, we have the LD_LIBRARY_PATH variable, but it is not very reliable. To remedy that, we use create symbolic links directly within /system/lib. ldimport does this for us, creating new links and removing dangling links without overwriting.

so botbrew is very invasive if the system linker do not honor the LD_LIBRARY_PATH environment variable. but I think that is acceptable for having our executable compiled with shared references instead of statically.

we have to test it out on lollipop, where shared libraries are painful due to the required -fPIE -pie compiler flags.

will see :wink:

MuradMathematics commented 8 years ago

@tux-mind Had to do long search to find it but was worth it. Even tough I didnt manage to install the whole gems (because I had to install so many .opkg files I just left it over), the ruby for android can be installed easily. Hope this helps you :)

It is similar to the KBOX project, which I found a while ago too (http://kevinboone.net/kbox2.html).

But all in all it seems to be a bit outdated, even tough it should work pretty good.

tux-mind commented 8 years ago

@DeveloppSoft please contact me via email if you want to contribute to this feature. I think to start working on it from a pair of hours.

you can find my email in the GPL header of the sources of android.native repo. thanks :)

ETeissonniere commented 8 years ago

Will do it Le 6 oct. 2015 18:12, "tux-mind" notifications@github.com a écrit :

@DeveloppSoft https://github.com/DeveloppSoft please contact me via email if you want to contribute to this feature. I think to start working on it from a pair of hours.

you can find my email in the GPL header of the sources of android.native repo. thanks :)

— Reply to this email directly or view it on GitHub https://github.com/cSploit/android/issues/220#issuecomment-145915476.