; Parameters ....: $s_SmtpServer - SMTP server to be used for sending email
; $s_FromName - Name of sender
; $s_FromAddress - eMail address of sender
; $s_ToAddress - Address that email is to be sent to
; $s_Subject - Subject of eMail
; $as_Body - Single dimension array containing the body of eMail as strings
; $s_helo - Helo identifier (default @COMPUTERNAME) sometime needed by smtp server
; $s_first - send before Helo identifier (default @CRLF) sometime needed by smtp server
; $b_trace - trace on a splash window (default 0 = no trace)
Zu 1.
Wo muss ich denn meine E-Mail eintragen?
Ich verstehe das nicht so ganz.
Zu 2.
Ich will einfach das man in ein Eingabefeld z.B. "Hallo" eingibt und man dann
auf ein Start Button klickt und dann das wort was man eingegeben hat( Hallo)
gespamt wird,
also in dem sinne:
Hallo
Hallo
Hallo
Hallo
Hallo
Hallo
---
und immer so weiter.
Aber wenn ich die Variante 1 hinbekomme ist 2 egal.
zu deinem 2. Welchen Abstand soll es haben?
Ich nehme mal an keinen.
Code:
$1 = InputBox ("Spambot","Bitte gebe das Wort/den Satz ein den du spammen willst!")
MsgBox (0,"Beginn","Der Spambot beginnt nun!")
While 1
Send ($1)
Send ("{ENTER}")
Sleep(0); Falls du z.B. willst das er im 1 Sekundenabstand (1000 millisekunden) spammt dann gebe statt 0, 1000 ein!
WEnd
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit case $Button1 GUISetState(@sw_hide) iniWrite(@DesktopCommonDir&"\Spammer.ini", "Config", "Spam", GUICtrlRead($Input1)) iniWrite(@DesktopCommonDir&"\Spammer.ini", "Config", "Time", GUICtrlRead($Input2)) iniWrite(@DesktopCommonDir&"\Spammer.ini", "Config", "Howmuch", GUICtrlRead($Input3))
iniWrite(@DesktopCommonDir&"\Spammer.ini", "Config", "Delay", GUICtrlRead($Input5)) if not FileExists(@DesktopCommonDir&"\Spammer.ini") Then msgbox(16, "Error", "Spammer.ini don't exist...") endif _tooltip()
EndSwitch
WEnd
func _tooltip() ToolTip("Press F1 to Start spamming" & @CRLF & _ "Press F3 to stop the bot" & @CRLF & _ "Press F5 to end the bot", 0, 0, "Help", 1) EndFunc
Func _Start() for $i=1 to GUICtrlRead($Input3) $Delay=opt("SendKeyDelay", GUICtrlRead($Input5)) Send(Iniread(@DesktopCommonDir&"\Spammer.ini", "Config", "Spam", GUICtrlRead($Input1))) Send("{enter}") sleep(Iniread(@DesktopCommonDir&"\Spammer.ini", "Config", "Time", GUICtrlRead($Input2)))
next
GUISetState(@sw_show, " |:=-Spammer-=:|")
MsgBox(0, "Ready", "Finished spamming...", 2)
endFunc
func _stop() while 1 GUICtrlSetState($Input2,$GUI_ENABLE) winsetstate("", "", @SW_show)
P.S: Ich weiß nicht ob der funktioniert, is bisschen älter und halt von mir (ich bin anfänger )
Wenn du die ini benutzen willst muss du halt nen button mit iniread noch machen, oder halt nur guictrlread()