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.
#define CLIENT_TIMEOUT 36000.0
bool Kangaroo::output(string msg) {
FILE *f = stdout;
f = fopen("Result.txt", "a");
if (f == NULL) {
printf("[error] Cannot open file Result.txt\n");
f = stdout;
return false;
}
else {
fprintf(f, "%s\n", msg.c_str());
fclose(f);
printf("[i] Success saved to file Result.txt\n");
return true;
}
}
// ----------------------------------------------------------------------------
bool Kangaroo::CheckKey(Int d1,Int d2,uint8_t type) {
// Resolve equivalence collision
if(type & 0x1)
d1.ModNegK1order();
if(type & 0x2)
d2.ModNegK1order();
Int pk(&d1);
pk.ModAddK1order(&d2);
Point P = secp->ComputePublicKey(&pk);
if(P.equals(keyToSearch)) {
// Key solved
#ifdef USE_SYMMETRY
pk.ModAddK1order(&rangeWidthDiv2);
#endif
pk.ModAddK1order(&rangeStart);
Point PR = secp->ComputePublicKey(&pk);
::printf("\nKey#%2d [%dN]Pub: 0x%s \n",keyIdx,type,secp->GetPublicKeyHex(true,keysToSearch[keyIdx]).c_str());
// Save Priv
std::string prvkey = pk.GetBase16().c_str();
bool save_pk = output(prvkey + string(":") + string("04") + PR.x.GetBase16().c_str() + PR.y.GetBase16().c_str() );
if( PR.equals(keysToSearch[keyIdx]) ) {
::printf(" Priv: 0x%s \n",pk.GetBase16().c_str());
} else {
::printf(" Failed !\n");
::printf(" Priv: 0x%s \n",pk.GetBase16().c_str());
return false;
}
return true;
}
if(P.equals(keyToSearchNeg)) {
// Key solved
pk.ModNegK1order();
#ifdef USE_SYMMETRY
pk.ModAddK1order(&rangeWidthDiv2);
#endif
pk.ModAddK1order(&rangeStart);
Point PR = secp->ComputePublicKey(&pk);
::printf("\nKey#%2d [%dS]Pub: 0x%s \n",keyIdx,type,secp->GetPublicKeyHex(true,keysToSearch[keyIdx]).c_str());
// Save Priv
std::string prvkeyNeg = pk.GetBase16().c_str();
bool save_pk = output(prvkeyNeg + string(":") + string("04") + PR.x.GetBase16().c_str() + PR.y.GetBase16().c_str() );
if(PR.equals(keysToSearch[keyIdx]) ) {
::printf(" Priv: 0x%s \n",pk.GetBase16().c_str());
} else {
::printf(" Failed !\n");
::printf(" Priv: 0x%s \n",pk.GetBase16().c_str());
return false;
}
return true;
}
return false;
}
bool Kangaroo::ParseConfigFile(std::string &fileName) {
// In client mode, config come from the server
if(clientMode)
return true;
// Check file
FILE *fp = fopen(fileName.c_str(),"rb");
if(fp == NULL) {
::printf("Error: Cannot open %s %s\n",fileName.c_str(),strerror(errno));
return false;
}
fclose(fp);
// Get lines
vectorlines;
int nbLine = 0;
string line;
ifstream inFile(fileName);
while(getline(inFile,line)) {
// Remove ending \r\n
int l = (int)line.length() - 1;
while(l >= 0 && isspace(line.at(l))) {
line.pop_back();
l--;
}
if(line.length() > 0) {
lines.push_back(line);
nbLine++;
}
}
if(lines.size()<3) {
::printf("Error: %s not enough arguments\n",fileName.c_str());
return false;
}
rangeStart.SetBase16((char *)lines[0].c_str());
rangeEnd.SetBase16((char *)lines[1].c_str());
for(int i=2;i<(int)lines.size();i++) {
Point p;
bool isCompressed;
if( !secp->ParsePublicKeyHex(lines[i],p,isCompressed) ) {
::printf("%s, error line %d: %s\n",fileName.c_str(),i,lines[i].c_str());
return false;
}
keysToSearch.push_back(p);
}
::printf("Start:%s\n",rangeStart.GetBase16().c_str());
::printf("Stop :%s\n",rangeEnd.GetBase16().c_str());
::printf("Keys :%d\n",(int)keysToSearch.size());
return true;
}
// ----------------------------------------------------------------------------
bool output(std::string msg);
bool saveKangaroo;
int wtimeout;
int ntimeout;
Unexpected wrong collision, reset kangaroo !
Found: Td-73xxxxxxxxx57E8567EB949E04A8
Found: Wd-34xxxxxxxxxE8567EB949E04A8
Unexpected wrong collision, reset kangaroo !
Found: Td-73xxxxxxxxx57E8567EB949E04A8
Found: Wd-34xxxxxxxxxE8567EB949E04A8
Unexpected wrong collision, reset kangaroo !
Found: Td-73xxxxxxxxx57E8567EB949E04A8
Found: Wd-34xxxxxxxxxE8567EB949E04A8
Unexpected wrong collision, reset kangaroo !
Found: Td-73xxxxxxxxx57E8567EB949E04A8
Found: Wd-34xxxxxxxxxE8567EB949E04A8
Unexpected wrong collision, reset kangaroo !
Found: Td-73xxxxxxxxx57E8567EB949E04A8
Found: Wd-34xxxxxxxxxE8567EB949E04A8
Unexpected wrong collision, reset kangaroo !
Found: Td-73xxxxxxxxx57E8567EB949E04A8
Found: Wd-34xxxxxxxxxE8567EB949E04A8
Compiler.i
Filename$="Kangaroo.exe"
OpenConsole("launcher")
PrintN ("[START launcher]")
parametrscount=CountProgramParameters()
p$=""
For i=0 To parametrscount-1
p$+ProgramParameter(i)+" "
Next i
Debug p$
PrintN ("START ["+Filename$+"]")
restart=0
*Buffer = AllocateMemory(1024)
While 1
ConsoleTitle("launcher /restart " +Str(restart))
Compiler = RunProgram("cmd.exe" ,"/c "+Filename$+" "+p$,"",#PB_Program_Open)
If Compiler
While ProgramRunning(Compiler)
Delay(10)
Wend
Delay(5000)
PrintN("")
PrintN ("RESTART ["+Filename$+"]")
restart+1
Else
PrintN ("["+Filename$+"] not found")
Break
EndIf
Wend
PrintN("Press Enter to exit")
Input()
End
Kangaroo.exe -nt 36000000 -w saved.work -i saved.work -wi 300 -d 28 -s input.txt
launcherkangaroo.exe -nt 36000000 -w saved.work -i saved.work -wi 300 -d 28 -s input.txt