jvanegmond Posted May 15, 2006 Share Posted May 15, 2006 (edited) So after a lot of hours spent on learning and a LOT of trial and error. Here's my remote client, it let's you set up a server, a client (which performs the commands), and a user, that let's you pick the username and the command you want to send. I think it's great, but if you have any comments, please let me know.Also, feel free to post additional 'client-commands'.It's not 100% done. It still needs, or may need:A 'update' which downloads a new file with client-commands (but i recon this will strain the server more then it already does).And i can also add some sort of timeout which disconnects users after a certain amount of inactivity.The User GUI needs a bit of updating to let you know what commands need what parametersOk, here's how it works.You set up a server on a pc let's say the global-ip is: "1.1.1.1". You simply run Server.au3 and click on Start/Stop, the status bar will change to green or orange to let you know what's happening. If it's green it worked correctly, otherwise you may want to disable other AutoIt scripts that use TCP or change the port etc. (this is not likely so i will not go in depth on this.)[Note: If the server is behind a router you should forward port 44555 TCP to the LAN ip of your PC.)Next up, you open the client.au3 code and you fill in at $g_ip = "1.1.1.1" it's at line 10 or so. And then run it at whatever computer you like that has autoit on, or either compile it, it will work (probably).Finally, do the same with the user.au3 ( that is $g_ip = "1.1.1.1" for local use @IpAdress1 not "127.0.0.1"). Then run it, wait for it to load ( may take a while because it has to connect to the server and do a lot of string-processing, may also take very short, depends on how lucky you are ). Select a user in the left list, a command in the right list and fill in the parameters:Parameter list MsgBox Param1: Title Param2: Message Close (equals WinClose) Param1: Title Mouse Param1: X coordinates Param2: Y coordinates Run Param1: FilePath Close (equals Send) Param1: What to send Volume (equals wavesetvolume) Param1: 0 to 100 Talk (Doens't work with older versions and causes a crash!) Param1: What to say AllowInput and BlockInput (allows the user to send or not send input) No params. CDClose and CDOpen (opens or closes all CD trays.) No params.You can also use 'testclient.au3' to send messages to the server. It's practically the same as User.au3 only without the GUI. This is mainly usefull for testing out new things. It also logs itself on as 'USER' A few commands look like this:$clientname & "~LOGON" Example: PC2@Win_XP~LOGON Put the user in array meaning that he is logged on. "~LIST" List all the users in the same array as listed above. $clientname & "->" & $command & "~SEND" Example: PC2@Win_XP->Shutdown~Send This can send a command to the logged on $clientname. For a example of $command look at the list above. The type of command comes first. Then without space comes Param1 then a ~ then Param2. Example: Mouse200~200 OR MsgBoxTitle~Message [Note: Mouse also supports a click, this is done by: MouseLeft~200~200 OR MouseRight~100~500 ]Edit: This is old and crappy. Download removed. Edited April 18, 2008 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Busti Posted May 15, 2006 Share Posted May 15, 2006 (edited) hi, nice programm, im looking at its source right now, and i must say... something looks like my remote programm the diff is only, my is stringleft("",5) your is stringright("",5) i cant work anymore on mine yet, becouse it crashes with udp & tcp .. ^^ Edited May 15, 2006 by Busti My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
PezoFaSho Posted May 15, 2006 Share Posted May 15, 2006 this looks awesome man, your a really good coder. I would also like to say thanx for the trojan (just kidding lol) 50% of the time, it works all the time Link to comment Share on other sites More sharing options...
jvanegmond Posted July 3, 2006 Author Share Posted July 3, 2006 If you try to use this as a trojan it Always gets picked out by the firewalls and Virus scanners.. lol github.com/jvanegmond Link to comment Share on other sites More sharing options...
rambo3889 Posted July 3, 2006 Share Posted July 3, 2006 (edited) i cant see the code. it might be my browser but can you tell were it is Edited July 3, 2006 by rambo3889 My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
themax90 Posted July 5, 2006 Share Posted July 5, 2006 I made a similar thing a while back. I made a Old one which is User-Defined and an AutoIt Defined New one. Also, I am involved in the ITS project as lead server developer. Perhaps you could learn some things off it. Great server, I am glad more people are experimenting with TCP. AutoIt Smith Link to comment Share on other sites More sharing options...
rambo3889 Posted July 5, 2006 Share Posted July 5, 2006 Where is the code i cant see it???? My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
raedts Posted July 5, 2006 Share Posted July 5, 2006 Where is the code i cant see it????I was thinking the same.... Link to comment Share on other sites More sharing options...
jvanegmond Posted July 6, 2006 Author Share Posted July 6, 2006 I removed the attachment when i was in the My Control. I didn't know anyone was still interested. I'll repost it. github.com/jvanegmond Link to comment Share on other sites More sharing options...
YOUF Posted June 1, 2008 Share Posted June 1, 2008 Where » Good Remote Client, Works with TCP Link to comment Share on other sites More sharing options...
Andreik Posted June 1, 2008 Share Posted June 1, 2008 Where » Good Remote Client, Works with TCPMandarI removed the attachment when i was in the My Control. I didn't know anyone was still interested. I'll repost it. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
jvanegmond Posted June 1, 2008 Author Share Posted June 1, 2008 Also, Edit: This is old and crappy. Download removed. github.com/jvanegmond Link to comment Share on other sites More sharing options...
YOUF Posted June 1, 2008 Share Posted June 1, 2008 Where are the new » Can provide a copy of it, learning about Link to comment Share on other sites More sharing options...
jvanegmond Posted June 2, 2008 Author Share Posted June 2, 2008 Where are the new » Can provide a copy of it, learning aboutThere is none. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now