Isaacdelly / Plutus

An automated bitcoin wallet collider that brute forces random wallet addresses
1.12k stars 521 forks source link

I'm blocked from bitaps.com #40

Closed sky305 closed 5 years ago

sky305 commented 5 years ago

Can someone look into this for me;

from my workstation; D:\downloads>ping bitaps.com

Pinging bitaps.com [188.226.138.244] with 32 bytes of data: Reply from 188.226.138.244: bytes=32 time=122ms TTL=46 Reply from 188.226.138.244: bytes=32 time=122ms TTL=46 Reply from 188.226.138.244: bytes=32 time=122ms TTL=46

from my IBM VM; root@ibm-dfw-dev1:~/src/Plutus# ping bitaps.com PING bitaps.com (198.211.122.103) 56(84) bytes of data.

ping 188.226.138.244 PING 188.226.138.244 (188.226.138.244) 56(84) bytes of data.

traceroute to bitapis.com (195.30.107.230), 30 hops max, 60 byte packets 1 169.254.199.98 (169.254.199.98) 1.920 ms 2.063 ms 2.251 ms 2 ae103.ppr02.dal13.networklayer.com (169.48.118.158) 1.027 ms ae103.ppr04.dal13.networklayer.com (169.48.118.162) 1.111 ms ae103.ppr03.dal13.networklayer.com (169.48.118.160) 1.086 ms 3 82.76.30a9.ip4.static.sl-reverse.com (169.48.118.130) 2.537 ms 88.76.30a9.ip4.static.sl-reverse.com (169.48.118.136) 0.984 ms 80.76.30a9.ip4.static.sl-reverse.com (169.48.118.128) 2.502 ms 4 ae17.cbs02.dr01.dal04.networklayer.com (169.45.18.42) 2.414 ms 5 6 7 ae9.bbr01.tl01.nyc01.networklayer.com (50.97.17.43) 43.828 ms 41.582 ms 44.044 ms 8 ae6-0.nyk10.core-backbone.com (198.32.160.234) 43.771 ms 43.759 ms 45.459 ms 9 ae7-2030.muc10.core-backbone.com (5.56.17.13) 128.881 ms 129.282 ms 127.274 ms 10 Cisco-M-XXXII-Te0-0-1-2-406.space.net (81.95.2.234) 130.182 ms 128.430 ms 129.260 ms 11 Cisco-M-L-Te1-1.Space.Net (185.54.120.9) 126.083 ms 126.076 ms 127.546 ms 12 M42-Po110-v15.Space.Net (195.30.3.74) 130.355 ms 130.400 ms 130.161 ms 13 14 15 *

was working well until about 2 days ago, VM is 169.62.248.195

Pyshark can you check it out for me ?

sky777 commented 5 years ago

Confirmed, my IP was blocked. I changed the IP and all is good, but we need to understand why the ip was blocked in the first place.

MisterTeo commented 5 years ago

Me too. I have static ip, and I'm blocked.

PsyShark commented 5 years ago

According to my assumptions on bitaps.com protection against DDoS attacks is triggered. On my processor (8700k), I get a response from bitaps.com that reports too many requests per second.

sky305 commented 5 years ago

Sounds like we need to put a rate-limit on it, as it seems if an IP Is blocked it's blocked forever.

sky305 commented 5 years ago

or possibly alternate the API for bitaps.com and blockain.info.

jamesyoungdigital commented 5 years ago

That's not a bad idea, you can get a fair amount of balance queries with blockchain.info, I've hammered away on that one before. I added a simple query to a bitcoin tool that uses their https://blockchain.info/rawaddr/'+a API. You can put in a hash160 or 1Btc... address I think. A drop in like this works for me using Python 3:

def get_balance(address):

    if blocked:
        try:
            response = requests.get("https://blockchain.info/rawaddr/{}".format(address))
            balance = response.json()['final_balance']
            return int(balance)
        except:
            return -1

    try:
        response = requests.get("https://bitaps.com/api/address/" + str(address))
        return int(response.json()['balance']) 
    except:
        return -1

Another idea is to try and parse the chainstate every now and then; the chainstate in the bitcoin full node directory only has addresses with balances, I checked that with my brainwallet address and it worked out. I saw my balance and freaked out. Haha.

Does this really use all CPU power? For instance, on a machine with 128 CPUs and 8 threads per CPU?

sky305 commented 5 years ago

Hi James,

Can you commit that code ?

Thanks!

On Fri, Nov 23, 2018 at 8:35 PM James Young notifications@github.com wrote:

That's not a bad idea, you can get a fair amount of balance queries with blockchain.info, I've hammered away on that one before. I added a simple query to a bitcoin tool that uses their https://blockchain.info/rawaddr/'+a API. You can put in a hash160 or 1Btc... address I think. A drop in like this works for me using Python 3:

def get_balance(address):

if blocked:
    try:
        response = requests.get("https://blockchain.info/rawaddr/{}".format(address))
        balance = response.json()['final_balance']
        return int(balance)
    except:
        return -1

try:
    response = requests.get("https://bitaps.com/api/address/" + str(address))
    return int(response.json()['balance'])
except:
    return -1

Another idea is to try and parse the chainstate every now and then; the chainstate in the bitcoin full node directory only has addresses with balances, I checked that with my brainwallet address and it worked out. I saw my balance and freaked out. Haha.

