Bitcoin Forum
September 16, 2019, 07:32:23 AM *
News: If you like a topic and you see an orange "bump" link, click it. More info.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: An open source tool to detect bitcoin/crypto text  (Read 106 times)
lane.c.wagner
Newbie
*
Offline Offline

Activity: 16
Merit: 5


View Profile
August 06, 2019, 05:51:09 PM
Merited by pooya87 (1), Initscri (1)
 #1

https://cryptodetector.org/

Take a peek, and let me know if you have ideas for more string formats to detect. Alternatively, directly submit issues/PRs on the github page.
1568619143
Hero Member
*
Offline Offline

Posts: 1568619143

View Profile Personal Message (Offline)

Ignore
1568619143
Reply with quote  #2

1568619143
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
joniboini
Hero Member
*****
Offline Offline

Activity: 686
Merit: 1097



View Profile WWW
August 07, 2019, 03:54:08 AM
 #2

I like the UI. Simple and effective. Any plan to add additional features? I think it would be cool if you can make a tool which essentially helps users to find out what kind of wallet that he has on his computer. Let's say it's wallet.dat but he forgot which crypto it is and he can't use Bitcoin Core to open it.

It might be risky but if you develop an offline tool that can do that, open-source of course, maybe some user will find it useful.




.




  ▄▄▄▄▄▄▄▄▄▄▄▄▄
▄████████▀▀▀▀███▄
███████▀     ████
███████   ███████
█████        ████
███████   ███████
▀██████   ██████▀
  ▀▀▀▀▀   ▀▀▀▀▀

  ▄▄▄▄▄▄▄▄▄▄▄▄▄
▄██▀▀▀▀▀▀▀▀▀▀▀██▄
██    ▄▄▄▄▄ ▀  ██
██   █▀   ▀█   ██
██   █▄   ▄█   ██
██    ▀▀▀▀▀    ██
▀██▄▄▄▄▄▄▄▄▄▄▄██▀
  ▀▀▀▀▀▀▀▀▀▀▀▀▀

            ▄▄▄
█▄▄      ████████▄
 █████▄▄████████▌
▀██████████████▌
  █████████████
  ▀██████████▀
   ▄▄██████▀
    ▀▀▀▀▀

    ██  ██
  ███████████▄
    ██      ▀█
    ██▄▄▄▄▄▄█▀
    ██▀▀▀▀▀▀█▄
    ██      ▄█
  ███████████▀
    ██  ██




               ▄
       ▄  ▄█▄ ▀█▀      ▄
      ▀█▀  ▀   ▄  ▄█▄ ▀█▀
███▄▄▄        ▀█▀  ▀     ▄▄▄███       ▐█▄    ▄█▌   ▐█▌   █▄    ▐█▌   ████████   █████▄     ██    ▄█████▄▄   ▐█████▌
████████▄▄           ▄▄████████       ▐███▄▄███▌   ▐█▌   ███▄  ▐█▌      ██      █▌  ▀██    ██   ▄██▀   ▀▀   ▐█
███████████▄       ▄███████████       ▐█▌▀██▀▐█▌   ▐█▌   ██▀██▄▐█▌      ██      █▌   ▐█▌   ██   ██          ▐█████▌
 ████████████     ████████████        ▐█▌    ▐█▌   ▐█▌   ██  ▀███▌      ██      █▌  ▄██    ██   ▀██▄   ▄▄   ▐█
  ████████████   ████████████         ▐█▌    ▐█▌   ▐█▌   ██    ▀█▌      ██      █████▀     ██    ▀█████▀▀   ▐█████▌
   ▀███████████ ███████████▀
     ▀███████████████████▀
        ▀▀▀█████████▀▀▀
FIND OUT MORE AT MINTDICE.COM
pooya87
Legendary
*
Offline Offline

Activity: 1764
Merit: 1870


Remember tonight for it's the beginning of forever


View Profile
August 07, 2019, 04:18:55 AM
 #3

addresses starting with 3 aren't exactly "deprecated" for litecoin. they are still valid and under the hood the script is exactly the same thing as before and just like bitcoin. the only thing that has changed is that new wallets change the first byte before encoding do that it shows a different first letter to make it look different.

also you may want to add some more checks. i haven't checked the source code since it is JavaScript (i am not good at it) but testing the site it seems like you are just checking the length of strings and the characters in them. so for example if i change the last letter of the first example from `S` to `s` it still considers it as valid while it is has an invalid base58 checksum.
same with others, including seed where i can put any arbitrary word that is not in word list.

the site didn't recognize ltc1q.... addresses (litecoin SegWit)

you should also use a warning on top of the site about being "online" when user inputs any data in that site that is considered sensitive such as private keys,...
also include the html in your repository (like what bitaddress.org does) and add explanation of how to run it offline.

Initscri
Hero Member
*****
Offline Offline

Activity: 1106
Merit: 638


KnowNoBorders.io


View Profile WWW
August 07, 2019, 05:58:08 AM
 #4

Source looks clean too even though I haven't done a 100% dive on it: https://github.com/lane-c-wagner/cryptodetector

Good job, I'll keep an eye out and if I see a use case for this, I'll definitely be using it!

Cheers!

   ▄▄██████▄▄
  ████████████
███▄▄
 ██████████████▀▀▀██▄
████████████████   ▀██▄
████████████████     ▀██
██████████████       ██▌
██████████████        ▐██
██▌▀▀██████▀▀         ▐██
▐██                   ██▌
 ██▄                 ▄██
  ▀██▄             ▄██▀
    ▀██▄▄▄     ▄▄▄██▀
      ▀▀█████████▀▀
MAIN CLUB
PARTNER of
W A T F O R D  FC
Industry Leading Crypto Sportsbook
|
SPECIAL
WATFORD FC
PROMOTIONS
|
UNIQUE
CONTENT &
GIVEAWAYS
|
▄▄█████████▄▄
▄█████████████████▄
▄██████████▀▀▀▀███████▄
▄█████████▀     ████████▄
▄██████████   ████████████▄
█████████        ██████████
█████████▄▄   ▄▄███████████
███████████   █████████████
▀██████████   ████████████▀
▀█████████   ███████████▀
▀████████▄▄▄██████████▀
▀█████████████████▀
▀▀█████████▀▀
.PLAY  HERE.
[/t
eternalgloom
Legendary
*
Offline Offline

Activity: 1708
Merit: 1236



View Profile WWW
August 07, 2019, 08:41:03 AM
 #5

Pretty handy for newbies, but it doesn't seem to recognize transaction hashes.
When I submit one, it recognizes it as a possible Bitcoin private key.

Initscri
Hero Member
*****
Offline Offline

Activity: 1106
Merit: 638


KnowNoBorders.io


View Profile WWW
August 09, 2019, 09:27:23 PM
 #6

Pretty handy for newbies, but it doesn't seem to recognize transaction hashes.
When I submit one, it recognizes it as a possible Bitcoin private key.

It's far more useful for software developers/website.

If the software works well (and I'm assuming will require maintenance), it can virtually remove a dropdown field OR make UIs slightly more easier to use.

   ▄▄██████▄▄
  ████████████
███▄▄
 ██████████████▀▀▀██▄
████████████████   ▀██▄
████████████████     ▀██
██████████████       ██▌
██████████████        ▐██
██▌▀▀██████▀▀         ▐██
▐██                   ██▌
 ██▄                 ▄██
  ▀██▄             ▄██▀
    ▀██▄▄▄     ▄▄▄██▀
      ▀▀█████████▀▀
MAIN CLUB
PARTNER of
W A T F O R D  FC
Industry Leading Crypto Sportsbook
|
SPECIAL
WATFORD FC
PROMOTIONS
|
UNIQUE
CONTENT &
GIVEAWAYS
|
▄▄█████████▄▄
▄█████████████████▄
▄██████████▀▀▀▀███████▄
▄█████████▀     ████████▄
▄██████████   ████████████▄
█████████        ██████████
█████████▄▄   ▄▄███████████
███████████   █████████████
▀██████████   ████████████▀
▀█████████   ███████████▀
▀████████▄▄▄██████████▀
▀█████████████████▀
▀▀█████████▀▀
.PLAY  HERE.
[/t
pereira4
Legendary
*
Offline Offline

Activity: 1526
Merit: 1129



View Profile
August 12, 2019, 02:29:13 AM
 #7

As much as I dislike altcoins, there's a big niche for Ethereum's stuff. Since it has a ridiculous amounts of tokens and many shenanigans, people become confused. For instance this guy:

Hi i just want to know which eth wallet i can access with such type private key??

929146698:AAGbFoFXOVzOqN9OpfyURkaByXEj8iTVba0

I cant access myetherwallet with this private key
Where i can import it



txid is recognized as 256 bit private key in hexadecimal format raw private key, I wonder if you could code it to discern from a private key from a txid string.





.




  ▄▄▄▄▄▄▄▄▄▄▄▄▄
▄████████▀▀▀▀███▄
███████▀     ████
███████   ███████
█████        ████
███████   ███████
▀██████   ██████▀
  ▀▀▀▀▀   ▀▀▀▀▀

  ▄▄▄▄▄▄▄▄▄▄▄▄▄
▄██▀▀▀▀▀▀▀▀▀▀▀██▄
██    ▄▄▄▄▄ ▀  ██
██   █▀   ▀█   ██
██   █▄   ▄█   ██
██    ▀▀▀▀▀    ██
▀██▄▄▄▄▄▄▄▄▄▄▄██▀
  ▀▀▀▀▀▀▀▀▀▀▀▀▀

            ▄▄▄
█▄▄      ████████▄
 █████▄▄████████▌
▀██████████████▌
  █████████████
  ▀██████████▀
   ▄▄██████▀
    ▀▀▀▀▀

    ██  ██
  ███████████▄
    ██      ▀█
    ██▄▄▄▄▄▄█▀
    ██▀▀▀▀▀▀█▄
    ██      ▄█
  ███████████▀
    ██  ██




               ▄
       ▄  ▄█▄ ▀█▀      ▄
      ▀█▀  ▀   ▄  ▄█▄ ▀█▀
███▄▄▄        ▀█▀  ▀     ▄▄▄███       ▐█▄    ▄█▌   ▐█▌   █▄    ▐█▌   ████████   █████▄     ██    ▄█████▄▄   ▐█████▌
████████▄▄           ▄▄████████       ▐███▄▄███▌   ▐█▌   ███▄  ▐█▌      ██      █▌  ▀██    ██   ▄██▀   ▀▀   ▐█
███████████▄       ▄███████████       ▐█▌▀██▀▐█▌   ▐█▌   ██▀██▄▐█▌      ██      █▌   ▐█▌   ██   ██          ▐█████▌
 ████████████     ████████████        ▐█▌    ▐█▌   ▐█▌   ██  ▀███▌      ██      █▌  ▄██    ██   ▀██▄   ▄▄   ▐█
  ████████████   ████████████         ▐█▌    ▐█▌   ▐█▌   ██    ▀█▌      ██      █████▀     ██    ▀█████▀▀   ▐█████▌
   ▀███████████ ███████████▀
     ▀███████████████████▀
        ▀▀▀█████████▀▀▀
FIND OUT MORE AT MINTDICE.COM
pooya87
Legendary
*
Offline Offline

Activity: 1764
Merit: 1870


Remember tonight for it's the beginning of forever


View Profile
August 12, 2019, 03:38:47 AM
 #8

As much as I dislike altcoins, there's a big niche for Ethereum's stuff. Since it has a ridiculous amounts of tokens and many shenanigans, people become confused. For instance this guy:
~
txid is recognized as 256 bit private key in hexadecimal format raw private key, I wonder if you could code it to discern from a private key from a txid string.

that is impossible because the problem is that all of these things are exactly the same:
- transaction ID of any cryptocrurrency that is using a 256-bit hash function
- block hash of any cryptocrurrency that is using a 256-bit hash function to hash its blocks
- private key of any cryptocurrency that is using a 256-bit number and encodes it in base-16
- address of any cryptocurrency that is using a 256-bit hash function on its public keys and reports the result in base-16

a coin like ETH does all 4!
the only thing that can be different is an uncommon encoding of addresses with mix case (upper and lower) which can help distinguish addresses from the rest.

seoincorporation
Legendary
*
Offline Offline

Activity: 1470
Merit: 1476


BtcBoss


View Profile
August 12, 2019, 06:42:46 PM
 #9

https://cryptodetector.org/

Take a peek, and let me know if you have ideas for more string formats to detect. Alternatively, directly submit issues/PRs on the github page.

The tool should detect when a string is a transaction id or when it's a block id, i mean, if the main idea is to test coins data and get what is it, i think these two things are a must on the tool.

We can find a good example of this in the blockchain.com search engine, it allows us to search a block, a transaction, or an addy.

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!