Jump to content

Recommended Posts

  • Active Members

Check_Socks_Online_1316466476710.png

+ needs curl :

<?php

set_time_limit(0);

error_reporting(0);

global $socks_list,$site,$sockstimeout,$paypaltimeout,$list,$lives;

$socks_list = $_POST["sockslist"];

if (strlen($socks_list)<1) {$socks_list = "82.67.164.189:55525\n71.229.119.8 11465\n67.81.180.167|59931\n211.189.18.165/5818\n";}

if($_POST["submit"]){

function getsocks($list)

{

preg_match_all("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}[:|-\s\/]\d{1,7}/", $list, $socks);

$socks = array_unique($socks[0]);

$socks2 = array();

For ($i=0;$i<count($socks);$i++)

{

if($_POST['port']){

If(stristr($socks[$i],$_POST['port1'])){

continue;

}

}

If (strlen($socks[$i]) > 7) $socks2[] = str_replace(array("|", "/", " ", "-"),':',$socks[$i]);

}

Return $socks2;

}

$socks_list = str_replace(" ",":",$socks_list);

$socks_list = str_replace("|",":",$socks_list);

$socks_list = str_replace("/",":",$socks_list);

$AllSocks = getsocks($socks_list);

$All = count($AllSocks);

$socks_list = "";

For ($i = 1; $i <= $All; $i++)

{

$socks_list .= $AllSocks[$i-1]."\n";

}

}

$site = $_POST["site"];

if (strlen($site)<1) {$site = "http://google.com/";}

$sockstimeout = $_POST["sockstimeout"];

if (!isset($sockstimeout)) {$sockstimeout = 3;}

?>

<title>-=[ Check Socks Online ]=-</title>

<style>body{

font-family:Tahoma;

font-size:12px;

background-color:#000000;

color:#FFFFFF;

}

a:link,a:visited,a:active{

font-family:Tahoma;

font-size:12px;

color:#C0C0C0;

text-decoration:none;

}

a:hover{

color:white;

text-decoration:none;

font-family:Tahoma;

font-size:12px;

}

table,tr,td{

padding:3px;

font-family:Tahoma;

font-size:12px;

background-color:#000000;

border:1px dotted #C0C0C0;

}

input{

padding:3px;

font-family:Tahoma;

font-size:12px;

background-color:#000000;

border:1px dotted #C0C0C0;

color:#C0C0C0;

}

textarea{

padding:3px;

font-family:Tahoma;

font-size:12px;

background-color:#000000;

border:1px dotted #C0C0C0;

color:#C0C0C0;

}

</style>

<script type="text/javascript">

function timsock(){

var slist = window.document.f.sockslist.value;

var fuck = slist.match(/\d{1,3}([.])\d{1,3}([.])\d{1,3}([.])\d{1,3}((:)|(\s)+)\d{1,8}/g );

if(fuck){

var list="";

for(var i=0;i<fuck.length;i++){

if(fuck.match(/\d{1,3}([.])\d{1,3}([.])\d{1,3}([.])\d{1,3}(\s)+\d{1,8}/g )){

fuck=fuck.replace(/(\s)+/,':');

}

list=list+fuck+"\n";

}

window.document.f.sockslist.value=list;

}

else{

window.document.f.sockslist.value="Not found";

}

}

</script>

</head>

<center><h1>-=[ Check Socks Online ]=-</h1></center>

<form action="" method="post" name="f">

<center><textarea name="sockslist" cols="150" rows="10"><?=$socks_list?></textarea></center>

<div align='center'>

Destination : <input type="text" name="site" size="30" maxlength="200" value="http://google.com" /> -

Del Port : <input type=text size=9 name=port1 value= 1080,8080 ><input type=checkbox name=port> - Sock Time-Out : <select name="sockstimeout" ><option value="10" <?If ($sockstimeout == 10) echo 'selected';?> >10s</option><option value="9" <?If ($sockstimeout == 9) echo 'selected';?> >9s</option><option value="8" <?If ($sockstimeout == 8) echo 'selected';?> >8s</option><option value="7" <?If ($sockstimeout == 7) echo 'selected';?> >7s</option><option value="6" <?If ($sockstimeout == 6) echo 'selected';?> >6s</option><option value="5" <?If ($sockstimeout == 5) echo 'selected';?> >5s</option><option value="4" <?If ($sockstimeout == 4) echo 'selected';?> >4s</option><option value="3" <?If ($sockstimeout == 3) echo 'selected';?> >3s</option><option value="2" <?If ($sockstimeout == 2) echo 'selected';?> >2s</option><option value="1" <?php If ($sockstimeout == 1) echo 'selected';?> >1s</option></select> -

<font color=yellow>Clear Paypal</font> <input name="Clear" type="checkbox" id="Clear" <?php if($_POST['Clear']){ echo 'checked'; } ?>/>

- PP Time-Out : <input name="timeoutpp" type="text" value=5 size=3 /><br><br>

<input type="submit" value=" Submit !!! " name="submit" onClick="timsock()"/>

</div>

</form>

<?php

if($_POST["submit"]){

$died = "";

function flush_buffers(){

ob_end_flush();

ob_flush();

flush();

ob_start();

}

function grabdb($string, $start, $end){

$string = " ".$string;

$ini = strpos($string,$start);

if ($ini == 0) return "";

$ini += strlen($start);

$len = strpos($string,$end,$ini) - $ini;

return substr($string,$ini,$len);

}

function _checkClearPP($socks){

$cookie = md5(time()).'_pp.txt';

fclose(fopen($cookie,'w'));

$postdata = "cmd=_s-xclick&hosted_button_id=DJX2GBY6CSR4N";

$url = 'https://www.paypal.com/cgi-bin/webscr';

$agent = "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.20 (KHTML, like Gecko) Chrome/11.0.672.2 Safari/534.20";

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_TIMEOUT, 100);

curl_setopt($ch, CURLOPT_USERAGENT, $agent);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);

curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

curl_setopt($ch, CURLOPT_PROXY, $socks);

curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);

curl_setopt($ch, CURLOPT_POST,true);

curl_setopt($ch, CURLOPT_POSTFIELDS,$postdata);

curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);

curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);

$step2 = curl_exec($ch);

unlink($cookie);

if($step2 == false){

//return 'Curl error: ' . curl_error($ch);

$cl = 2;

}else{

if(stristr($step2,'Re-enter password')){

$cl = 1;

}else{

$cl = 0;

}

}

curl_close($ch);

//unlink($cookie);

return $cl;

}

function ip2location($ip){

$d = file_get_contents("http://api.ipinfodb.com/v3/ip-city/?key=5e9a99b4d163bc021ffc97ad634b941b7cbe9f1770ba0e04561f72a3c5770d87&ip=$ip");

$d = explode(";",$d);

$country_code = $d[3];

$country_name = $d[4];

$region_name = $d[5];

$city = $d[6];

$zippostalcode = $d[7];

$latitude = $d[8];

$longitude = $d[9];

$timezone = $d[10];

return array('ip' => $ip, 'country_code' => $country_code, 'country_name' => $country_name, 'RegionName' => $region_name, 'city' => $city, 'ZipPostalCode' => $zippostalcode, 'latitude' => $latitude, 'longitude' => $longitude, 'Timezone' => $timezone);

}

Function check($Socks,$site,$sockstimeout,$paypaltimeout){

$cookie_file_path = md5(microtime().rand(0,999)).'_cookie.txt';

$fp = fopen($cookie_file_path,'wb');

fclose($fp);

$curl = curl_init();

curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);

curl_setopt($curl, CURLOPT_HEADER, true);

curl_setopt($curl, CURLOPT_POST, true);

curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);

curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_file_path);

curl_setopt($curl, CURLOPT_COOKIEFILE, $cookie_file_path);

curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, 1);

curl_setopt($curl, CURLOPT_PROXY, $Socks);

curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);

