Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSF update error #43

Closed
Systemad opened this issue Jan 13, 2015 · 116 comments
Closed

MSF update error #43

Systemad opened this issue Jan 13, 2015 · 116 comments

Comments

@Systemad
Copy link

So I get "Error occurred during update" or something like that when I download MSF(the msg pop-up after it gets 100% on "extracting" and every time istart the application I get toast msg "cannot start process" (I believe it's #1), I also tried with the new latest pre-release and same error occurred.
Here is my logcat : https://ghostbin.com/paste/8j6x8 (device info can be found here also)
and I got no csploitd.log :/

@DNBkid
Copy link

DNBkid commented Jan 13, 2015

i have the same issue , what model is your device ?

@Systemad
Copy link
Author

HTC one m7 (ARHD 83.0 4.4.3)

@tux-mind
Copy link
Member

@Systemad you are not affected by #1 , you can run which env.

it seems that your ruby installation is corrupted.

try to Settings > Delete MSF and install ruby again.

thanks for the report.

keep me posted.

@Systemad
Copy link
Author

I already done that like 5 times, The ruby download and extraction takes about takes about 10 seconds total :/ So I believe something i wrong

@Systemad
Copy link
Author

I have also tried installing ruby on SD card with no luck

@tux-mind
Copy link
Member

@Systemad did you installed any other ruby on you device ?

it seems that your ruby version is 1.9.1 while the one shipped with cSploit is 1.9.3

@Systemad
Copy link
Author

Yeah, I noticed it when I checked data/data/org.csploit.android/(ruby/lib/ruby, then it's a folder named 1.9.1)
I deleted it, tried reinstall ruby and MSF. Reinstall app. Same happens. (And no I didn't install any other ruby

@Systemad
Copy link
Author

I also tried deleting the whole folder. But it only downloads version 1.9.1. I am not a developer, so I don't know what to do :/ Edit: here's my csploitd.log: http://pastebin.com/EQbKrZAt

@tux-mind
Copy link
Member

@Systemad the 1.9.1 folder is ok, ruby 1.9.3 still use the 1.9.1 folders, don't worry about it.

it seems that ruby it's fine, but the gem install bundle command fails with execvp: permission denied

i need your help to understand what is happening on your device.

after a successful installation of the ruby package please do the following from the adb shell and report back the output.

export RUBYLIB=/storage/emulated/0/ruby/lib/ruby/site_ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/site_ruby/1.9.1/arm-linux-androideabi:/storage/emulated/0/ruby/lib/ruby/site_ruby:/storage/emulated/0/ruby/lib/ruby/vendor_ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/vendor_ruby/1.9.1/arm-linux-androideabi:/storage/emulated/0/ruby/lib/ruby/vendor_ruby:/storage/emulated/0/ruby/lib/ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/1.9.1/arm-linux-androideabi
export PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/storage/emulated/0/ruby/bin
export HOME=/storage/emulated/0/ruby/home/ruby
which ruby
which gem
head -n1 $(which gem)
ruby -v
gem -v
gem install bundle

feel free to ask me any further info, like how to get in an adb shell.

thanks in advance for your time.

@DNBkid
Copy link

DNBkid commented Jan 20, 2015

no i did not, i have installed only csploit and the ruby that came after csploit start updating.

-------- Оригинално писмо --------
От: tux-mind
Относно: Re: [android] MSF update error (#43)
До: cSploit/android
Изпратено на: Петък, 2015, Януари 16 02:01:12 EET

@Systemad did you installed any other ruby on you device ?

it seems that your ruby version is 1.9.1 while the one shipped with cSploit is 1.9.3


Reply to this email directly or view it on GitHub .

@DNBkid
Copy link

DNBkid commented Jan 20, 2015

here is the catlog and screenshot from adb shell. if i did it wrong please let me know ,to do it again correctly : )

-------- Оригинално писмо --------
От: tux-mind
Относно: Re: [android] MSF update error (#43)
До: cSploit/android
Изпратено на: Вторник, 2015, Януари 20 16:39:07 EET

@Systemad the 1.9.1 folder is ok, ruby 1.9.3 still use the 1.9.1 folders, don't worry about it.

it seems that ruby it's fine, but the gem install bundle command fails with execvp: permission denied

i need your help to understand what is happening on your device.

after a successful installation of the ruby package please do the following from the adb shell and report back the output.

export RUBYLIB=/storage/emulated/0/ruby/lib/ruby/site_ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/site_ruby/1.9.1/arm-linux-androideabi:/storage/emulated/0/ruby/lib/ruby/site_ruby:/storage/emulated/0/ruby/lib/ruby/vendor_ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/vendor_ruby/1.9.1/arm-linux-androideabi:/storage/emulated/0/ruby/lib/ruby/vendor_ruby:/storage/emulated/0/ruby/lib/ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/1.9.1/arm-linux-androideabi
export PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/storage/emulated/0/ruby/bin
export HOME=/storage/emulated/0/ruby/home/ruby
which ruby
which gem
head -n1 $( which gem )
ruby -v
gem -v
gem install bundle

feel free to ask me any further info, like how to get in an adb shell.

thanks in advance for your time.


Reply to this email directly or view it on GitHub .

@DNBkid
Copy link

DNBkid commented Jan 20, 2015

Here is my second try, but im still thinking that i do it wrong again.

-------- Оригинално писмо --------
От: tux-mind
Относно: Re: [android] MSF update error (#43)
До: cSploit/android
Изпратено на: Вторник, 2015, Януари 20 16:39:07 EET

@Systemad the 1.9.1 folder is ok, ruby 1.9.3 still use the 1.9.1 folders, don't worry about it.

it seems that ruby it's fine, but the gem install bundle command fails with execvp: permission denied

i need your help to understand what is happening on your device.

after a successful installation of the ruby package please do the following from the adb shell and report back the output.

export RUBYLIB=/storage/emulated/0/ruby/lib/ruby/site_ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/site_ruby/1.9.1/arm-linux-androideabi:/storage/emulated/0/ruby/lib/ruby/site_ruby:/storage/emulated/0/ruby/lib/ruby/vendor_ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/vendor_ruby/1.9.1/arm-linux-androideabi:/storage/emulated/0/ruby/lib/ruby/vendor_ruby:/storage/emulated/0/ruby/lib/ruby/1.9.1:/storage/emulated/0/ruby/lib/ruby/1.9.1/arm-linux-androideabi
export PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/storage/emulated/0/ruby/bin
export HOME=/storage/emulated/0/ruby/home/ruby
which ruby
which gem
head -n1 $( which gem )
ruby -v
gem -v
gem install bundle

feel free to ask me any further info, like how to get in an adb shell.

thanks in advance for your time.


Reply to this email directly or view it on GitHub .

@Systemad
Copy link
Author

I think i having some problems http://gyazo.com/e64dafddc41f58e6d0f37b4a00cbc8e7

@tux-mind
Copy link
Member

@DNBkid github drop email attachments, please share a link to the resources or reply from the github web interface.

thanks for your time :)

@tux-mind
Copy link
Member

@Systemad it seems that you have another ruby installed.

you have ruby installed in /system/bin/ruby.

try the commands i sent you before but for the PATH one use the following:

export PATH=/storage/emulated/0/ruby/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin

thanks for help me kill bugs :)

@Systemad
Copy link
Author

same thing happens :/ http://gyazo.com/c61c2179e0ff8909276811adde32b709

@tux-mind
Copy link
Member

there is 2 answers to this behaviour:

  • exevp/which check /system/bin before any other directory in PATH
  • ruby is not installed in /storage/emulated/0/ruby/bin

can you run the following commands ?

cd /storage/emulated/0/ruby/bin
ls -l
./ruby -v
ls -l /system/bin/ruby

thanks for your time.

@Systemad
Copy link
Author

I changed /storage/emulated/0/ to /sdcard
And now got this
http://gyazo.com/e28152dfa9ce69e310870ef4be3dd3fb

@DNBkid
Copy link

DNBkid commented Jan 24, 2015

5 minutes ago i decided to uninstall csploit and to install it again , first ruby updated fine and after metasploit have finished downloading then for the first time has installed without errors ,but after i restarted the device it gives me again cannot start the process but metasploit is now installed ,i think that we have some progress ! Did you succeeded with your devise, i have huawei p6 4.4.2

@DNBkid
Copy link

DNBkid commented Jan 24, 2015

here is mu catlog of the whole proccess ,also in the catlog i have included the other error i cant start "PASSWOR SNIFFER"
http://dox.bg/files/dw?a=ee931e6354

@tux-mind
Copy link
Member

Thank you very much for your patience. I'm quite busy in these months and
my work rate is significantly decreased. My apologies for this.

Thanks for your precious logcat, will give a look tomorrow.

@Systemad
Copy link
Author

What does this new feature "Network-radar" do in 1.3.0? 'I'm sorry if This is not be the best way to contact you? Idk how to contact you otherwise)

@tux-mind
Copy link
Member

@Systemad my email address tux_mind at csploit dot org is not functional.
i want to migrate to amazon ws, but I have to compute how much it will cost to me ( after the 1st free year ).

i've just created a readme for answer your question ❤️

@tux-mind
Copy link
Member

tux-mind commented Feb 7, 2015

I've just added support for android 5.

this issue will be the next to get fixed 😎

@jonniex7
Copy link

thanks man you are the best keep up the good work!!!

@ghost
Copy link

ghost commented Feb 22, 2015

Yup can confirm, no more errors while installing core, ruby or msf ( xperia z3 4.4.4 & nexus 9 5.0.2)

@DNBkid
Copy link

DNBkid commented Feb 23, 2015

unfortunately i`m still getting , error downloading update, and Cannot start process for MSF : ((

@Interneedus
Copy link
Contributor

Reinstall cSploit and try again.

@DNBkid
Copy link

DNBkid commented Feb 24, 2015

I have already done it 10 time`s, ill create a logcat with debug info soon.

@Ottavio97
Copy link

I downgraded at 1.4.2 and all is fine now. But if you don't update the application, it doesn't let me install core, ruby and MSF. Like if it's all part of an unique upgrade. To avoid future bugs, it will be really good if you can decide to manually install them from Settings Menu. But however, I resolved it by manual in stallation and manual permission settings.
About MSF, Great work for solving core/ruby bug, but I have still the same problem. MSF doesn't want to start. The only difference between then and now is that previously my error was #2 and now is #9, but all the rest is the same. MSF doesn't want to start. I hope you remember first logcat I sent to you, because there's no essential changes now, @tux-mind :)

@jonniex7
Copy link

huston huston we got a problem but i have faith in you!!!!!
http://pastebin.com/8UM1MTYQ
couldnt make the gems update

@tux-mind
Copy link
Member

@Ottavio97 I added more updates options in settings.

@jonniex7 thanks for the report. fixed in 1.4.7.

about the recent releases:

the nightly build server is down, I'm making a lot of releases to make cSploit available to you with the latest changes. will purchase a build server in a far future, when we'll reach more donations.

thanks for your patience.

@jonniex7
Copy link

&again we(you,all) managed to land down the rocket....
BIG THANKS TO
>>>>>>>>!!!!!!!!!!!!!!!!!!!!!!!!!--tux-mind--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<<<<<<<<<<<<<<
%%%%%%%%%%%%%patient is virtue%%%%%%%%%%%%%%%%%%%%%

@DNBkid
Copy link

DNBkid commented Feb 28, 2015

Great news for my huawei p6 i have downloaded 1.4.9 and now Metasploit have downloaded and installed finaly correct. Big Big Thanks to your great work tux-mind !!!

@tux-mind
Copy link
Member

tux-mind commented Apr 1, 2015

glad to see that you enjoy all my efforts 😊

@cesararduino
Copy link

@tux-mind Even after the 1.5.3 version of cSploit, the gem installation of the metasploit framework update fails. Then I try to start metasploit and it says "cannot start process". I tried manually extracting the mfs.zip and putting it in "/data/data/org.csploit.android/files" but when I open cSploit, it asks to update metasploit framework again. And if I say yes, it fails and the extracted folder (mfs) I put in "/data/data/org.csploit.android/files" dissapears. How do I make metasploit work?

@Systemad
Copy link
Author

@cesararduino csploit should take care of extracting and setting right file permission and other stuff, so manually extracting msf isn't something you should do. the only thing is to wait until it's fixed.

@cesararduino
Copy link

Oh okay, but I thought that he already made an update to the application and after the update many said that it began working for them. However, the metasploit framework update still doesn't work for me. So, just curious. Is tux-mind going to make another update? And how do I create a logcat so he can see my problem?

@cesararduino
Copy link

@Systemad

@ozc
Copy link

ozc commented Apr 19, 2015

Still same problem on Nexus 7 2013, 5.1. Tried both nightly and release versions.

@4cylindersoul
Copy link

Im on ver 1.5.3 and its tells me that it cant install msf gems afyer extracting it

@jonniex7
Copy link

msf error 4.4.2 s3

@Darrennchan8
Copy link

I have the Same problem... :(
Here's my logcat>>> http://pastebin.ca/3078990
Here's my log from the data partition>>> http://pastebin.ca/3079004

@jonniex7
Copy link

may the force be with us!!!!!!!!!

@GitHubTpac
Copy link

Hey Tux-Mind
msf installing issue.
running cm11 4.4.4 on galaxy s4
heres my catlog https://ghostbin.com/paste/kmdah
more logs https://ghostbin.com/paste/wesxy

@tux-mind
Copy link
Member

should be fixed with latest versions. some little bugs still around but thanks to some great new collaborator I'm fixing them all.

@jonniex7
Copy link

no errors but need some fixes as you know!i tried to install in a intel android tablet but says me no core found!

@tux-mind
Copy link
Member

yeah @jonniex7 , for now only arm is supported.

@jonniex7
Copy link

Also now msf rpc daemon not connected and thanks in advance for continuing that great app!!!!

@tux-mind
Copy link
Member

@jonniex7 what do you mean with Also now msf rpc daemon not connected ?
you may refer to #287 , which has been just fixed. if so try out the nightly build in the next hour.

and thank you for testing it out 😊

@jonniex7
Copy link

Getting better with each version!! Ty in advance!! Just rpcd is standby and waiting to connect so much time! S3 4.4.2 QS boeffla kernel

@jonniex7
Copy link

By the way the notification mode of rpcd is brilliant idea!!

@ghost
Copy link

ghost commented Nov 21, 2015

I keep having this error :"Connection to the MSF RPC daemon FAILED!" even after reinstalling the app, and upgrading Ruby and MSF a few times.
When i try to launch a "session on pwned target" i get this error "MSF RPC not connected".
I'm on CyanogenMod 12.1 ( Android 5.1.1 ).
What should i do to get Metasploit working ?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests