Jump to content


Photo

[ROOT] Motoshare 2: Old Bug, New Exploit


  • Please log in to reply
985 replies to this topic

#361 hadeshorn9

hadeshorn9

    Moot Minion

  • Dedicated Supporter
  • PipPipPip
  • 961 posts
  • LocationBoston MA area
  • Current Device(s):Nexus 6 64gb, Dell Venue 8, Chromecast

Posted 23 April 2013 - 05:39 PM

It appears that people are having better luck with 32 bit ubuntu (I am running 64 -bit and worked fine) 

Did you try and mount the share from your windows machine? If yes then the share obviously works.

Must be something wrong with the wireless config on the phone.

Try deleting the wireless profile on your phone and reboot for sanity, then add your wireless connection back to the phone.

Just trying to verify everything works wirelessly.


OG -> Bionic -> (2013) Moto X DE -> Nexus 6 64gb Running 5.1 via Samuri's HoN 


#362 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,282 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 23 April 2013 - 05:40 PM

Go to the help menu on Ubuntu, update check, install updates the try again.

Or go to 12.10 ......
  • arisgoku likes this

b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#363 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,282 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 23 April 2013 - 05:42 PM

With the 12.4 and newer, it shouldn't matter between 32 and 64 as it should be multi arch. I think the main thing is doing the updates if on 12.4. Mine wouldn't work until I did them either on 12.4

b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#364 hadeshorn9

hadeshorn9

    Moot Minion

  • Dedicated Supporter
  • PipPipPip
  • 961 posts
  • LocationBoston MA area
  • Current Device(s):Nexus 6 64gb, Dell Venue 8, Chromecast

Posted 23 April 2013 - 05:43 PM

help pls!

ubuntu@ubuntu:~$ sudo apt-get install sambaReading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 samba : Depends: samba-common (= 2:3.6.3-2ubuntu2) but 2:3.6.3-2ubuntu2.3 is to be installed
         Depends: libwbclient0 (= 2:3.6.3-2ubuntu2) but 2:3.6.3-2ubuntu2.3 is to be installed
         Recommends: tdb-tools but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I am on a live dvd ubuntu 12.04.2 lts

what to do?

I do believe you are running on a read only operating system, no place to add anything since it is a DVD.

As you can see the packages want to be installed but can't be.

You will need a USB install so you can add the samba packages.


OG -> Bionic -> (2013) Moto X DE -> Nexus 6 64gb Running 5.1 via Samuri's HoN 


#365 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 05:45 PM

Go to the help menu on Ubuntu, update check, install updates the try again.

Or go to 12.10 ......

I have 12.10


Droid Bionic - JB - Rooted

 


#366 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 05:48 PM

Problem appears to be that I can not connect to the share folder from phone or windows pc.


Droid Bionic - JB - Rooted

 


#367 jgattonii

jgattonii

    Member

  • Members
  • PipPip
  • 32 posts
  • Current Device(s):Droid Bionic

Posted 23 April 2013 - 05:50 PM

I have 12.10


Eagle - are you running 32 or 64? Im not disputing Kaos's theory (no pun intended) but 64 didn't work for me...
  • livinginkaos likes this

#368 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,282 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 23 April 2013 - 05:51 PM



Go to the help menu on Ubuntu, update check, install updates the try again.


Or go to 12.10 ......


I have 12.10


I was referring to the other gent. Your issue is with your network connection.

b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#369 hadeshorn9

hadeshorn9

    Moot Minion

  • Dedicated Supporter
  • PipPipPip
  • 961 posts
  • LocationBoston MA area
  • Current Device(s):Nexus 6 64gb, Dell Venue 8, Chromecast

Posted 23 April 2013 - 05:53 PM

Problem appears to be that I can not connect to the share folder from phone or windows pc.

Ok then something is not correct on the installation of samba retrace your steps on the instructions in the OP. verify everything was done.

 

to verify samba is actually running type this

 

sudo ps -ef |grep -i smb
You are looking for something along these lines.
root      3032     1  0 Apr22 ?        00:00:00 smbd -F
root      3036  3032  0 Apr22 ?        00:00:00 smbd -F
 

That means samba is running so it is more than likely the either the password or the config is incorrect.

 
 

 


OG -> Bionic -> (2013) Moto X DE -> Nexus 6 64gb Running 5.1 via Samuri's HoN 


#370 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,282 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 23 April 2013 - 06:02 PM

Something else to also confirm is that your Ubuntu IP conforms to your networks IP 192.168.0.X or 192.168.1.X etc.

b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#371 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 06:14 PM

 

