Also hier meine Frage:
Ich hab mal gehört das man mit einer von diesen beiden Variablen andere Computer in einem Netzwerk ohne Bestätigung herunterfahren kann:
Code:
Shutdown -i
Shutdown -r
Geht das wirklich so einfach? Oder brauch ich da etwas mehr Code. Hab die 2 variablen noch nicht ausprobiert also frag ich hier mal ob das so geht und wenn nicht was ich schreiben müsste das ich andere Computer in einem Netzwerk ohne Bestätigung runterfahren kann.
TCPStartup()
$mainsocket = TCPListen("IP DES CLIENTS", 4321)
While 1
$acceptedSocket=TCPAccept($mainsocket)
If $acceptedSocket<>-1 Then
$receivedData=TCPRecv($acceptedSocket, 1024)
If $receivedData=1 Then
ShellExecute('shutdown -s -t 30 -c "Remote Shutdown"')
EndIf
EndIf
WEnd
Client(muss auf den Computer, der den anderen ausschalten soll):
TCPStartup()
$socket = TCPConnect("IP DES SERVERS", 4321)
If $socket = -1 Then
MsgBox(16, "Error", "Die Verbindung zum Server konnte nicht hergestellt werden!")
EndIf
$sendedBytes = TCPSend($socket, 1) ; "1" ist der Inhalt des Pakets, das gesendet wird
If $sendedBytes = 0 Then
MsgBox(16, "Error", "Das Paket konnte nicht gesendet werden.")
EndIf
TCPCloseSocket($socket)
TCPShutdown()
Beim testen ist es übrigens gut wenn man weiß, wie man das Runterfahren zur Not noch abbrechen kann. Das geht mit "shutdown -a".
Mit deinem "shutdown -i". Allerdings dachte ich, du willst es mit AutoIt lösen (siehe Threadtitel).
Du musst dafür aber auf beiden Rechnern die richtigen Dienste aktiviert haben.
(Ich glaube Verzeichnisdienst und noch ein paar mehr... Einfach mal googlen)
Wie riskant ist AutoIt oder botten über Remote Desktop 02/08/2011 - WoW Bots - 6 Replies Hallo.
Momentan nutze ich für meine "Halb Bot Scripts" wie z.B. main Raid Tool eine Kombination aus Ingame Addon und AutoIt.
AutoIt soll ja relativ "Heiss" sein, was die Gefährlichkeit angeht. Durch persönliche Anwesenheit ist das zwar wieder etwas relativiert.
Aber wer weiß, ob die nicht mal pauschal alle auffälligen AutoIt User bannen.
Mittels AutoIt mache ich das, was seit Ende Classic nicht mehr direkt mit Lua Addons ohne Hacking möglich ist (Automatisches Casten).
Nun könnte ich...
[AutoIt]Shutdown-Bot 03/09/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 5 Replies hier ist etwas neues von mir :D
ES IST EIN SINNLOSER BOT!! xD
ER FÄHRT DEN PC NACH DER ANGEGEBENEN ZEIT HERRUNTER!!!
VLLT KANN ES JMD GEBRAUCHEN SO ZUM BOTTEN ALGEMEIN
Aion Alert 2.3 - Now with remote shutdown of Aion and Bot 11/04/2009 - Aion Hacks, Bots, Cheats & Exploits - 17 Replies Aion Alert 2.9
NOTE: As of 2.9 I cannot get my version to crash. If yours is crashing I am happy to look at it, but I need very specific input, ie, what you did right before the crash, the details of the crash report, and any testing you did to isolate it, and if you can make it happen every time.
NEW: You should be able to reply to an alert with a command to Aion Alert with text messages now, so long as your company's subject line is "RE: Aion Alert" or "Re: Aion Alert". You can test...
winxp shutdown msg + abort (autoit?) 07/07/2008 - General Coding - 6 Replies Hey, i´m searching for some hints to solve the following problem:
Everytime i click on start -> Shutdown, the shutdown progress should abort and a message like "bla bla do you rly rly ryl want to shutdown ?" should appear.
Is there any way to use Autoit like p.e.:
$start_button_coordinates = 534,234,234,234
function = "abbort shutdown and popup the meassage"
onclick($start_button_coordinates,function)
thanks in advance