Register for your free account! | Forgot your password?

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

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

Advertisement



~Need Help~

Discussion on ~Need Help~ within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 714
Received Thanks: 842
~Need Help~

Heii Leute !

Also folgende Sache,Ich wollte einen Passwort
Return Tool machen. Es ist für einen eigenen Pserver gedacht

Wenn man seine Daten vergessen Hat.Kann er sie mit diesem Tool,die Anforderung aufs zurücksetzen anfordern.

Beispiel:
Spieler: Michael

Jmd. hat ihn gehackt er will sein acc back

Also gibt er in das Tool ein :

AccName
Seine - Email

Diese 2 Sachen sollen nun an meine E-mail gesendet werden
wenn er auf Ok ! drückt

Wie geht das ? <3
Flasher2 is offline  
Old 05/20/2011, 16:40   #2
 
amnesi's Avatar
 
elite*gold: 25
Join Date: Jun 2010
Posts: 1,076
Received Thanks: 290
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

Global $oMyRet[2]
Global 
$oMyError ObjEvent("AutoIt.Error""MyErrFunc")

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Email versender")
$Input1 GUICtrlCreateInput(""84012121)
$Input2 GUICtrlCreateInput(""2484012121)
$Label1 GUICtrlCreateLabel("Mail sever: Für www.web.de ist er smtp.web.de "81622917)
$Label2 GUICtrlCreateLabel("Name des Absenders"2481610517)
$Label3 GUICtrlCreateLabel("Absender email addresse"87212217)
$Input3 GUICtrlCreateInput(""89612121)
$Input4 GUICtrlCreateInput(""2489612121)
$Label4 GUICtrlCreateLabel("Empfänger email addresse"2487212817)
$Input5 GUICtrlCreateInput(""815212121)
$Label5 GUICtrlCreateLabel("Betreff"81283517)
$Label6 GUICtrlCreateLabel(" Text  "2481283417)
$Input6 GUICtrlCreateInput(""24815212121)
$Label7 GUICtrlCreateLabel("Nochmal Absender email"818412117)
$Input7 GUICtrlCreateInput(""820812121)
$Input8 GUICtrlCreateInput(""24820812121)
$Label8 GUICtrlCreateLabel("Passwort der Absender email"24818414017)
$Button1 GUICtrlCreateButton("Email versenden"152248100250)
$Button2 GUICtrlCreateButton("Abbrechen"31225675250)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            $rc 
_INetSmtpMailCom(GUICtrlRead$Input1),GUICtrlRead($Input2),GUICtrlRead($Input3), GUICtrlRead($Input4), GUICtrlRead($Input5), GUICtrlRead($Input6), """",""GUICtrlRead($Input7), GUICtrlRead($Input8))
            If @
error then
                 msgbox
(0,"Error sending message","Error code:" & @error "  Description:" $rc)
            EndIf
        Case 
$Button2
            
Exit
    EndSwitch
WEnd




Func _INetSmtpMailCom
($s_SmtpServer$s_FromName$s_FromAddress$s_ToAddress$s_Subject ""$as_Body ""$s_AttachFiles ""$s_CcAddress ""$s_BccAddress ""$s_Username ""$s_Password "")
    
$objEmail ObjCreate("CDO.Message")
    
$objEmail.From '"' $s_FromName '" <' $s_FromAddress '>'
    
$objEmail.To $s_ToAddress
    Local $i_Error 
0
    Local $i_Error_desciption 
""
    
If $s_CcAddress <> "" Then $objEmail.Cc $s_CcAddress
    
If $s_BccAddress <> "" Then $objEmail.Cc $s_BccAddress
    $objEmail
.Subject $s_Subject
    
If StringInStr($as_Body,"<") and StringInStr($as_Body,">"Then
        $objEmail
.HTMLBody $as_Body
    
Else
        
$objEmail.Textbody $as_Body & @CRLF
    
EndIf
    If 
$s_AttachFiles <> "" Then
        Local $S_Files2Attach 
StringSplit($s_AttachFiles";")
        For 
$ex 1 To $S_Files2Attach[0]
            
$S_Files2Attach[$x] = _PathFull ($S_Files2Attach[$x])
            If 
FileExists($S_Files2Attach[$x]) Then
                $objEmail
.AddAttachment ($S_Files2Attach[$x])
            Else
                
$i_Error_desciption $i_Error_desciption & @lf 'File not found to attach: ' $S_Files2Attach[$x]
                
SetError(1)
                return 
0
            
EndIf
        
Next
    
EndIf
    
$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
    $objEmail
.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $s_SmtpServer
    $objEmail
.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
;Authenticated SMTP
    
If $s_Username <> "" Then
        $objEmail
.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
        $objEmail
.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = $s_Username
        $objEmail
.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = $s_Password
    
EndIf
;
Update settings
    $objEmail
.Configuration.Fields.Update
Sent the Message
    $objEmail
.Send
    
if @error then
        SetError
(2)
        return 
$oMyRet[1]
    EndIf
EndFunc;==>_INetSmtpMailCom
;
;
Com Error Handler
Func MyErrFunc
()
    
$HexNumber Hex($oMyError.number8)
    
$oMyRet[0] = $HexNumber
    $oMyRet
[1] = StringStripWS($oMyError.description,3)
    
ConsoleWrite("### COM Error !  Number: " $HexNumber "   ScriptLine: " $oMyError.scriptline "   Description:" $oMyRet[1] & @LF)
    
SetError(1); something to check for when this function returns
    
Return
EndFunc;==>MyErrFunc 
Wenn du dich halbwes mit AutoIt auskennst müsstest du dieses Script
ein bisl verändern können, so das es seine Funktion erfüllt
amnesi is offline  
Old 05/20/2011, 21:21   #3
 
WennsHilft's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 341
Received Thanks: 67
Quote:
Originally Posted by amnesi View Post

Wenn du dich halbwes mit AutoIt auskennst müsstest du dieses Script
ein bisl verändern können, so das es seine Funktion erfüllt
Das hat er gewollt, das ihm jemand nen fertigen Acc Stealer gibt.

einzigster tip von mir MailGenerator.exe (youtube)
WennsHilft is offline  
Reply




All times are GMT +2. The time now is 02:07.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.