Pages:
Author

Topic: WTB | directory.io php script (Read 2664 times)

full member
Activity: 131
Merit: 100
June 30, 2014, 02:09:29 PM
#21
it's look like you using PHPCoinAddress... right?
legendary
Activity: 1260
Merit: 1019
June 30, 2014, 01:52:35 PM
#20
Code:

if ( defined 'MAX_BASE' ) && MAX_BASE != 256 )
  { die ( 
'ERROR: MAX_BASE must be 256.' ); }
else
 { 
define 'MAX_BASE'256 ); }

if ( !
defined 'USE_EXT' ) )
{
  if ( 
extension_loaded 'gmp' ) )
    { 
define 'USE_EXT''GMP' ); }
  else if ( 
extension_loaded 'bcmath' ) )
    { 
define 'USE_EXT''BCMATH' ); }
  else
    { die ( 
'GMP or BCMATH required' ); }
}
[...]
full member
Activity: 131
Merit: 100
June 30, 2014, 01:36:28 PM
#19
require_once ( 'Coin.php' );
coin.php it's part from phpecc system?
legendary
Activity: 1260
Merit: 1019
June 30, 2014, 01:28:57 PM
#18
Code:

require_once ( 'Coin.php' );

$perpage 128;
$privBin '';
$start 1;
if ( 
$_GET["p"] == "random" )
{
  
$start mt_rand 00xff $perpage );
  for ( 
$i 0$i 31$i++ )
  { 
    
$privBin .= chr mt_rand 0$i 0xff 0xfe ) );
  }
}
elseif ( 
$_GET["p"] == "last" )
{
 
// FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFE BAAE DCE6 AF48 A03B BFD2 5E8C D036 4141
  
for ( $i 0$i 15$i++ )
  { 
    
$privBin .= chr 0xff );
  }
  
$privBin .= chr 0xFE );
  
$privBin .= chr 0xBA );
  
$privBin .= chr 0xAE ); 
  
$privBin .= chr 0xDC );
  
$privBin .= chr 0xE6 );
  
$privBin .= chr 0xAF );
  
$privBin .= chr 0x48 );
  
$privBin .= chr 0xA0 );
  
$privBin .= chr 0x3B );
  
$privBin .= chr 0xBF );
  
$privBin .= chr 0xD2 );
  
$privBin .= chr 0x5E );
  
$privBin .= chr 0x8C );
  
$privBin .= chr 0xD0 );
  
$privBin .= chr 0x36 );
  
$privBin .= chr 0x41 );
  
$start 0x41 $perpage /*+ 1*/;
}
else
{
  for ( 
$i 0$i 31$i++ )
  { 
    
$privBin .= chr );
  }
}

print 
"";
print 
"Bitcoin private key database";
print 
"";
print 
"[first page] [random page] [last page]
"
;
print 
"Donations welcome: 18oiqnMVQfi1ZgYG24wEjkForLwTNchyMs
"
;
print 
"
";
print 
"Private Key                                            Address
"
;

$secp256k1 = new CurveFp 
       
'115792089237316195423570985008687907853269984665640564039457584007908834671663''0''7' );
$secp256k1_G = new Point $secp256k1,
       
'55066263022277343669578718895168534326250603453777594175500187360389116729240',
       
'32670510020758816978083085130507043184471273380659243275938904335757337482424',
       
'115792089237316195423570985008687907852837564279074904382605163141518161494337' );

$dat '';
$index 1;

for ( 
$i $start$i $start $perpage$i++ )
{
  
$coin CoinAddress::bitcoin $privBin chr $i ), $secp256k1_G );
  print 
$coin['private']     . "    $coin['public'] ."\">" $coin['public'] . "
"
;
  if ( 
$i $start )
    
$dat .= ", ";
  
$dat .=  "\"" $coin['public'] . "\": \"pagelabel#" $index "\"";
  
