Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:44

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

Advertisement



[Question/Request]{WinHttp} - Login

Discussion on [Question/Request]{WinHttp} - Login within the AutoIt forum part of the Coders Den category.

Reply
 
Old 02/17/2012, 02:01   #16
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
Quote:
Originally Posted by isaias View Post
wenn du probleme mit dem login hast kann ich dir weiterhelfen. ich habe nähmlich ein eigenes loginsystem gemacht und es funzt super. hab auch noch viele andere sachen noch gemacht ,wie z.b spambots,programmspambot(spamt einen mit programmen zu(öffnet sie)),ein script mit den man laufwerk öffnen kann,programmöffner(mit buttons zum öffnen),aimbot (pixelsearchbot) und metin2 angelbot. wenn ich das posten soll alles ,sagt mir bescheid (wie mann z.b auch spoiler macht ,weil ich nirgens geguckt hab wie man spoiler macht). mein loginsystem geht auf jeden fall so:

$inputusername = InputBox("Geben sie ihren benutzernamen ein","Benutzername:")
$inputpassword = InputBox("Geben sie ihr passwort ein","passwort:","","*")
If $inputusername = "yourusername" Or "someoneothersusername" And $inputPassword = "yourpassword" Or "someoneotherspassword" Then
MsgBox(0,"Erfolgreich eingeloggt","Sie haben sich erfolgreich eingeloggt!")
run("taskmgr.exe")
Else
MsgBox(0,"Login fehlgeschlagen!","Username oder Passwort sind falsch")
EndIf

Ich weiß nicht ob ich lachen oder weinen soll.
MoepMeep is offline  
Old 02/17/2012, 17:27   #17
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 0
The Black Market: 517/0/0
Join Date: Jan 2012
Posts: 16,497
Received Thanks: 3,524
Quote:
Originally Posted by MoepMeep View Post
Ich weiß nicht ob ich lachen oder weinen soll.
Ich weiß nicht, ob ich dich Reporten soll oder einfach nur ignorieren.

Quote:
Originally Posted by FichteFoll View Post
Dein Script funktioniert Gut, aber jedoch komme ich mich nicht mit dem Script zurecht. o_o
So unübersichtlich.
Ist es möglich mit WinHttp einen Treasure Creator zu machen ?
Ich habs mal mit dem hier probiert, aber irgendwie klappt das nicht.

Code:
Func Truhen()

$hSession = _WinHttpOpen("Mozilla/5.0 (Windows NT 6.0; rv:10.0.1) Gecko/20100101 Firefox/10.0.1")
$hConnect = _WinHttpConnect($hSession, "www.elitepvpers.com")

$sHTML = _WinHttpSimpleRequest($hConnect, "GET", "forum/" )
$sHTML = _WinHttpSimpleRequest($hConnect, "POST", "theblackmarket/treasures/", "", "title=" & GUICtrlRead($Input4) & "content=" & GUICtrlRead($Input5) & "&cost=" & GUICtrlRead($Input6) & "&createtreasure=Submit")
$aReturn = StringRegExp($sHTML, '<span class="gold">([^<]+)', 3)

EndFunc
Lumi is offline  
Old 02/17/2012, 18:53   #18

 
Njahs's Avatar
 
elite*gold: 574
Join Date: Nov 2010
Posts: 2,498
Received Thanks: 726
Ich könnte dir allgemein, aber auch bei WinHTTP behilflich sein,
Lumi'.
Add mich in Skype, dort kann man es dir besser erklären.
Skype: xNjahs
Njahs is offline  
Old 02/17/2012, 23:21   #19
 
elite*gold: 0
Join Date: Mar 2011
Posts: 8,645
Received Thanks: 3,454
Quote:
Originally Posted by Lumi' View Post
Ich weiß nicht, ob ich dich Reporten soll oder einfach nur ignorieren.



Dein Script funktioniert Gut, aber jedoch komme ich mich nicht mit dem Script zurecht. o_o
So unübersichtlich.
Ist es möglich mit WinHttp einen Treasure Creator zu machen ?
Ich habs mal mit dem hier probiert, aber irgendwie klappt das nicht.
Dashier sollte funktionieren.
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <WinHttp.au3>

Global $nLogin False

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Treasure"227327363462)
$ID GUICtrlCreateLabel("ID"8161517)
$Label1 GUICtrlCreateLabel("PW"8402217)
$Label2 GUICtrlCreateLabel("Treasure Name:"8968017)
$Input1 GUICtrlCreateInput(""321612121)
$Input2 GUICtrlCreateInput(""324012121$ES_PASSWORD)
$Label3 GUICtrlCreateLabel("Treasure Content"81208617)
$Label4 GUICtrlCreateLabel("Treasure Cost"81447017)
$Input3 GUICtrlCreateInput(""969612121)
$Input4 GUICtrlCreateInput(""9612012121)
$Input5 GUICtrlCreateInput(""9614412121)
$Label5 GUICtrlCreateLabel(""86417517)
$Button1 GUICtrlCreateButton("Login"81769925$WS_GROUP)
$Button2 GUICtrlCreateButton("Create Treasure"1201769925$WS_GROUP)
$Edit1 GUICtrlCreateEdit(""8208209113)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
         
