Bitcoin Forum
April 27, 2024, 02:07:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 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 ... 74 »
  Print  
Author Topic: [ANN] FaucetBOX.com - API & faucet script, create your own crypto faucet  (Read 119977 times)
sofocles
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile WWW
November 11, 2014, 07:07:05 PM
 #81

You can try this version: http://s000.tinyupload.com/index.php?file_id=00145624559023713371
But it's not tested, so no guarantees.

It works smoothly. Thank you.

I make sustainable faucets (and other things). Bitmachine.org
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714226868
Hero Member
*
Offline Offline

Posts: 1714226868

View Profile Personal Message (Offline)

Ignore
1714226868
Reply with quote  #2

1714226868
Report to moderator
1714226868
Hero Member
*
Offline Offline

Posts: 1714226868

View Profile Personal Message (Offline)

Ignore
1714226868
Reply with quote  #2

1714226868
Report to moderator
Candystripes
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250

***THIS ACCOUNT IS NO LONGER ACTIVE***


View Profile
November 11, 2014, 08:54:22 PM
 #82

I'll make admin panel work without connection right after I migrate FaucetBOX.com to a new server Smiley

How much longer do you think that will take?

---------------------------------
No longer under the possession of Candystripes.
Account is currently dormant.
Superhitech
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile
November 11, 2014, 08:58:54 PM
 #83

When I try to sign up, it gives me wrong captcha even though it's right. (I double checked) help please!
ryukamiho
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
November 11, 2014, 08:59:02 PM
 #84

Microwallet not paying, Faucetbox offline. today is a really dark day for faucets o,.o

DISCIPLINA — The First Blockchain For HR & Education
From core developers of Cardano, PoS minting, unique Web Of Trust & Privacy algorithms. Be the first, join us!
  WEBSITE  TELEGRAM  ANN  BOUNTY  LINKEDIN  WHITEPAPER  Referral Program 5%
Candystripes
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250

***THIS ACCOUNT IS NO LONGER ACTIVE***


View Profile
November 11, 2014, 09:00:05 PM
 #85

When I try to sign up, it gives me wrong captcha even though it's right. (I double checked) help please!

Keep in mind he is switching servers, that may be part of the problem.

---------------------------------
No longer under the possession of Candystripes.
Account is currently dormant.
Superhitech
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile
November 11, 2014, 09:00:47 PM
 #86

When I try to sign up, it gives me wrong captcha even though it's right. (I double checked) help please!

Keep in mind he is switching servers, that may be part of the problem.

Ah ok. Maybe that's why.
sofocles
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile WWW
November 11, 2014, 09:17:58 PM
 #87

Are you changing fluzo condenser to the server???  Undecided


This could be a conspiracy to destroy the faucets.

I make sustainable faucets (and other things). Bitmachine.org
Bitcoin Hydrant
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile WWW
November 11, 2014, 09:48:34 PM
 #88

We added yesterday FaucetBox as dedicated page on our list. Hope we didn't bring bad luck to you  Wink

Happy faucets and good work Wink


Kazuldur (OP)
Legendary
*
Offline Offline

Activity: 971
Merit: 1000


View Profile
November 11, 2014, 09:53:42 PM
 #89

Update guys. I believe the migration is complete and the tests went fine. FaucetBOX.com should work again as soon as DNS updates. At least I hope so Smiley

Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
sofocles
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile WWW
November 11, 2014, 10:02:06 PM
 #90

Update guys. I believe the migration is complete and the tests went fine. FaucetBOX.com should work again as soon as DNS updates. At least I hope so Smiley

Crossing our fingers  Roll Eyes

I make sustainable faucets (and other things). Bitmachine.org
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 11, 2014, 10:03:53 PM
Last edit: November 11, 2014, 10:32:33 PM by NeedIfFindIt
 #91

Your faucets also got 9000+ hits from us during the last few days.

FaucetBox List

The most concerning thing is that white testing 1-2 days ago one of the faucets kept returning "Unknown Error". Allowing me to rerty 1 or 2 times before it returned success message.

When I checked the FaucetBox website I found 3 payment in a row from that faucet  Shocked Shocked Shocked