Ok then something is not correct on the installation of samba retrace your steps on the instructions in the OP. verify everything was done.

 

to verify samba is actually running type this

 

sudo ps -ef |grep -i smb
You are looking for something along these lines.
root      3032     1  0 Apr22 ?        00:00:00 smbd -F
root      3036  3032  0 Apr22 ?        00:00:00 smbd -F
 

That means samba is running so it is more than likely the either the password or the config is incorrect.

 

 

I got 2790 2301 0 22:41 pts/0 00:00:00 grep --color=auto -i smb

Droid Bionic - JB - Rooted

 


#372 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 06:16 PM

Something else to also confirm is that your Ubuntu IP conforms to your networks IP 192.168.0.X or 192.168.1.X etc.

Yes it does


Droid Bionic - JB - Rooted

 


#373 hadeshorn9

hadeshorn9

    Moot Minion

  • Dedicated Supporter
  • PipPipPip
  • 961 posts
  • LocationBoston MA area
  • Current Device(s):Nexus 6 64gb, Dell Venue 8, Chromecast

Posted 23 April 2013 - 06:19 PM

 

I got 2790 2301 0 22:41 pts/0 00:00:00 grep --color=auto -i smb

 

Samba is not running.

Try this

sudo restart smbd

 

Then do 

sudo ps -ef | grep -i smb

 

It should give you output like I showed prior.

If not then then samba config is not correct.


  • livinginkaos likes this

OG -> Bionic -> (2013) Moto X DE -> Nexus 6 64gb Running 5.1 via Samuri's HoN 


#374 jgattonii

jgattonii

    Member

  • Members
  • PipPip
  • 32 posts
  • Current Device(s):Droid Bionic

Posted 23 April 2013 - 06:23 PM

Dumb question incoming; please delete if too much so... Just asking for my own curiosity: why does the samba have to be setup locally?

#375 hadeshorn9

hadeshorn9

    Moot Minion

  • Dedicated Supporter
  • PipPipPip
  • 961 posts
  • LocationBoston MA area
  • Current Device(s):Nexus 6 64gb, Dell Venue 8, Chromecast

Posted 23 April 2013 - 06:25 PM

Dumb question incoming; please delete if too much so... Just asking for my own curiosity: why does the samba have to be setup locally?

Needs to have a place to launch from and part of the exploit method.

 

Plus it does not work from windows, period per the source!


OG -> Bionic -> (2013) Moto X DE -> Nexus 6 64gb Running 5.1 via Samuri's HoN 


#376 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,282 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 23 April 2013 - 06:28 PM

- the hole into the right permissions is thru the remote storage folders.  The only way to get that to work is to connect to a server so the files end up migrating and commands run thru the connection


b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#377 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 06:33 PM

Samba is not running.

Try this

sudo restart smbd

 

Then do 

sudo ps -ef | grep -i smb

 

It should give you output like I showed prior.

If not then then samba config is not correct.

When I do "sudo restart smbd"

it returns "restart: Unknown job: smbd"

Then the same line as I had before.


Droid Bionic - JB - Rooted

 


#378 SirEagle

SirEagle

    Member

  • Members
  • PipPip
  • 41 posts

Posted 23 April 2013 - 06:38 PM

Early on when I ran "sudo apt-get install samba" it wasn't available and I had to run "sudo apt-get install samba-common-bin smbclient samba common" instead.


Droid Bionic - JB - Rooted

 


#379 jgattonii

jgattonii

    Member

  • Members
  • PipPip
  • 32 posts
  • Current Device(s):Droid Bionic

Posted 23 April 2013 - 06:39 PM

- the hole into the right permissions is thru the remote storage folders. The only way to get that to work is to connect to a server so the files end up migrating and commands run thru the connection


Thank you Kaos. So basically, its "only" the most important reason that this exploit works?

#380 hadeshorn9

hadeshorn9

    Moot Minion

  • Dedicated Supporter
  • PipPipPip
  • 961 posts
  • LocationBoston MA area
  • Current Device(s):Nexus 6 64gb, Dell Venue 8, Chromecast

Posted 23 April 2013 - 06:39 PM

When I do "sudo restart smbd"

it returns "restart: Unknown job: smbd"

Then the same line as I had before.

SirEagle you need to start the live installation again. Are you running from a DVD or usb drive?

If DVD I do not think that is going to work as there is no place to install samba to begin with. It has to be on a USB live drive per the instructions.


OG -> Bionic -> (2013) Moto X DE -> Nexus 6 64gb Running 5.1 via Samuri's HoN 





2 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


    Facebook (1)