twitter |   ||  email | PGP --> harshal @ harshdevx.comharshdevx:~#
harshdevX:~#r00t  |  analyt1cs   |  st1lls  |  ab0ut m3
updating...
raspberry pi as your fm station
i will not get into details of how to create a twitter id. thats all it takes for a bot. atleast for me. so i have a twitter id user1 and another twitter id user2. user1 follows user2 and vice versa. to make it easier you can name it as firewall bot. first things first we need to get oysttyer. you can download it using wget with a zip file or use git clone to get the latest version. first run to get the app authenticated:
perl /opt/oysttyer/
#1 DIR=/home/user/your-working-folder
#2 IP=`sqlite3 $DIR/dbanalytics.db "select count(kernellog.src), kernellog.src from kernellog group by kernellog.src order by count(kernellog.src) desc limit 1;"`
#3 COUNT=`echo $IP | cut -f 1 -d "|"`
#4 IPADDR=`echo $IP | cut -f 2 -d "|"`
#5 HASH=`echo -n "@your-twitter-id --> hey $IPADDR you scanned me $COUNT times...check others you can put your status link or any href link here" | md5sum | awk '{ print $1}'`
#6 RECORD=`echo "select twitterhash from twitterhashes where twitterhash='$HASH';" | sqlite3 $DIR/dbanalytics.db`
#7 FLAG=`echo "select flag from twitterhashes where twitterhash='$HASH';" | sqlite3 $DIR/dbanalytics.db`
#8 if [ "$HASH" != "$RECORD" ] && [ "$FLAG" = "1" ]; then
#9 echo "@your-twitter-id --> hey $IPADDR you scanned me $COUNT times...check others you can put your status link or any href link here" | perl /opt/oysttyer-master/oysttyer.pl -ssl -status= -
#10 NEWHASH=`echo -n "@your-twitter-id --> hey $IPADDR you scanned me $COUNT times...check others bit.ly/1qFfRWI" | md5sum | awk '{ print $1}'`
#11 echo "insert into twitterhashes values ('$NEWHASH');" | sqlite3 $DIR/dbanalytics.db
#12 else
#13 curl --data chat_id=123456789 --data-urlencode "text=from your-box: hash is the same i am not posting to twitter" "https://api.telegram.org/bot12345678:ABCDEDFGHJKghij-zcsdkasdsjfs/sendMessage" > /dev/null 2>&1
#14 fi

concept and design: harshdevX