Does this really use all CPU power? For instance, on a machine with 128 CPUs and 8 threads per CPU?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Isaacdelly/Plutus/issues/40#issuecomment-441336037, or mute the thread https://github.com/notifications/unsubscribe-auth/ASuCwAC-fIGj4fDvnvAP8hGv_y-lMNpOks5uyKJrgaJpZM4YFmk8 .

jamesyoungdigital commented 5 years ago

Sure!

I'm just having a rest at pop's farm, so I might be a couple of hours.

Thanks! :)

On Sun, Nov 25, 2018 at 1:51 PM sky305 notifications@github.com wrote:

Hi James,

Can you commit that code ?

Thanks!

On Fri, Nov 23, 2018 at 8:35 PM James Young notifications@github.com wrote:

That's not a bad idea, you can get a fair amount of balance queries with blockchain.info, I've hammered away on that one before. I added a simple query to a bitcoin tool that uses their https://blockchain.info/rawaddr/'+a API. You can put in a hash160 or 1Btc... address I think. A drop in like this works for me using Python 3:

def get_balance(address):

if blocked: try: response = requests.get("https://blockchain.info/rawaddr/{} ".format(address)) balance = response.json()['final_balance'] return int(balance) except: return -1

try: response = requests.get("https://bitaps.com/api/address/" + str(address)) return int(response.json()['balance']) except: return -1

Another idea is to try and parse the chainstate every now and then; the chainstate in the bitcoin full node directory only has addresses with balances, I checked that with my brainwallet address and it worked out. I saw my balance and freaked out. Haha.

Does this really use all CPU power? For instance, on a machine with 128 CPUs and 8 threads per CPU?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Isaacdelly/Plutus/issues/40#issuecomment-441336037, or mute the thread < https://github.com/notifications/unsubscribe-auth/ASuCwAC-fIGj4fDvnvAP8hGv_y-lMNpOks5uyKJrgaJpZM4YFmk8

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Isaacdelly/Plutus/issues/40#issuecomment-441411232, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao5ZJ46BwBooxNV7nIvPfrwZccbI1JUBks5uygWpgaJpZM4YFmk8 .

jamesyoungdigital commented 5 years ago

Left a pull request in case anyone wants to test the code with 3 balance functions, in case we get blocked from calling the API.

There hasn't been significant testing yet, so please try it out and let me know what happens if you want to try the Plutus in my github repo.

jamesyoungdigital commented 5 years ago

Please don't merge pull request. I need to get my head around the globals with multithreading on CPUs. It's not working the way it's supposed to.

Will try to figure it out. Thanks...

sky305 commented 5 years ago

No worries, whenever you get a chance.

Thanks!

On Sat, Nov 24, 2018 at 9:56 PM James Young notifications@github.com wrote:

Sure!

I'm just having a rest at pop's farm, so I might be a couple of hours.

Thanks! :)

On Sun, Nov 25, 2018 at 1:51 PM sky305 notifications@github.com wrote:

Hi James,

Can you commit that code ?

Thanks!

On Fri, Nov 23, 2018 at 8:35 PM James Young notifications@github.com wrote:

That's not a bad idea, you can get a fair amount of balance queries with blockchain.info, I've hammered away on that one before. I added a simple query to a bitcoin tool that uses their https://blockchain.info/rawaddr/'+a API. You can put in a hash160 or 1Btc... address I think. A drop in like this works for me using Python 3:

def get_balance(address):

if blocked: try: response = requests.get("https://blockchain.info/rawaddr/{} ".format(address)) balance = response.json()['final_balance'] return int(balance) except: return -1

try: response = requests.get("https://bitaps.com/api/address/" + str(address)) return int(response.json()['balance']) except: return -1

Another idea is to try and parse the chainstate every now and then; the chainstate in the bitcoin full node directory only has addresses with balances, I checked that with my brainwallet address and it worked out. I saw my balance and freaked out. Haha.

Does this really use all CPU power? For instance, on a machine with 128 CPUs and 8 threads per CPU?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/Isaacdelly/Plutus/issues/40#issuecomment-441336037 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/ASuCwAC-fIGj4fDvnvAP8hGv_y-lMNpOks5uyKJrgaJpZM4YFmk8

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Isaacdelly/Plutus/issues/40#issuecomment-441411232, or mute the thread < https://github.com/notifications/unsubscribe-auth/Ao5ZJ46BwBooxNV7nIvPfrwZccbI1JUBks5uygWpgaJpZM4YFmk8

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Isaacdelly/Plutus/issues/40#issuecomment-441411457, or mute the thread https://github.com/notifications/unsubscribe-auth/ASuCwLHyMTHTa1WJu28msL1vDB1pWRxsks5uygbLgaJpZM4YFmk8 .

jamesyoungdigital commented 5 years ago

I'll change it tomorrow when I'm around. I will delete my repo and start fresh and replace it and verify it works.

Might have to clone my repo with changes if no pull request is merged.

On Thu, 6 Dec. 2018, 2:45 am broka78 <notifications@github.com wrote:

bitaps block connect to API plz change

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Isaacdelly/Plutus/issues/40#issuecomment-444532176, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao5ZJ1lhHVU30pxXJELCwWxKTu26Vqsdks5u1-ocgaJpZM4YFmk8 .

Isaacdelly commented 5 years ago

I'm bringing an update within the next week. So just wait a few more days