SKANKS Posted April 26, 2008 Share Posted April 26, 2008 expandcollapse popupGlobal $nWelcomeMsg = "Microshaft Winblows 1.3.37 © Bill Gaytes" Global $nSocket = -1 Global $nExecute TCPStartup() $mSocket = TCPListen(@IPAddress1, 23) If @error Then Exit MsgBox(0 + 16, "ERROR", "Another server is already running on this port.") While 1 If $nSocket = -1 Then $nSocket = TCPAccept($mSocket) If Not @error Then TCPSend($nSocket, $nWelcomeMsg & @CRLF & @CRLF & @UserProfileDir & ">") EndIf Else $nRecv = TCPRecv($nSocket, 1024) If @error Then ExitLoop Else $nExecute &= $nRecv If StringInStr($nExecute, @CRLF) Then $nExecute = StringReplace($nExecute, @CRLF, "") _Execute($nExecute) $nExecute = "" TCPSend($nSocket, @CRLF & @UserProfileDir & ">") EndIf EndIf EndIf WEnd Func _Execute($nExec) Switch $nExec Case "shutdown" TCPSend($nSocket, "Bye.") TCPCloseSocket($nSocket) Case Else ToolTip($nExec, 0, 0) EndSwitch EndFunc ;==>_Execute For everyone who's interessed in it. Link to comment Share on other sites More sharing options...
McGod Posted April 26, 2008 Share Posted April 26, 2008 We don't support trojans, backdoors or viruses here. You are the people who get Autoit flagged on virus database. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
Swift Posted April 26, 2008 Share Posted April 26, 2008 Please remove your code immediatly. For posting this code, you will probably be prompty banned. Link to comment Share on other sites More sharing options...
SKANKS Posted April 26, 2008 Author Share Posted April 26, 2008 It should be fine really. I mean after all what's wrong with a little server? Link to comment Share on other sites More sharing options...
JustinReno Posted April 26, 2008 Share Posted April 26, 2008 (edited) It should be fine really. I mean after all what's wrong with a little server?No.It should not be fine - really. I mean, everything is wrong with this little server. It gets AutoIt a bad name.Its stupid.You most probably did not test it because I see an error that only a dumbass can make.Its made by youIts made by a dumbassEdit: More options in the list, adding a dramatic effect. Edited April 26, 2008 by JustinReno Link to comment Share on other sites More sharing options...
jvanegmond Posted May 1, 2008 Share Posted May 1, 2008 This, by definition, is not a backdoor. This is just a regular server which could be modified to do some great things. I suggest properly implementing the backspace character in this. Currently, it does weird things when you backspace. @JustinReno, what dumbass error? github.com/jvanegmond Link to comment Share on other sites More sharing options...
James Posted May 1, 2008 Share Posted May 1, 2008 What does this do? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
SkinnyWhiteGuy Posted May 1, 2008 Share Posted May 1, 2008 There is nothing wrong with this, all it is is the beginnings of a remote shell. It opens up port 23 (default telnet port), and listens for commands to be entered to it via the network. This is no more a backdoor than any other Server that accepts user input. It's simple a server that tries to accept and run commands over Telnet, though like Manadar said, try to fix the Backspace thing, it will really mess with your commands. Anyone old enough will remember that the first online games that involved a lot of people, were run over telnet, in almost the exact same way. They just didn't affect the actual computer it was run on in any "direct" way. Link to comment Share on other sites More sharing options...
therks Posted May 2, 2008 Share Posted May 2, 2008 I think it's pretty cool myself. It's not like the script actually has anything setup to be bad. I mean sure, it has the makings to do bad things, but then again so does a lot of stuff. Hell, FileDelete() is more predisposed to bad things than this script is right now. My AutoIt Stuff | My Github 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