Comments (9)
DbGenerator.exe and DbGenerator64.exe should be there. If they aren't, recompile all subprojects in Deviare solution going to Build Menu -> Batch Build and selecting all release items.
from deviare2.
Sorry, I miss to say something. When you start from scratch or from the minimal header sample, you must use it like if it were the preprocessed header.
Use: build_db32.bat C:\path\your-header.h
directly from DbBuilder folder.
from deviare2.
When generating a custom DB we recommend to create a custom header from scratch and add only the headers and/or definitions of APIs you want to hook.
from deviare2.
I'm trying to create my custom db, I've generated the files preprocessed32W.h
and preprocessed32A.h
, but without using the bin\HeaderFix.exe
because I can't find it anywhere. Then when using DbGenerator I got a long list of errors even if I was using the default headers without modifying anything. Can you please explain me the correct way to generate a db just to hook ncrypt.dll and bcrypt.dll (adding the missing headers)? Thanks for the help
from deviare2.
Thanks, but now without modifying the headers (just testing the db generation), if I execute BUILD32 Full
in HeaderBuilder, then build_db32.bat
in DbBuilder, I get Error: Compilation failed
with the attached log. Am I doing something wrong? I'm using VisualStudio2015 on Windows 8.1 and these errors are always the same indipendently from input headers (base one included).
DbGenerator32.txt
from deviare2.
Depending on which WDK you have installed and the modifications you did, the errors you will have. If you see the original header, you can notice #include are not in alphabetical order and there are some definitions in the middle to avoid these kind of issues.
It is a trial and error like if you were compiling your own application.
And this is the major reason I recommend to start from an empty header (or use the provided minimal header sample) and add only the headers you need.
At last, NCryptprotect.h may depend on another header. You must check this too.
from deviare2.
Thanks Mauro for your help, the problem is that I get those errors even with the empty header. You can see the zip file (It's just the empty header and results). Do you think I have to change WDK to avoid that list of errors?
MinimalDbGen.zip
from deviare2.
Thanks @mxmauro, now everything works fine. I was building the header in the wrong way, not like you have just written because I haven't read that anywhere. I hope these posts can be useful for other developers.
from deviare2.
You are welcome.
from deviare2.
Related Issues (20)
- winword hangs at startup HOT 12
- Missing external. HOT 1
- Placing hooks from .net dll cause hook connection to die
- how to hook fastprox.dll? HOT 7
- Nektra.Deviare2 not found HOT 2
- logging/printing all api calls of a hooked process
- Hooking undocumented functions and adding new functions into nektra's database HOT 21
- NktSpyMgr does not return process HOT 6
- Antivirus blocks hooking HOT 3
- Question about Deviare-InProc HOT 1
- How to Hook a process as soon as it starts and check if the hook is active.
- online documentation gone
- contacts page does not work HOT 1
- Deviare DB rebuilt error HOT 1
- appcrash on "Remove All Hooks" with CSharpConsole HOT 5
- CNktDbModuleImpl::DbFunctions
- sample project of external file access monitor HOT 1
- How to hook `sublime` function? HOT 1
- [Python] how to use CreateHookForAddress? HOT 1
- Compiling 'CRegistryPlugin' for 'x86'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deviare2.