mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-05 19:40:52 -07:00
16 lines
364 B
Bash
Executable file
16 lines
364 B
Bash
Executable file
#! /bin/sh
|
|
|
|
exec 2>&1
|
|
|
|
password='grape guts'
|
|
for fn in $CTF_BASE/packages/*/password; do
|
|
read password < $fn && break
|
|
done
|
|
|
|
printf 'root:%s' "$password" | chpasswd --md5
|
|
|
|
# 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
|