|
You last visited: Today at 21:50
Advertisement
AutoIT remote shutdown, wie?
Discussion on AutoIT remote shutdown, wie? within the AutoIt forum part of the Coders Den category.
04/15/2011, 14:12
|
#1
|
elite*gold: 0
Join Date: Dec 2010
Posts: 8
Received Thanks: 3
|
AutoIT remote shutdown, wie?
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.
|
|
|
04/15/2011, 15:58
|
#2
|
elite*gold: 9
Join Date: Dec 2009
Posts: 1,071
Received Thanks: 819
|
Ich denke, das geht über TCP/IP...
Server(muss auf den Computer, der ausgeschaltet werden soll):
Code:
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):
Code:
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".
|
|
|
04/15/2011, 17:52
|
#3
|
elite*gold: 0
Join Date: Dec 2010
Posts: 8
Received Thanks: 3
|
danke  also geht es nicht das nur ein computer im netzwerk die exe laufen hat und dann die anderen abstellt.
|
|
|
04/15/2011, 19:46
|
#4
|
elite*gold: 0
Join Date: Feb 2010
Posts: 344
Received Thanks: 151
|
Quote:
Originally Posted by Hardbass248
danke  also geht es nicht das nur ein computer im netzwerk die exe laufen hat und dann die anderen abstellt.
|
Soweit ich weiß nicht. Außer du hackst dich in die PCs rein :P
|
|
|
04/15/2011, 19:49
|
#5
|
elite*gold: 0
Join Date: Nov 2010
Posts: 261
Received Thanks: 11
|
Ja des geht
|
|
|
04/15/2011, 20:50
|
#6
|
elite*gold: 9
Join Date: Dec 2009
Posts: 1,071
Received Thanks: 819
|
Es geht.
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)
|
|
|
04/15/2011, 22:48
|
#7
|
elite*gold: 0
Join Date: Dec 2010
Posts: 8
Received Thanks: 3
|
Also doch, naja ich probier mal herrum und danke für deine tipps und überhaupt für die hilfe
|
|
|
04/18/2011, 00:25
|
#8
|
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
|
Soweit ich weiß muss dafür eine Remoteverbindung zugelassen sein.
|
|
|
 |
Similar Threads
|
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
|
All times are GMT +1. The time now is 21:51.
|
|