- Katılım
- 30 Eki 2016
- Mesajlar
- 6,910
- Beğeniler
- 12
- Puanları
- 18,020
- Konum
- Zonguldak
- Ad Soyad
- Turhan Karabulut
- Meslek
- Emlak
- Yaş
- 45
Bir müşteriye bot yazacağımda linklerin kısaltıldığını farkettim bunun için ufak birşey yazmıştım. Umarım sizinde işinize yarar.
index.php
c.php
Demo:
index.php
Kod:
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Link.tl Bypass (PHP)</title>
</head>
<body>
<header>Link.tl Bypass :)</header>
<center><form id="form" method="post" action="c.php" class="topBefore">
<input id="url" name ="url" type="text" placeholder="URL Girin..."><br>
<input id="submit" type="submit" value="ÇÖZ!">
</form> </center>
</body>
</html>
c.php
Kod:
<?php
$linktl = $_POST['url'];
function baglanamca($site)
{
$ch = curl_init();
$hc = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.0.11172 Safari/537.36";
curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com');
curl_setopt($ch, CURLOPT_URL, $site);
curl_setopt($ch, CURLOPT_USERAGENT, $hc);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$site = curl_exec($ch);
curl_close($ch);
preg_match_all('@href\|(.*?)\|@si',$site,$lolo);
$linkid = $lolo[1][0];
$ch = curl_init();
$hc = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.0.11172 Safari/537.36";
curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com');
curl_setopt($ch, CURLOPT_URL, 'http://link.tl/fly/index4.php?lid='.$linkid);
curl_setopt($ch, CURLOPT_USERAGENT, $hc);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$site = curl_exec($ch);
curl_close($ch);
preg_match_all('@accept-charset="UTF-8"(.*?)target@si',$site,$lili);
$linkim2 = $lili[1][0];
preg_match_all('@<a href="(.*?)"@si',$linkim2,$lilili);
echo $lilili[1][0];
}
$coz = baglanamca($linktl);
echo '<center>'.$coz.'</center>';
?>
Demo:
You do not have permission to view link
Giriş yap veya üye ol.