Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 02:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Frage] AutoIt Spambot

Discussion on [Frage] AutoIt Spambot within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 90
Join Date: Jan 2010
Posts: 2,334
Received Thanks: 508
[Frage] AutoIt Spambot

Hallöle,

soooo, das hab ich schonmal:

Quote:
#include <GUIConstantsEx.au3>

GUICreate("name", 335, 100)

GUICtrlCreateLabel("Key", 8, 10)
$key1 = GUICtrlCreateInput("", 35, 8, 120)
GUICtrlCreateLabel("Time", 8, 44)
$time1 = GUICtrlCreateInput("", 35, 40, 120)

$startbutton = GUICtrlCreateButton("Start", 190, 8, 60)

GUISetState(@SW_SHOW)

While 1
$msg = GUIGetMsg()

Select

Case $msg = $startbutton
$send1 = GUICtrlRead($key1)
$sleep1 = GUICtrlRead($time1)
While 1
Send($send1)
Sleep($sleep1)
WEnd

Case $msg = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop

EndSelect

WEnd

Ich will aber noch einen "Stop" Button einsetzten:

Quote:
#include <GUIConstantsEx.au3>

GUICreate("name", 335, 100)

GUICtrlCreateLabel("Key", 8, 10)
$key1 = GUICtrlCreateInput("", 35, 8, 120)
GUICtrlCreateLabel("Time", 8, 44)
$time1 = GUICtrlCreateInput("", 35, 40, 120)

$startbutton = GUICtrlCreateButton("Start", 190, 8, 60)
$stopbutton = GUICtrlCreateButton ("Stop", 190, 40, 60)

GUISetState(@SW_SHOW)

While 1
$msg = GUIGetMsg()

Select

Case $msg = $startbutton
$send1 = GUICtrlRead($key1)
$sleep1 = GUICtrlRead($time1)
While 1
Send($send1)
Sleep($sleep1)
WEnd

Case $msg = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop

EndSelect

WEnd



Wie mach ich das jetzt das er, wenn man den Stop Button klickt, aufhört zu schreiben?

Dankee schonmal
Sir Ryuuzaki is offline  
Old 04/17/2010, 09:59   #2
 
elite*gold: 60
Join Date: Jun 2009
Posts: 717
Received Thanks: 431
würde es dir denn nicht reichen einen shortcut fürs stoppen zu haben ?

Hier ist mal ein einigermasen gutes Script mit Shortcut
FrEakY. is offline  
Old 04/17/2010, 10:20   #3
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
PHP Code:
...

Case 
$msg $startbutton
$send1 
GUICtrlRead($key1)
$sleep1 GUICtrlRead($time1)

$running True

While $running 
Send
($send1)
$Timestamp TimerInit()
     Do
           Switch 
GuiGetMsg()
            Case 
$stopbutton
             $running 
False
            
Case $GUI_EVENT_CLOSE
             
Exit
           EndSwitch
     
     
Until Timerdiff $timestamp ) >= $sleep1

WEnd

... 
Das Tauschen von Sleep mit Timer und Do/Until dient dazu, dass der Button/Exitbutton auch während der Pause funktionieren
.nAno is offline  
Old 04/18/2010, 16:57   #4
 
elite*gold: 90
Join Date: Jan 2010
Posts: 2,334
Received Thanks: 508
Quote:
Originally Posted by .nAno View Post
PHP Code:
...

Case 
$msg $startbutton
$send1 
GUICtrlRead($key1)
$sleep1 GUICtrlRead($time1)

$running True

While $running 
Send
($send1)
$Timestamp TimerInit()
     Do
           Switch 
GuiGetMsg()
            Case 
$stopbutton
             $running 
False
            
Case $GUI_EVENT_CLOSE
             
Exit
           EndSwitch
     
     
Until Timerdiff $timestamp ) >= $sleep1

WEnd

... 
Das Tauschen von Sleep mit Timer und Do/Until dient dazu, dass der Button/Exitbutton auch während der Pause funktionieren
Stimmt, das war auch noch ein Problem


Aber ich hätte ihn doch gerne dabei, besser wärs noch wenn sich das programm nicht ganz schließt sondern nur pausiert!?

any idea?
Sir Ryuuzaki is offline  
Old 04/19/2010, 17:14   #5
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
***, tausch einfache Exit gegen die neue Deklarartion von $running aus

Der "Schlißen" Button (--> das Kreuz oben rechts) wird eig. auch wie eben ein ganz normaler Button behandelt, nur das er immer eine bestimmte ControlID hat.
$GUI_EVENT_CLOSE ist nur eine Konstante die diesen immer gleichen Wert beinhaltet
.nAno is offline  
Reply

Tags
autoit, bot, hack, hilfe


Similar Threads Similar Threads
[TUT] Autoit Spambot für ICQ,MSN usw.
02/07/2011 - AutoIt - 14 Replies
-
Spambot fehler (autoit)
09/01/2010 - AutoIt - 3 Replies
Hayy.. ich wollte gerade einen Spambot erstellen der wenn ich in einen anderen Fenster "F1" drücke das spammt was in der Edit box steht #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Spambot", 625, 365, 193, 125) $Edit1 = GUICtrlCreateEdit("", 24, 96, 577, 233) GUICtrlSetData(-1, "Edit1") $Label1 = GUICtrlCreateLabel("F1=Start Spam", 24, 40, 127, 28) GUICtrlSetFont(-1, 16, 400, 0, "MS Sans Serif")
AutoIT v.3 [TuT] 4Story SpamBoT ;)
07/18/2010 - 4Story - 17 Replies
Hallo Leute, Heute zeige ich euch wie ihr einen SPAMBOT erstellen könnt ganz einfach mit AutoIt v.3 :). Als erstes downloadet ihr AutoIt v.3 AutoIt - Meinungen - Download.CHIP.eu Dann installiet ihr es. Dann rechtsklick "neu" AutoIt v3 Script
[NEW][AutoIt]Spambot für Messangers wie ICQ u.v.a. by FeuerwehrAtze (v.1.0)
06/20/2010 - AutoIt - 15 Replies
Hey Leute! Hiermit Uploade ich meinen Spambot und gebe ihn für euch frei, damit ihr irgendwelche n4ps die euch nerven zu-spammen könnt! Mein Virus Total ergebnis: a-squared 5.0.0.26 2010.06.19 - AhnLab-V3 2010.06.20.00 2010.06.19 - AntiVir 8.2.2.6 2010.06.18 - Antiy-AVL 2.0.3.7 2010.06.18 - Authentium 5.2.0.5 2010.06.19 -
autoit spambot verbesserungsvorschläge
02/06/2010 - Coding Releases - 2 Replies
Hallo, Habe vor ca einer woche mit autoit angefangen und hab nen spambot geschrieben würd gerne ein paar verbesserungsvorschläge haben ich kann ihn ja als .exe anhängen ich schreib mal den code rein: ;Mein Spambot ;------------------------------------------------ --------------- #include <ButtonConstants.au3>



All times are GMT +1. The time now is 02:16.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.