ok I am almost there first I didnt have samba I found the command to update and then I got to the end but I have to be putting something on the wrong line so here goes:
I think this is where I am having a problem When I put this sudo gedit /etc/samba/smb.conf in the terminal another box opens with alot of stuff in it I go to the bottom and paste
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
[share]
path = /tmp/share
available = yes
valid users = guest
read only = yes
browsable = yes
public = yes
then save I am putting it on the last line just like it is should it be put behind the last entry and not have it's own line.
then at this step do I put all for lines in at the same time or one at a time.
cd /tmp/share
wget http://vulnfactory.org/public/motoshare2.tgz
tar xvf motoshare2.tgz
sudo chmod 755 run.sh
Same question with this do they both get put behind sudo shmod755 run.sh or do they get there own line also do they get seperated or put on the same line together.
cd /tmp/share/
sudo ./run.sh
My phone connects and in the remote storage Ihave several files all with ? except SU apk Im so close yet so far away can someone help.
Below is the last time attempted and it keeps ending like this error loading shared libraries.
ubuntu@ubuntu:~$ mkdir /tmp/share
mkdir: cannot create directory `/tmp/share': File exists
ubuntu@ubuntu:~$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
samba is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 178 not upgraded.
ubuntu@ubuntu:~$ sudo gedit /etc/samba/smb.conf
ubuntu@ubuntu:~$ sudo restart smbd
smbd start/running, process 10086
ubuntu@ubuntu:~$ cd /tmp/share
ubuntu@ubuntu:/tmp/share$ wget
Please Login or Register to see this Hidden Content
--2013-04-23 01:13:25--
Please Login or Register to see this Hidden Content
Resolving vulnfactory.org (vulnfactory.org)... 199.188.204.9
Connecting to vulnfactory.org (vulnfactory.org)|199.188.204.9|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3304852 (3.2M) [application/x-tar]
Saving to: `motoshare2.tgz.11'
100%[======================================>] 3,304,852 1.14M/s in 2.8s
2013-04-23 01:13:28 (1.14 MB/s) - `motoshare2.tgz.11' saved [3304852/3304852]
ubuntu@ubuntu:/tmp/share$ tar xvf motoshare2.tgz
adb.linux
adb.osx
busybox
pwn
run.sh
su
Superuser.apk
ubuntu@ubuntu:/tmp/share$ sudo chmod 755 run.sh
ubuntu@ubuntu:/tmp/share$ cd /tmp/share/
ubuntu@ubuntu:/tmp/share$ sudo ./run.sh
./adb.linux: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[+] Waiting for device...
./adb.linux: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[+] Device found.
[+] Pushing exploit...
./adb.linux: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
./adb.linux: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
./adb.linux: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
./adb.linux: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
./adb.linux: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[+] Rooting phone...
[+] Your phone may appear to reboot. Please ignore this and continue with the exploit.
./adb.linux: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[+] Please press any hardware button on your phone.
[+] Don't worry if the phone is unresponsive at this time.
[+] Press enter to continue once you have pressed a hardware button.