You really have to check your soft/api etc.


The other LOL thing is that today you have paid TWICE to the same users and I still see the amount as pending in FaucetBox Shocked

Just compare the top addresses:
https://blockchain.info/tx-index/2bc4e56a11a5d0778317404008b2a58a87d142635623b6b2853dacb287476470

https://blockchain.info/tx-index/102ce970ffea743285e14c73cd4de42edafd0459f563dbb65de5b4373eb40481

Yep, I was able to keep quiet about that  Roll Eyes Roll Eyes Roll Eyes Thanks for the free coffee, but FIX it or you will repeat the MtGox story!
sofocles
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile WWW
November 11, 2014, 11:28:59 PM
 #92

...

The other LOL thing is that today you have paid TWICE to the same users and I still see the amount as pending in FaucetBox Shocked

Just compare the top addresses:
https://blockchain.info/tx-index/2bc4e56a11a5d0778317404008b2a58a87d142635623b6b2853dacb287476470

https://blockchain.info/tx-index/102ce970ffea743285e14c73cd4de42edafd0459f563dbb65de5b4373eb40481

Yep, I was able to keep quiet about that  Roll Eyes Roll Eyes Roll Eyes Thanks for the free coffee, but FIX it or you will repeat the MtGox story!

This is a nice detail, for the inconveniences of the day.  0.21 bitcoins ($ 84) in total. It's not much and people appreciate it.

I make sustainable faucets (and other things). Bitmachine.org
sofocles
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile WWW
November 11, 2014, 11:42:35 PM
 #93

Update guys. I believe the migration is complete and the tests went fine. FaucetBOX.com should work again as soon as DNS updates. At least I hope so Smiley

Some faucets are working. Mine, unfortunately, not yet.

I make sustainable faucets (and other things). Bitmachine.org
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 11, 2014, 11:46:40 PM
Last edit: November 12, 2014, 01:04:04 AM by NeedIfFindIt
 #94

There are also some DB encoding issues. Roman-CATOШ became Roman-?Huh??


Update guys. I believe the migration is complete and the tests went fine. FaucetBOX.com should work again as soon as DNS updates. At least I hope so Smiley

Some faucets are working. Mine, unfortunately, not yet.

If it uses fsockopen you can put (temporary) directly the new IP instead of the domain name Wink

Actually I see the same issue appearing that MW had a week ago. PHP 5.4 and older are unable to connect using the domain name.

Here is my debug tool made to work with FaucetBox.

plumber-diag-tool-fb.php
Code:
<?php

  
echo '<pre>';
  echo 
'Plumber FB Diagnostic Tool 0.9b by NeedIfFindIt'."\n";
  echo 
"\n";
  echo 
'PHP Version: '.phpversion()."\n";
  echo 
'OPENSSL Version: '.OPENSSL_VERSION_TEXT."\n";
  echo 
'allow_url_fopen: '.((ini_get('allow_url_fopen')==1)?'Success':'<b style="color:red;">Fail</b>: Unable to connect. Solution:'."\n".'- Ask your host to enable allow_url_fopen')."\n";
  echo 
'DNS Response: '.((gethostbyname('faucetbox.com')=='faucetbox.com')?'<b style="color:red;">Fail</b>: Unable to resolve ':gethostbyname('faucetbox.com'))."\n";

  
$http_dns_ok=true;

  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTP ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: faucetbox.com\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('faucetbox.com'80$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' DNS: Unable to resolve'."\n";
      
$http_dns_ok=false;
    } else {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Moved Permanently')!==false) {
      echo 
'Success'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact support@faucetbox.com'."\n";
    }
  }

  
$ip_ok=false;
  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS - IP method ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: faucetbox.com\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://104.28.29.86'443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' SSL negotiation failure'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Invalid API key')!==false) {
      
$ip_ok=true;
      echo 
'Success'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact support@faucetbox.com'."\n";
    }
  }

  
$gethostbyname_ok=false;
  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS - gethostbyname method ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: faucetbox.com\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://'.gethostbyname('faucetbox.com'), 443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' SSL negotiation failure'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Invalid API key')!==false) {
      
$gethostbyname_ok=true;
      echo 
