Thanks for your reply. I tried a new wallet.dat file and managed to find it but no keys were found.
Is that test wallet.dat file created by Bitcoin Core v23.0 while "
descriptor wallet" is ticked?
Because if it's a descriptor wallet, there may be an incompatibility with the way how pywallet or other prvKey recovery tools search for deleted keys.
It's just a test anyway so, it's not a big issue,
but if you still want to try if
pywallet --recover is working, create a non-descriptor wallet instead by unchecking all checkbox when creating a test wallet.dat file.
My test wallet was created with bitcoin core v22.0. İ think pywallet is always looking for the same arrays in a wallet "3081D30201010420" .
I find the strings 0201010420 many times in my own wallet, but I can't find "3081D30201010420". Hex codes in my wallet continue as follows ''0201010420 D030.....47'' . I converted most of the hex codes but no result. I tried many recovery programs Recuva, Minitool, EaseUs, Diskdrill, Photorec. I think the name of the file has changed and overwritten, but the hard disk was not used much after the files were deleted.
I wanted to try keyhunter and
https://bitcointalk.org/index.php?topic=25091.0 but couldn't find enough information. Now i downloaded the demo version of r-studio and did a deep scan, I'm looking at the hex codes of all the files found and it's taking too long.