jtcgreyfox Posted November 4, 2009 Share Posted November 4, 2009 Ive come up with an interesting idea which I don't think has been done yet. implementing Twitter4J (a twitter access API for java) i made an app which processes direct messages to a particular twitter account as commands on the command line. I called mine Twitexec. to set it up you need to make a receiver twitter account and bind it to your normal twitter account. Then you run the program with 3 arguments (account, password, delayBetweenUpdatesInSeconds) and it will poll the direct messages list for new messages, parsing them as commands. (FYI you cant request more than 150 twitter updates within an hour. so keep the update time to more than about 30 seconds) You can then send that new account direct messages (eg: d testAccount explorer) and it will open a new explorer window on all computers running the program. I thought it would be a nice idea for people who wish to run similar commands on a large number of computers. also mostly just proof of concept to get twitter to do more than chat. http://rapidshare.com/files/302167682/twitexec.rar.html Ive included a .exe of the program for quick use, but dont forget to make a shortcut to it so you can add the 3 arguments. Quote Link to comment Share on other sites More sharing options...
digip Posted November 4, 2009 Share Posted November 4, 2009 I believe Digininja http://hak5.org/forums/index.php?showuser=4472 did something similar with php a while back. I can see this getting abused as an alternative to irc botnets, but still a pretty cool concept. Do you have the source code with it as well? Something to maybe add, is prefixes. Like how somepoeple start a tweet as a RT for re-tweets, have one prefix for commands, then another prefix that tweets the results, but so the bot knows which tweets are to be executed, and which are to be ignored. This way, you can sort of remotely contorl the device while getitng feedback on twitter, like the talking toilet sort of thing. Check this out: http://djtechnocrat.blogspot.com/2009/11/t...ommand-and.html Quote Link to comment Share on other sites More sharing options...
555 Posted November 4, 2009 Share Posted November 4, 2009 Sounds like you have been working hard, too much info for me now.. congrats on a well played role. (I am still Zombie level) Quote Link to comment Share on other sites More sharing options...
jtcgreyfox Posted November 4, 2009 Author Share Posted November 4, 2009 I believe Digininja http://hak5.org/forums/index.php?showuser=4472 did something similar with php a while back. I can see this getting abused as an alternative to irc botnets, but still a pretty cool concept. Do you have the source code with it as well? Something to maybe add, is prefixes. Like how somepoeple start a tweet as a RT for re-tweets, have one prefix for commands, then another prefix that tweets the results, but so the bot knows which tweets are to be executed, and which are to be ignored. This way, you can sort of remotely contorl the device while getitng feedback on twitter, like the talking toilet sort of thing. Check this out: http://djtechnocrat.blogspot.com/2009/11/t...ommand-and.html well i uploaded the .jar file aswel, and if you open taht with winrar, you ca get at the source code.. its rediculously simple. And the jar has a lot of unused junk left over from Twitter4J. hmm sad to hear someone has already done something like this hahaha i thought i had something really unique. thanks for the links btw. Quote Link to comment Share on other sites More sharing options...
Deveant Posted November 4, 2009 Share Posted November 4, 2009 well i uploaded the .jar file aswel, and if you open taht with winrar, you ca get at the source code.. its rediculously simple. And the jar has a lot of unused junk left over from Twitter4J. hmm sad to hear someone has already done something like this hahaha i thought i had something really unique. thanks for the links btw. Hrmmm no, no you cant. Inside a .jar, is class files not source files. But none the less the concept is good, but has already been done here, and ive also seen a fair few other implementations of the concept. (props to Digininja as his was first i saw). Quote Link to comment Share on other sites More sharing options...
jtcgreyfox Posted November 5, 2009 Author Share Posted November 5, 2009 Hrmmm no, no you cant. Inside a .jar, is class files not source files. But none the less the concept is good, but has already been done here, and ive also seen a fair few other implementations of the concept. (props to Digininja as his was first i saw). oops sorry. ok well nevermind the source anyway, i coded it terribly lol ill just pass the flag to dijininja and step aside :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.