Last active
December 19, 2015 13:49
-
-
Save blackhalt/5964943 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
die(); | |
# TVNET -- Dienas jautājums kukijaptaujas balsošana | |
# POC | |
# http://youtu.be/rq3oqS2TRmQ | |
# http://blackhalt.blogspot.com/2013/07/kukijbalsojumi.html | |
# Nesetojam Cookies vispār! | |
# Vienkāršs POST | |
$darba_direktorija='/zumm/'; | |
require_once($darba_direktorija.'curlclass.php'); | |
$cc = new cURL(); | |
for ($i = 1; $i <= 1000; $i++) { | |
$ck = $cc->post('http://www.tvnet.lv/zinas/poll_archive', "poll_question_id=XXXX&poll_answer_id=XXXXX"); | |
echo "$i\n"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment