#!/usr/bin/expect
# ========================================
# Ubuntu users, you need to install expect
# sudo apt-get install expect
# ========================================

set host "naken.cc"
set port "6666"
set login "USERNAME_HERE"
set pwd "PASSWORD_HERE"

spawn telnet $host $port
send ".n$login=$pwd\r"
send "%Connected with naken bash quick script - v0.0.1\r"
interact

Copy and Paste above code to nakenClient.sh. You will need to make the file executable, so run the command: chmod +x nakenClient.sh

To run script: ./nakenClient.sh

have fun!

Comments:

Posted by Abdullah on
sweet, daemonprojects ftw yo!
Leave a Reply



(Your email will not be publicly displayed.)

Please type the letters and numbers shown in the image.Captcha Code