zinkpwn/drop.sh
2024-07-02 19:07:41 +02:00

7 lines
269 B
Bash
Executable file

#!/bin/sh
echo nyaa > /dev/kmsg
mv /etc/init.d/_S50sshd /etc/init.d/S50sshd # enable the service
sed -r -i 's@! -f /etc/ssh_host(_[rd]sa)*_key@@' /etc/init.d/S50sshd # disable most host keys; generation is SLOOOW
echo -e 'meow\nmeow' | passwd
/etc/init.d/S50sshd start