'Success'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact support@faucetbox.com'."\n";
    }
  }

  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: faucetbox.com\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://faucetbox.com'443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      if (
$http_dns_ok) {
        echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' SSL negotiation failure - Solution(s):'."\n";
        if (
version_compare(PHP_VERSION'5.5.0')<0) {
          echo 
'- Upgrade to PHP 5.5+ with OPENSSL 1.0.1+'."\n";
        }
        if (
$gethostbyname_ok) {
           echo 
'- Use the gethostbyname method'."\n";
        }
        if ((
$ip_ok)&&(!$gethostbyname_ok)) {
           echo 
'- Use the IP method'."\n";
        }
      } else {
        echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' DNS: Unable to resolve'."\n";
      }
    } else {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Invalid API key')!==false) {
      echo 
'Success'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact support@faucetbox.com'."\n";
    }
  }

  echo 
"\n";
  echo 
'If you are unable to help yourself please kindly post all the content above at: <a href="https://bitcointalk.org/index.php?topic=844119.0;all">https://bitcointalk.org/index.php?topic=844119.0;all</a>'."\n";
  echo 
'<b>Don\'t forget to delete this file.</b>';
  echo 
'</pre>';

?>


And sample result:
Code:
Plumber FB Diagnostic Tool 0.9b by NeedIfFindIt

PHP Version: 5.3.27
OPENSSL Version: OpenSSL 0.9.8zb 6 Aug 2014
allow_url_fopen: Success
DNS Response: 104.28.29.86

--- Trying FSOCKOPEN - HTTP ---
Success

--- Trying FSOCKOPEN - HTTPS - IP method ---
Success

--- Trying FSOCKOPEN - HTTPS - gethostbyname method ---
Success

--- Trying FSOCKOPEN - HTTPS ---
Fail: (0)  SSL negotiation failure - Solution(s):
- Upgrade to PHP 5.5+ with OPENSSL 1.0.1+
- Use the gethostbyname method
sofocles
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile WWW
November 12, 2014, 12:28:39 AM
 #95

104.28.29.86 is a Cloudflare DNS.

I make sustainable faucets (and other things). Bitmachine.org
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 12, 2014, 12:39:40 AM
 #96

104.28.29.86 is a Cloudflare DNS.

It is DNS response.

C:\Users\LOL>ping faucetbox.com

Pinging faucetbox.com [104.28.29.86] with 32 bytes of data:
Reply from 104.28.29.86: bytes=32 time=31ms TTL=51
Reply from 104.28.29.86: bytes=32 time=29ms TTL=51
...
sofocles
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile WWW
November 12, 2014, 12:45:34 AM
Last edit: November 12, 2014, 12:57:13 AM by sofocles
 #97

But that's because it uses the Cloudflare nameservers. Real IP of Faucetbox.com is 185.25.151.163.  He have other sites running in that ip.

[Knowing the directory in which the site is located would be possible to change the URL of the API in the file faucetbox.php and maybe get it to work]*

*yes, my english sucks. I am sorry.

On the other hand:
https://faucetbox.com/api/v1/ => {"status":404,"message":"Invalid API method"}

I wonder if this is okay because my faucet still not working.

I make sustainable faucets (and other things). Bitmachine.org
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 12, 2014, 12:51:39 AM
 #98

But that's because it uses the Cloudflare nameservers. Real IP of Faucetbox.com is 185.25.151.163.  He have other sites running in that ip.

Right, but if you want to make your website work before the DNS kicks in you have to choose one of them.

If you choose the real one 185.*.*.* and he moves in a week ... your website will stop again.
sofocles
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile WWW
November 12, 2014, 01:01:08 AM
 #99

Cloudflare does not allow direct IP access.

I make sustainable faucets (and other things). Bitmachine.org
Candystripes
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250

***THIS ACCOUNT IS NO LONGER ACTIVE***


View Profile
November 12, 2014, 01:02:56 AM
 #100

Cloudflare does not allow direct IP access.

http://iphostinfo.com/cloudflare/

---------------------------------
No longer under the possession of Candystripes.
Account is currently dormant.
Pages: « 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 ... 74 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!