Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to hook File operations to return a new file size to user? #114

Open
myseemylife opened this issue Apr 23, 2023 · 0 comments
Open

Comments

@myseemylife
Copy link

myseemylife commented Apr 23, 2023

firstly,thx for this amazing project,let I can hook NtCreateFile NtOpenFile NtCReadFile NtClose in ntdll.dll
i use it to dencrypt some private file ,
while the issue is. that.the source private file size is A bytes, after dencrypted. the decoded file size is B bytes. but the user always use the A to read all content. so after the read logical..the left (A-B) useless bytes are return to user buffer. how can i avoid this?
Any suggestion ? sry for my bad english.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant