View Full Version : fulls stop, return
May 17th, 2011, 10:22 AM
I want to create a programme that when run, will send a full stop then an enter over and over again as if I was typing it myself.
May 17th, 2011, 11:29 AM
man yes :D
May 17th, 2011, 02:39 PM
As in a command? I could help you with just printing periods, but I don't know about using them as input to something. Could you explain a bit more?
May 17th, 2011, 02:46 PM
Open a terminal and execute this (use CTRC+C to quit):
while true; do echo -n "."; sleep 1; echo ""; sleep 1; done
or paste this into a text file, say "myscript.sh":
while true; do
echo -n ".";
chmod +x /path/to/myscript.sh
May 17th, 2011, 08:54 PM
Could you explain a bit more?
Ok the other day i found that by repeatedly pressing any button followed by return, i could post multiple comments on someones Facebook profile. My friend set her account to send her a text message when someone comments so she suddenly got about a hundred messages from Facebook.
I figured I'd be much better of running some sort of script that would do this for me :popcorn:
May 17th, 2011, 09:03 PM
Wouldn't that constitute a denial of service attack?
May 17th, 2011, 09:31 PM
not sure. guess I'll find out
May 17th, 2011, 10:38 PM
What you want is the xsendkeycode command. You can install it with:
sudo apt-get install lineakd
Google for usage.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.