Hoi ppl,
gister was ik bezig met wat geklooi, ik wil zorgen dat 31 december om ongeveer 23.59 een botje inlogt @ My Vodafone, en gebruik maakt van de 2 gratis smsjes die je als vodafone klant krijgt.
En dan hoop ik dat via internet je er wel door komt
maargoed, moet het wel werken.
hier even het script:
Zekerheden:
- cookie.txt is schrijfbaar
- gegevens goed ingevult
Onzekerheden
- werkt cHTTP met httpS
- werkt de cookie wel over de verschillende sub domeinnamen
- Rememberme = 3, een value, gaat dat goed?
Het probleem: hij logt volgensmij niet goed in, heb op aanraden van Sjoerd even wat geouwehoert met die($compile);, maar als je hem op regel 23 zet, krijg je een witte pagina. dat maar verderop zegt hij weer dat je niet ingelogt bent.
Iemand die een mooi foutje ziet?
,Robbert
gister was ik bezig met wat geklooi, ik wil zorgen dat 31 december om ongeveer 23.59 een botje inlogt @ My Vodafone, en gebruik maakt van de 2 gratis smsjes die je als vodafone klant krijgt.
En dan hoop ik dat via internet je er wel door komt
maargoed, moet het wel werken.hier even het script:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]"chttp.php"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"MIJN NUMMER"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$wacht[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"WACHTWOORD"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$nummer[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"NUMMER ONTVANGER"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$sms[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"Dit is een uber test"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$provider[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"myvodafone"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$rememberme[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"3"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$cHTTP[/COLOR] [COLOR= #007700]= new[/COLOR] cHTTP[COLOR= #007700]([/COLOR][COLOR= #DD0000]https://login.vodafone.nl/signon[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$compile[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]exe[COLOR= #007700]();[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/eregi"]eregi[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"Goedenavond"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$compile[/COLOR][COLOR= #007700])) {[/COLOR]
[COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]cHTTP[COLOR= #007700]([/COLOR][COLOR= #DD0000]https://login.vodafone.nl/signon[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]exe[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]post[COLOR= #007700]([/COLOR][URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
[COLOR= #DD0000]username[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #0000BB]$naam[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]password[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #0000BB]$wacht[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]provider[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #0000BB]$provider[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]rememberme[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #0000BB]$rememberme[/COLOR]
[COLOR= #007700]));[/COLOR]
[COLOR= #0000BB]$compile[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]exe[COLOR= #007700]();
}[/COLOR]
[COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]cHTTP[COLOR= #007700]([/COLOR][COLOR= #DD0000]https://login.vodafone.nl/signon?provider=myvodafone[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$compile[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]exe[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]cHTTP[COLOR= #007700]([/COLOR][COLOR= #DD0000]https://my.vodafone.nl/prive/my_vodafone/gratis_sms_versturen[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$compile[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]exe[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]post[COLOR= #007700]([/COLOR][URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
[COLOR= #DD0000]phoneNumber[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #0000BB]$nummer[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]body[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #0000BB]$sms[/COLOR]
[COLOR= #007700]));[/COLOR]
[COLOR= #0000BB]$compile[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]exe[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]cHTTP[COLOR= #007700]([/COLOR][COLOR= #DD0000]https://my.vodafone.nl/prive/my_vodafone/gratis_sms_versturen[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$compile[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$cHTTP[/COLOR][COLOR= #007700]->[/COLOR]exe[COLOR= #007700]();[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]done.[/COLOR][COLOR= #007700];[/COLOR]
?> Zekerheden:
- cookie.txt is schrijfbaar
- gegevens goed ingevult
Onzekerheden
- werkt cHTTP met httpS
- werkt de cookie wel over de verschillende sub domeinnamen
- Rememberme = 3, een value, gaat dat goed?
Het probleem: hij logt volgensmij niet goed in, heb op aanraden van Sjoerd even wat geouwehoert met die($compile);, maar als je hem op regel 23 zet, krijg je een witte pagina. dat maar verderop zegt hij weer dat je niet ingelogt bent.
Iemand die een mooi foutje ziet?
,Robbert

ben ik nou zon lutser, zit me host niet mee of what else,