Case $GUI_EVENT_CLOSE
            
If $nLogin True Then
               _WinHttpCloseHandle
($hSession)
               
_WinHttpCloseHandle($hConnect)
            EndIf
            Exit
         Case 
$Button1
            $hSession 
_WinHttpOpen("Mozilla/5.0 (Windows NT 6.0; rv:10.0.1) Gecko/20100101 Firefox/10.0.1")
            
$hConnect _WinHttpConnect($hSession"www.elitepvpers.com")
            
$sHTML _WinHttpSimpleRequest($hConnect"POST""forum/login.php?do=login""""vb_login_username=" GUICtrlRead($Input1) & "&vb_login_password=" GUICtrlRead($Input2) & "&cookieuser=1&s=&securitytoken=guest&do=login")
            If 
StringInStr($sHTML"<strong>Thank you for logging in, "Then
               GUICtrlSetData
($Label5,"Login successful!")
               
GUICtrlSetData($Edit1,"Login successful"&@CRLF"1")
               
$nLogin True
            
Else
               
MsgBox(0,"Login failed","Login failed!")
               
GUICtrlSetData($Label5,"Login failed!")
            EndIf
         Case 
$Button2
            
If $nLogin True Then
               $sHTML 
_WinHttpSimpleRequest($hConnect"POST""theblackmarket/treasures/""","title="&GUICtrlRead($Input3)&"&content="&GUICtrlRead($Input4)&"&cost="&GUICtrlRead($Input5)&"&createtreasure=Submit")
               
GUICtrlSetData($Edit1,"Treasure created!"&@CRLF"1")
            Else
               
MsgBox(0,"Not logged in!","You have to login")
            EndIf
    EndSwitch
WEnd 
Freddy​ is offline  
Thanks
1 User
Old 02/19/2012, 00:42   #20
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 0
The Black Market: 517/0/0
Join Date: Jan 2012
Posts: 16,497
Received Thanks: 3,524
Ich verstehe diesen Teil nicht, aber es geht und sieht übersichtlich aus! Danke. ;3
Lumi is offline  
Old 02/19/2012, 01:53   #21
 
elite*gold: 0
Join Date: Mar 2011
Posts: 8,645
Received Thanks: 3,454
Wenn du willst schreibe ich dir noch dran welcher Befehl was macht
Freddy​ is offline  
Old 02/19/2012, 14:03   #22
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 0
The Black Market: 517/0/0
Join Date: Jan 2012
Posts: 16,497
Received Thanks: 3,524
Klingt Gut. ;3
Schreib mir das aber per PN.
Lumi is offline  
Reply


Similar Threads Similar Threads
WinHTTP Proxy Problem
10/30/2011 - AutoIt - 8 Replies
Hallo com, habe folgendes Problem bei der Proxy Einstellung mit WinHTTP. Mein Code sieht wie folgt aus: #include <WinHTTP.au3> #include <String.au3> #include <Array.au3> $Proxy = "59.66.63.182:8909"
Help with winhttp
09/21/2011 - AutoIt - 5 Replies
Hi there, I'm trying to learn winhttp functions from winhttp udf. I would like to automate facebook forms with it. but i don't know how to get fb forms info for headers and etc. does anyone here knows a good documentation or even better a working example code for fb? -Note: i've tried wireshark but it doesnt support my network interface.
Youtube Login mit WinHTTP - was mach ich falsch ?
08/03/2011 - AutoIt - 2 Replies
Hallo Leute, Und zwar geht es darum das ich mich gerne mit WinHttp bei Youtube einloggen möchte, um dann meine Nachrichten dort abrufen zu können. Jedoch scheitere ich bereits bei dem Login zu Youtube, welcher wohl etwas komplizierter erscheint. Zu aller erst bin ich auf YouTube - Broadcast Yourself gegangen, dort dann auf "Anmelden". Nun habe ich mit Live Http Headers vom Firefox angefangen mitzuschneiden, als ich auf den Loginbutton gedrückt habe. ...
[Frage] Winhttp
11/14/2010 - AutoIt - 1 Replies
Ich wollte mich ein wenig mit Winhttp vertraut machen und habe mir ein Tutorial durchgelesen...... Das hier soll eine einlogg funktion sein.... nur ich krieger immer nur diese Fehlermeldung......: Wenn ich das Script starte passiert ..nichts... auser das ich halt diese Fehlermeldung in die Zwischenablage bekomme... Ich hoffe ihr könnt mir helfen :) Das Spiel heist Die-Staemme Source vom Script :
WINHTTP.dLL
07/02/2006 - Technical Support - 2 Replies
Hilfe Ich da ich heute Formatiert habe und alles neu drauf laden musste usw..... hab ich nun ein neues problem MSN will nicht Starten begründung winHTTP.dll wurde nicht gefunden!



All times are GMT +1. The time now is 00:45.


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.