2011-09-23 16:04:25 -06:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
exec 2>&1
|
|
|
|
|
2012-06-12 18:25:32 -06:00
|
|
|
password='grape guts'
|
2012-07-22 17:14:06 -06:00
|
|
|
for fn in $CTF_BASE/packages/*/password; do
|
2012-06-12 18:25:32 -06:00
|
|
|
read password < $fn && break
|
|
|
|
done
|
2012-06-05 23:56:29 -06:00
|
|
|
|
|
|
|
printf 'root:%s' "$password" | chpasswd --md5
|
2011-09-23 16:04:25 -06:00
|
|
|
|
|
|
|
# Bring up the NIC; this will get us at least a link-local address, and
|
|
|
|
# hopefully a global address with stateless autoconfiguration.
|
|
|
|
ip link set eth0 up
|
|
|
|
|
|
|
|
exec dropbear -r ./rsa.key -E -F
|