curl_setopt($curl, CURLOPT_DNS_CACHE_TIMEOUT,1);

curl_setopt($curl, CURLOPT_TIMEOUT,$sockstimeout);

curl_setopt($curl, CURLOPT_CONNECTTIMEOUT,$sockstimeout);

curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");

$site .= "?".microtime();

curl_setopt($curl, CURLOPT_URL, $site);

$Exec = curl_exec($curl);

$info = curl_getinfo($curl);

$sock1 = explode(":",$Socks);

$PORT = $sock1[1];

$sock2 = $sock1[0];

$sock2 = str_replace(",", ".", $sock2);

$ip = ip2location($sock2);

$country_name = $ip['country_name'];

$region = $ip['RegionName'];

$city = $ip['city'];

$postal_code = $ip['ZipPostalCode'];

if ($country_name == "") $country_name = "Unknown";

if ($region == "") $region = "Unknown";

if ($city == "") $city = "Unknown";

if ($postal_code == "") $postal_code = "Unknown";

If ($Exec)

{

$times = $info['connect_time'];

if ($_POST['Clear']){

if(_checkClearPP($Socks) == 0){

$clpp = "<font color=green>Clear Paypal</font>";

}elseif(_checkClearPP($Socks) == 1){

$clpp = "<font color=red>Blacklist Paypal</font>";

}else{

$clpp = "<font color=darkchild>Unknow</font>";

}

$Result1 = "<font color='#00DB00'><b>Live</b></font> | <font color='#00DB00'>". $Socks ."</font> | <b>".$clpp."</b> | Times: <font color='yellow'>". $times ."s</font> | City: <font color='white'>". $city ."</font> | State: <font color='#56DB99'>". $region ."</font> | Zipcode: <font color='#FFA500'>". $postal_code ."</font> | Country: <font color='yellow'>". $country_name ."</font><br>";

}

else{

$Result1 = "<font color='#00DB00'><b>Live</b></font> | <font color='#00DB00'>".$Socks."</font> | Times: <font color='yellow'>".$times."s</font> | City: <font color='white'>".$city."</font> | State: <font color='#56DB99'>".$region."</font> | Zipcode: <font color='#FFA500'>".$postal_code."</font> | Country: <font color='yellow'>".$country_name."</font><br>";

}

}

else

{

$Result1 = "<font color='red'><b>Die</b></font> | <font color='#00DB00'>".$Socks."</font> | <font color=red>".curl_error($curl)."</font> | City: <font color='white'>".$city."</font> | State: <font color='#56DB99'>".$region."</font> | Zipcode: <font color='#FFA500'>".$postal_code."</font> | Country: <font color='yellow'>".$country_name."</font><br>";

}

curl_close($curl);

unlink($cookie_file_path);

return $Result1;

}

echo "<b><center>-=[Checking Socks with timeout $sockstimeout s ]=-</b><br></center>";

echo "<br><strong>Start Checking $All Socks...</strong><br><hr>";

for ($i=1;$i<=$All;$i++){

if (strlen($AllSocks[$i-1])>10)

{

$Socks = $AllSocks[$i-1];

$s = Check($Socks,$site,$sockstimeout,$paypaltimeout);

if(stristr($s,"<b>Live</b>") && stristr($s,"Clear Paypal")){

echo $i.' | '.$s;

$lives['cl'][] .= $s;

}elseif(stristr($s,"<b>Live</b>")){

echo $i.' | '.$s;

$lives['notcl'][] .= $s;

}

else{

echo $i.' | '.$s;

}

flush_buffers();

}

}

if(count($lives)>0){

echo "<br><strong>List Socks Live</strong></br><hr>";

if ($_POST['Clear']){

if(count($lives['cl'])>0){

foreach($lives['cl'] as $cl){

echo $cl;

}

}

if(count($lives['notcl'])>0){

foreach($lives['notcl'] as $notcl){

echo $notcl;

}

}

}else{

foreach($lives['notcl'] as $li){

echo $li;

}

}

}

}

?>

Sursa: Check Script

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...