Quote:
Originally Posted by c123
@spikesnet - thanks for the reply. guy *looks* legit, but zero replies to e-mails... and I can't quite understand why he does not want to publish the source for his hack...
@osgpcq - can you give us any more details as to what happens behind the scenes? I have still not decided whether a My Book is a good idea for me, and in any case I've never played around with tcpdump or ethereal etc (and am unlikely to find the time; even if I did not sure I'd understand anything).
Thanks guys.
|
--------------------------------------------------------------------------
Spikesnet get almost all.
(I don't put any data from tcpdump, only the result).
The hard drive when u try the normal upgrade by WD connect here:
http://websupport.wdc.com/firmware/l...nc&fw=01.01.18
So to see how work the martin hinner page, you need to put this in a web browser:
http://martin.hinner.info/mybook/fir...nc&fw=01.01.18
The code about this page is:
<a href="http://martin.hinner.info/mybook/files/latestfw.sh">firmware</a>
So u can download the script with this url.
I put here all the script:
#!/bin/sh
echo '#!/bin/sh' >/var/upgrade/upgrade1.sh
chmod 755 /var/upgrade/upgrade1.sh
chmod 4755 /bin/busybox
KEYGEN=/usr/bin/ssh-keygen
SSHD=/usr/sbin/sshd
RSA1_KEY=/etc/ssh_host_key
RSA_KEY=/etc/ssh_host_rsa_key
DSA_KEY=/etc/ssh_host_dsa_key
do_rsa1_keygen() {
if [ ! -s $RSA1_KEY ]; then
echo -n $"Generating SSH1 RSA host key: "
if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then
chmod 600 $RSA1_KEY
chmod 644 $RSA1_KEY.pub
echo
else
echo
exit 1
fi
fi
}
do_rsa_keygen() {
if [ ! -s $RSA_KEY ]; then
echo -n $"Generating SSH2 RSA host key: "
if $KEYGEN -q -t rsa -f $RSA_KEY -C '' -N '' >&/dev/null; then
chmod 600 $RSA_KEY
chmod 644 $RSA_KEY.pub
echo
else
echo
exit 1
fi
fi
}
do_rsa1_keygen
do_rsa_keygen
/usr/bin/passwd -d root
/usr/sbin/sshd &
rm -f /tmp/active_upgrade
exit 0
--------------------------------------------------------------------------
The change of the root password is a good idea for sure.
On my side, i compile with success "pstree" "fuser".
I got a version of nmap, but for now i'm not sure if all working.
For now i'm trying to compile vlc.
If i do this with success, i'll post the way to do this.
I'll wondering to do or not, a change to deactivate the web page from wd, because i dunno if the perl script from wd are sure or not.
--------------------------------------------------------------------------