lifeCreative РусскийEnglish

Learn English, together with linguamania.ru .

Learn English, together with linguamania.ru .
08, сентября, 2008
   

Not so long ago stumbled upon on the interesting project Lingvamaniya .

essence of it - the study of English words with one like RPG, otgadyvaya words you receive balls, you can spend on shmotki =) a draft Deduct that he paid for a comfortable game are asked ~ $ 5 per month.

nothing's whack factitious service, wanted to get into the first line of the rating that I managed a couple of minutes.

Issledovav service, I discovered that all the letters and the correct answers are transmitted in clear in xml packages. Nabrosav the following script, I quickly fell in the first place, and which remained for the duration of the entire PRO account.


[PHP]
set_time_limit (0);
ignore_user_abort (true);

/ / You have to do to indicate your cookie
$ cookie = "sid = 657637149459e4605136cd0a576ec0c2 ";
/ / And how much you want to earn points
$ getnum = 200;

function getpage ($ testhost, $ url)
(
В В В  global $ cookie;
В  $ socket = fsockopen ($ testhost, 80, $ errno, $ errstr, 30);
В В В  if (! $ socket)
В В В В  (
В В В В В  echo ( "ERROR: ");
В В В В  )
В В В  else
В В В В  (
В В В В В  $ GET_query =
В В В В В  "GET ". $ Url. "HTTP/1.0 r n ".
В В В В В  "Accept: * / * r n ".
В В В В В  "Accept-Language: ru; q = 0.9 r n ".
В В В В В  "Accept-Charset: iso-8859-1, utf-8, utf-16, *; q = 0.1 r n ".
В В В В В  "Proxy-Connection: Keep-Alive r n ".
В В В В В  "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;. NET CLR 2.0.50727) r n ".
В В В В В  "Refferer: http://linguamania.ru/game r n ".
В В В В В  "X-Requested-With: XMLHttpRequest r n ".
В В В В В  "Host: ". $ Testhost. " R n ".
В В В В В  "Cookie: ". $ Cookie. " R n r n ";
В В В В В  fwrite ($ socket, $ GET_query);
В В В В В  while (! feof ($ socket))
В В В В В  (
В В В В В В  $ html_source .= (fgets ($ socket, 1024));
В В В В В  )
В В В В  )
В В В В  return $ html_source;
)
В 
for ($ a = 0; $ a <= $ getnum; $ a + +)
(
$ rand = rand (1111111111111111,9999999999999999);
$ quest = getpage ( "linguamania.ru ", "http://linguamania.ru/get_quest.php?0. ". $ rand);
preg_match ( "# # Ui ", $ quest, $ kind);
preg_match ( "# word en = '(.*) 'ru # Ui ", $ quest, $ word);

$ rand = rand (1111111111111111,9999999999999999);

If ($ kind [1] == "test ")
getpage ( "linguamania.ru ", "/ store_quest_result.php? 0. ". $ rand. "& kind = test & data = & errors_count = 0 & time = 0");
Else
getpage ( "linguamania.ru ", "/ serv / store_quest_result.php? 0. ". $ rand. "& kind = ". $ kind [1]. "& data = ". $ word [ 1]. "& Errors_count = 0 & time = 0");

Sleep (1);
)

echo ( "Work Finished ... ");

?>
[/ PHP]



But in general, very positive project, the developers want to wish good luck and development project.


  

 comments:
combatsxx
))

~~~~~~~~~~~~~
Creator
Черт, нифига себе! Да Вы - читер! :)
Ну и как это фиксить? Сколько не шифруй, JScript ведь все равно открытым остается...

~~~~~~~~~~~~~
madnet

Фиксить достаточно легко, для начала поставить ограничение на скорость запросов, при привышении которого выводить, скажем капчу, далее можно добавить рандомную информацию, которую тяжело учесть скриптом робота, можно мелкие хитрости добавить типа фреймов, которые браузер загрузит, а скрипт нет, вообще придумать здесь можно оочень много...

~~~~~~~~~~~~~
combatsxx
Разобрался
спасиб за скрипт

~~~~~~~~~~~~~
ScapaleXiS
Madnet молочага) Осталось написать в виде проги и продавать за энную сумму как чит :-D

~~~~~~~~~~~~~
Александр
Подскажи название сайта, для изучения нужен, не для хака!

~~~~~~~~~~~~~
Александр
:) вот дебил, в коде же есть, сорриии! :)))

~~~~~~~~~~~~~

 Send your comment:
Name:
Comment:

TOP TOPICS

c99madshell
madSS | Skanner site structure...
I love the magazine Hacker ?!
madSpamer script
Hack Search - search engine fo...
Flaine writes nonsense
Meylru ebnulos !?
Opening ...
Save Windows XP !
xss l

BUGS SEARCHhelp

MAIN PROJECTS

GmadS - Online web scanner
c99madshell - webshell
P2GmadGEN - Online requests generator
FREE SOCKS5 - free proxy servers
Mssql password decoder

FRIENDS

Translated with Google. Sorry for bad English.
RSS feed   RSS comments feed
| Life | Creative | © Powered and Designed by madnet. 2006-2011 year. © ICQ: 751777 madnet online