$index++;
}
if ( 
$_GET["labels"] == "true" )
{
  print 
"

{" 
$dat "}

"
;
}

print 
"



"
;
print 
"";
print 
"";

exit;
full member
Activity: 131
Merit: 100
June 30, 2014, 01:00:48 PM
#17
What your offer?  But if it phpecc it not good for me...
legendary
Activity: 1260
Merit: 1019
June 30, 2014, 12:13:03 PM
#16
Quote
HI friend, do you work with phpecc?
I am not a php-programmer.
I do not know what is "phpecc".
I've wrote this script half-year ago and forgot about it.
Wanna buy it?

full member
Activity: 131
Merit: 100
June 30, 2014, 10:56:04 AM
#15
What is the difference between an address and a compressed address?
There is no such term as "compressed address"
address is hash160 ( publickey )
but publickey has two representations - classic and compressed

So, for each privateKey (128-bit integer) you have two addresses


HI friend, do you work with phpecc?
legendary
Activity: 1260
Merit: 1019
June 30, 2014, 09:56:25 AM
#14
What is the difference between an address and a compressed address?
There is no such term as "compressed address"
address is hash160 ( publickey )
but publickey has two representations - classic and compressed

So, for each privateKey (128-bit integer) you have two addresses
hero member
Activity: 714
Merit: 500
June 30, 2014, 09:29:23 AM
#13
What is the difference between an address and a compressed address?
legendary
Activity: 1260
Merit: 1019
June 30, 2014, 05:05:04 AM
#12
http://amaclin.eu5.org/index.php
(sorry, only uncompressed, but it is not too difficult to add compressed form)
newbie
Activity: 6
Merit: 0
June 30, 2014, 03:52:22 AM
#11
escrow good for project, not for example code to test server response.
http://demo.scriptphp87.com/bitcoin/directory.io/
test on my host
full member
Activity: 131
Merit: 100
June 30, 2014, 03:49:47 AM
#10
escrow good for project, not for example code to test server response.
newbie
Activity: 6
Merit: 0
June 30, 2014, 03:45:21 AM
#9
Hello I want to buy directory.io script php.
please offer price Smiley
he is spamer
he are not agree use any service escrow.
I give me 3 option:
1. escrow in localbitcoins.com
2. paypal.com
3. create milestone in freelancer.
he is not agree, he's only want to see code and run out.

That's not true, I asked him a small code example that I can check if my server figures are sufficient. He wants 0.4BTC for a few lines of code. It's not normal, I'm looking for another programmer!
on Internet, escrow is service safe for both
full member
Activity: 131
Merit: 100
June 30, 2014, 03:39:56 AM
#8
Hello I want to buy directory.io script php.
please offer price Smiley
he is spamer
he are not agree use any service escrow.
I give me 3 option:
1. escrow in localbitcoins.com
2. paypal.com
3. create milestone in freelancer.
he is not agree, he's only want to see code and run out.

That's not true, I asked him a small code example that I can check if my server figures are sufficient. He wants 0.4BTC for a few lines of code. It's not normal, I'm looking for another programmer!
newbie
Activity: 6
Merit: 0
June 30, 2014, 03:37:11 AM
#7
Hello I want to buy directory.io script php.
please offer price Smiley
he is spamer
he are not agree use any service escrow.
I give me 3 option:
1. escrow in localbitcoins.com
2. paypal.com
3. create milestone in freelancer.
he is not agree, he's only want to see code and run out.
full member
Activity: 131
Merit: 100
June 29, 2014, 11:29:12 PM
#6
send me your skype username Smiley
newbie
Activity: 6
Merit: 0
June 29, 2014, 10:38:20 PM
#5
Hello I want to buy directory.io script php.
please offer price Smiley
yes do you have skype?
we can discuss more
full member
Activity: 131
Merit: 100
June 29, 2014, 10:32:16 PM
#4
offer please, what the server requements? only php?
hero member
Activity: 714
Merit: 500
June 29, 2014, 07:54:45 PM
#3
How much do you want to give for it?
full member
Activity: 131
Merit: 100
June 29, 2014, 06:12:18 PM
#2
^^ up!
Pages:
Jump to: