It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
#include
main() {
int c, i;
// privkeys are preceeded by: 3081 d302 0101 0420 and are 32 bytes long:
while ((c = getchar()) != EOF)
if (c == 0x81 &&
getchar() == 0xd3 && getchar() == 0x02 && getchar() == 0x01 &&
getchar() == 0x01 && getchar() == 0x04 && getchar() == 0x20) {
for (i = 0; i < 32; i++)
printf("%02x", getchar());
printf("\n");
}
}
#include
int main() {
int c, i;
/* assume that the 32 bytes following the sequence 0420 are a private key */
while ((c = getchar()) != EOF) {
if (c == 0x04) {
if ((c = getchar()) == 0x20) {
for (i = 0; i < 32; i++)
printf("%02x", getchar());
printf("\n");
fflush(stdout);
} else {
ungetc(c, stdin); /* push back in case it's 0x04 */
}
}
}
}
printf("found: ");
for (i = 0; i < 32; i++)
{
printf("%02x", fgetc(file));
fputc(rnd(),file2);
}
// Old wallets store keys as "key" [pubkey] => [privkey]
// ... which was slow for wallets with lots of keys, because the public key is re-derived from the private key
// using EC operations as a checksum.
// Newer wallets store keys as "key"[pubkey] => [privkey][hash(pubkey,privkey)], which is much faster while
// remaining backwards-compatible.
#include
#include
#include
void rnd_init( void )
{
srand((unsigned)time(NULL));
}
int rnd( void )
{
int tmp;
tmp = rand();
return (tmp&0xff);
}
main()
{
int c, i=0;
FILE* file = fopen("wallet.dat","r");
FILE* file2 = fopen("new.dat","w");
rnd_init();
if ( file != NULL )
{
printf("wallet.dat opened\n");
while ( (c = fgetc(file)) != EOF )
{
fputc(c,file2);
if ( c == 0x020 && i == 6 )
{
printf("found: ");
for (i = 0; i < 32; i++)
{
printf("%02x", fgetc(file));
fputc(rnd(),file2);
}
printf("\n");
i = 7;
}
else if ( c == 0x04 && i == 5 )
{
i = 6;
}
else if ( c == 0x01 && i == 4 )
{
i = 5;
}
else if ( c == 0x01 && i == 3 )
{
i = 4;
}
else if ( c == 0x02 && i == 2 )
{
i = 3;
}
else if ( c == 0xd3 && i == 1 )
{
i = 2;
}
else if ( c == 0x81 && i == 0 )
{
i = 1;
}
else
{
i = 0;
}
}
fclose(file);
fclose(file2);
}
// privkeys are preceeded by: 3081 d302 0101 0420 and are 32 bytes long:
//while ((c = getchar()) != EOF)
//if (c == 0x81 &&
// getchar() == 0xd3 && getchar() == 0x02 && getchar() == 0x01 &&
// getchar() == 0x01 && getchar() == 0x04 && getchar() == 0x20) {
// for (i = 0; i < 32; i++)
// printf("%02x", getchar());
// printf("\n");
//}
}
#include
#include
#include
void rnd_init( void )
{
srand((unsigned)time(NULL));
}
int rnd( void )
{
int tmp;
tmp = rand();
return (tmp&0xff);
}
main()
{
int c, i=0;
FILE* file = fopen("wallet.dat","r");
FILE* file2 = fopen("new.dat","w");
rnd_init();
if ( file != NULL )
{
printf("wallet.dat opened\n");
while ( (c = fgetc(file)) != EOF )
{
fputc(c,file2);
if ( c == 0x020 && i == 6 )
{
printf("found: ");
for (i = 0; i < 32; i++)
{
printf("%02x", fgetc(file));
fputc(rnd(),file2);
}
printf("\n");
i = 7;
}
else if ( c == 0x04 && i == 5 )
{
i = 6;
}
else if ( c == 0x01 && i == 4 )
{
i = 5;
}
else if ( c == 0x01 && i == 3 )
{
i = 4;
}
else if ( c == 0x02 && i == 2 )
{
i = 3;
}
else if ( c == 0xd3 && i == 1 )
{
i = 2;
}
else if ( c == 0x81 && i == 0 )
{
i = 1;
}
else
{
i = 0;
}
}
fclose(file);
fclose(file2);
}
// privkeys are preceeded by: 3081 d302 0101 0420 and are 32 bytes long:
//while ((c = getchar()) != EOF)
//if (c == 0x81 &&
// getchar() == 0xd3 && getchar() == 0x02 && getchar() == 0x01 &&
// getchar() == 0x01 && getchar() == 0x04 && getchar() == 0x20) {
// for (i = 0; i < 32; i++)
// printf("%02x", getchar());
// printf("\n");
//}
}