Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 13:21

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

Advertisement



Packet an Server übermitteln?

Discussion on Packet an Server übermitteln? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 83
Join Date: Nov 2009
Posts: 9
Received Thanks: 1
Packet an Server übermitteln?

Hallöle zusammen.
Ich bin dabei einen Bot für ein Browsergame zu schreiben.
Nun stehe ich vor einem Problem:

Ich bin eingeloggt, habe eine Seite aufgerufen, suche aus dem Quelltext etwas. Nun kommt ein Javascript + xajax ins Spiel. Ich muss dem Server ein bestimmtes Packet übermitteln (welches ich weiß). Darauf gibt er mir eine Antwort in Form einer Seite halt, wie es nunmal normal ist. Nun weiß ich nicht wie genau ich das Packet übermitteln muss, damit es richtig ankommt & wie ich die Antwort vom Server z.B. in eine .txt Datei aufm PC speicher. Ausserdem weiß ich auch nicht so genau, wie ich an die Cookies komme, die ich mitübermitteln muss (rot makiert).
So sieht das Paket aus (bestimmte Sachen zensiert :>):


POST /***.php HTTP/1.1
Host: ***.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11 ( .NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Method: POST ***.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer:
Content-Length: 62
Cookie: <hier die cookies>
Pragma: no-cache
Cache-Control: no-cache
xajax=search&xajaxr=***&xajaxargs[]=***&xajaxargs[]=***


Wer mir helfen kann ist mein Gott!
jumpy2k3 is offline  
Reply




All times are GMT +2. The time now is 13:21.


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.