You last visited: Today at 15:54
Advertisement
Hilfe Javascript greasemonkey bot
Discussion on Hilfe Javascript greasemonkey bot within the Web Development forum part of the Coders Den category.
11/06/2011, 11:20
#1
elite*gold: 0
Join Date: Jan 2009
Posts: 229
Received Thanks: 60
Hilfe Javascript greasemonkey bot
HI,
ich habe diese 3 header:
PHP Code:
http : //*******.org/game.php?page=fleet1 POST / game . php ? page = fleet1 HTTP / 1.1 Host : *******. org User - Agent : Mozilla / 5.0 ( Windows NT 6.1 ; WOW64 ; rv : 7.0.1 ) Gecko / 20100101 Firefox / 7.0.1 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 Connection: keep-alive Referer: http://*******.org/game.php?page=fleet Cookie: __utma=4464932.1878588959.1320129011.1320405171.1320568948.12; __utmz=4464932.1320129011.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); 2Moons_31163730=079895cab99ff44c25fb8ea409b19331; __utmb=4464932.62.10.1320568948; pmenu=on; __utmc=4464932 Content-Type: application/x-www-form-urlencoded Content-Length: 169 galaxy=1&system=325&planet=6&planet_type=1&mission=0&maxepedition=4&curepedition=0&target_mission=0&ship208=0&ship210=0&ship217=0&ship218=0&ship219=0&ship220=1&ship224=0 HTTP/1.1 200 OK Date: Sun, 06 Nov 2011 09:50:04 GMT Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.5 Perl/v5.8.8 X-Powered-By: PHP/5.3.8 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT" Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8
PHP Code:
http : //*******.org/game.php?page=fleet2 POST / game . php ? page = fleet2 HTTP / 1.1 Host : *******. org User - Agent : Mozilla / 5.0 ( Windows NT 6.1 ; WOW64 ; rv : 7.0.1 ) Gecko / 20100101 Firefox / 7.0.1 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 Connection: keep-alive Referer: http://*******.org/game.php?page=fleet1 Cookie: __utma=4464932.1878588959.1320129011.1320405171.1320568948.12; __utmz=4464932.1320129011.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); 2Moons_31163730=079895cab99ff44c25fb8ea409b19331; __utmb=4464932.63.10.1320568948; pmenu=on; __utmc=4464932 Content-Type: application/x-www-form-urlencoded Content-Length: 113 fleet_group=0&mission=0&usedfleet=LGbkBagcBwVlZQgcBwR7sD%3D%3D&galaxy=1&system=325&planet=6&planettype=3&speed=10 HTTP/1.1 200 OK Date: Sun, 06 Nov 2011 09:50:13 GMT Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.5 Perl/v5.8.8 X-Powered-By: PHP/5.3.8 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT" Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8
PHP Code:
http : //*******.org/game.php?page=fleet3 POST / game . php ? page = fleet3 HTTP / 1.1 Host : *******. org User - Agent : Mozilla / 5.0 ( Windows NT 6.1 ; WOW64 ; rv : 7.0.1 ) Gecko / 20100101 Firefox / 7.0.1 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 Connection: keep-alive Referer: http://*******.org/game.php?page=fleet2 Cookie: __utma=4464932.1878588959.1320129011.1320405171.1320568948.12; __utmz=4464932.1320129011.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); 2Moons_31163730=079895cab99ff44c25fb8ea409b19331; __utmb=4464932.64.10.1320568948; pmenu=on; __utmc=4464932 Content-Type: application/x-www-form-urlencoded Content-Length: 141 galaxy=1&system=325&planet=6&planettype=3&speed=10&fleet_group=0&usedfleet=LGbkBagcBwVlZQgcBwR7sD%3D%3D&mission=11&metal=&crystal=&deuterium= HTTP/1.1 200 OK Date: Sun, 06 Nov 2011 09:50:20 GMT Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.5 Perl/v5.8.8 X-Powered-By: PHP/5.3.8 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT" Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8
Die Daten die dort übertragen werden möchte ich all 7 min neu übertragen via greasemonkey, javascript.
hier mein script :
PHP Code:
// ==UserScript== // @name Hipi // @namespace http://****.org/ // @description bot // @include http://****.org/game.php?* // ==/UserScript== int timer = 0 ; setTimeout ( "timer=1" , 395000 ); int galaxy = 1 ; int system = 325 ; int planet = 6 ; if( timer == 1 ) { link = "&galaxy=" + galaxy + "&system=" + system + "&planet=" + planet + "&planettype=3&target_mission=11" + "&ship220=1" ; " timer=0; }
11/06/2011, 13:24
#2
elite*gold: 9
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,811
#moved
11/07/2011, 14:40
#3
elite*gold: 9
Join Date: Dec 2009
Posts: 1,071
Received Thanks: 819
Der Cookie verändert sich bei jedem Login, das heist, du musst mindestens den Cookie beim Einloggen auslesen, was aber mit Javascript möglich sein sollte.
11/07/2011, 19:49
#4
elite*gold: 0
Join Date: Jan 2009
Posts: 229
Received Thanks: 60
könntest du mir evtl das komplette script schreiben?
11/07/2011, 20:32
#5
elite*gold: 9
Join Date: Dec 2009
Posts: 1,071
Received Thanks: 819
Sorry, aber das ist deine Aufgabe... Ansonsten gibts nen eigenen Sammelthread für Requests.
Bei google findest du dazu aber massenhaft Hilfe! Viel Spaß
Similar Threads
Javascript html hilfe
01/01/2012 - Web Development - 17 Replies
Hallo leute ich hab n großes problem und zwar will ich mit javascript programmieren lernen, ich hab dafür auch so ein kleines anleitungsheft, aber ich weiß nicht wo man das krigt, ob man des downloaden muss und falls nicht was muss ich ausführen wo die ganzen codes reinkommen? ich hab echt keine ahnung von programmieren also bitte hilfe.
[Biete]Greasemonkey sowie Javascript an.
05/18/2011 - Browsergames - 2 Replies
Da ich über 5 Jahre JS-Erfahrung habe und nun auch schon 2 Jahre Greasemonkey erfahrung habe (ja ist im groben und ganzen das Selbe bis auf auf einige Funktionen bzw Erweiterungen) würde ich gerne dies Anbieten hier im Forum.
Bis jetzt habe ich zwar nur Scripts für das Browsergame "Die-Stämme" erstellt dennoch sehe ich keine Probleme für andere Spiele welche anzufertigen, sofern das Spiel auch dieses unterstützt.
Ich werde keine Vorgefertigten Scripts updaten die nicht von mir selber...
[Javascript-Greasemonkey]Text ersetzen
05/14/2011 - Web Development - 0 Replies
Guten Abend Coders,
Ich hätte ne kleine Frage an euch, undzwar, ob ihr mir ein fertiges Beispielsource
für Greasemonkey schicken känntet.
Ein Java-Script, dass wenn man auf Google.de geht, dass "Deutschland"
in "Germany" ersetzetzt.
Wäre euch sehr dankbar!
Greasemonkey
03/10/2011 - elite*gold Trading - 3 Replies
Huhu
Suche jmd der sich mit Greasemonkey auskennt und Scripts schreiben kann.
Für nähere Informationen, was für ein Script und den Preis bitte PN.
Grüße
All times are GMT +2. The time now is 15:54 .