-bash-3.2#

Issues relating to the upcoming LiberTV TvOS < 11.2 JB. NO MORON "wen eta" though - unless you want to be banned.
Forum rules
  • NO IDIOTIC QUESTIONS ABOUT "WEN ETA JB".
  • Read the FAQ before asking.
  • Otherwise, open discussion and/or requests welcome.

-bash-3.2#

Postby iosusr » Mon Apr 10, 2017 4:36 pm

SSHing into my apple tv 4 on 10.1

ssh root@192.168.1.5
The authenticity of host '192.168.1.5 (192.168.1.5)' can't be established.
ECDSA key fingerprint is SHA256:XXXXXXXXXXXXX.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.5' (ECDSA) to the list of known hosts.
root@192.168.1.5's password:
-bash-3.2#

------------------------

SSHing into my iPhone 6s on 10.2
ssh root@192.168.1.5
The authenticity of host '192.168.1.3 (192.168.1.3)' can't be established.
ECDSA key fingerprint is SHA256:XXXXXXXXXXXXX.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.3' (ECDSA) to the list of known hosts.
root@192.168.1.3's password:
iPhone6s-root:

I'm missing something here and I'm very confused, i dont understand why I'm getting bash, when i get bash i can't move around in the filesystem
iosusr
 
Posts: 4
Joined: Sat Mar 04, 2017 1:24 am

Re: -bash-3.2#

Postby morpheus » Tue Apr 11, 2017 12:51 pm

it's just the prompt. You're still in a shell.
PLEASE READ THE FAQ DETAILING HOW TO WORK IN THE SHELL. You can move around, but anything but the built-ins are in /tmp/bin , etc.. so set your PATH= accordingly. When you are CERTAIN you know what you are doing, you can move files from /tmp/bin to /bin, including dropbear itself (to /usr/local/bin) so that they will survive /tmp purging that some people were complaining about.

CAVEAT: IF YOU DONT KNOW WHAT YOU ARE DOING AND YOU MOVE FILES, YOU *WILL* BRICK YOUR ATV. And since the 10.1.1 JB I currently have requires a zero day, it will NOT be made public anytime soon.
morpheus
Site Admin
 
Posts: 531
Joined: Thu Apr 11, 2013 6:24 pm

Re: -bash-3.2#

Postby iosusr » Tue Apr 11, 2017 11:34 pm

Where in the FAQ does it have details about how to work in the shell?
iosusr
 
Posts: 4
Joined: Sat Mar 04, 2017 1:24 am

Re: -bash-3.2#

Postby Siguza » Wed Apr 12, 2017 2:47 pm

morpheus wrote:So what's in the IPA? A modified 64-bit only bootstrap.tar, containing /bin/sh -> /bin/bash, Some of my tools (in /usr/local/bin), dropbear (a free standing ssh daemon, with its keys in /etc/dropbear), and a few select binaries. Dropbear has been modified to run from /tmp, and the entire tar opens up in /tmp as well, so as to negate any remote chance of bricking.

How do I add more? Two options: Either extract bootstrap.tar to some directory, add whatever you want, and repackage into .tar and into the ipa, or - once you are in the JB:

cd /tmp

and then /tmp/bin/ls your way around, followed by /tmp/bin/mv ... files to their usual locations, taking care not to overwrite any system binaries.

alternatively: you can

Code: Select all
export PATH=/tmp/bin:/tmp/usr/bin:/tmp/usr/local/bin:/tmp/sbin

which makes your life real easy.
User avatar
Siguza
Unicorn
 
Posts: 158
Joined: Thu Jan 28, 2016 10:38 am


Return to LiberTV

Who is online

Users browsing this forum: No registered users and 1 guest