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

Rename SbieDll #3527

Closed
H4CK3R0FF1C14L opened this issue Dec 27, 2023 · 14 comments
Closed

Rename SbieDll #3527

H4CK3R0FF1C14L opened this issue Dec 27, 2023 · 14 comments
Labels
SbieDll Collection of SbieDll.dll issues Support Request Support request issues Type: Build Issue Build issues with Sandboxie

Comments

@H4CK3R0FF1C14L
Copy link

Is your feature request related to a problem or use case?

How can I rename SbieDll to avoid detection by the program? And since I can generally build this project, there are no build instructions and it makes it very difficult to work with this project?

Describe the solution you'd like

.

Describe alternatives you've considered

No response

@H4CK3R0FF1C14L H4CK3R0FF1C14L added the Feature Request New feature or idea label Dec 27, 2023
@isaak654 isaak654 added Type: Build Issue Build issues with Sandboxie Confirmation Pending Further confirmation is requested Support Request Support request issues and removed Feature Request New feature or idea labels Dec 27, 2023
@isaak654
Copy link
Collaborator

isaak654 commented Dec 28, 2023

How can I rename SbieDll to avoid detection by the program?

You can find references and cross-references about it in #2880

And since I can generally build this project, there are no build instructions and it makes it very difficult to work with this project?

If you're interested about adding further documentation content in the repository files, please provide a detailed explanation or a pull request of how this should be done from your perspective.

@H4CK3R0FF1C14L
Copy link
Author

H4CK3R0FF1C14L commented Dec 28, 2023

Old instructions with version typos

* Build instructions and content related to Sandboxie Plus:
https://docs.google.com/document/d/1iUZVUnfwpmGdj_m6_MZ3SVn4756jOk14FQ0sfek0TTI

There are no problems with building Sandboxie itself, but Sandboxie-Plus gives me QT-related errors. I first installed QT 5.12.x which is specified in this document, but found that there is no msvc 2019, other sources specify version 5.15, as well as in the yaml file from Github Actions also specified version 5.15, I installed it, downloaded the plugin for VS 2019, added, but still get errors related to QT but different.

Error	C1083	Cannot open include file: 'QtWin': No such file or directory SandMan 
\Sandboxie\SandboxiePlus\SandMan\Helpers\WinHelper.cpp	

Also in the Sandboxie-Plus folder there are cmd files that are used in the GitHub Actions yaml file and I don't really understand what they are for, as running install_jom.cmd I obviously don't do what I should, I get the QT folder on the desktop, then running qmake_plus.cmd it gives errors related to the fact that it can't find some QT files (most likely the ones I have installed on my C drive, but it looks for them inside the same folder). I would like to know more about the Sandboxie-Plus build, as it causes a lot of problems for me.

@isaak654

This comment was marked as resolved.

@H4CK3R0FF1C14L
Copy link
Author

I installed QT version 6.3.x and was able to build Sandboxie-Plus under x64, but there is no msvc2019 under x32 which makes it impossible for me to build the x32 version. And as far as I understand using QT 6 version Sandboxie-Plus will not work on older Windows versions.

5>SandMan.vcxproj -> C:\Users\donet\Desktop\Sandboxie\SandboxiePlus\x64\Release\SandMan.exe
5>Done building project "SandMan.vcxproj".
========== Build: 5 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

@offhub
Copy link
Collaborator

offhub commented Dec 28, 2023

version 5.15, I installed it, downloaded the plugin for VS 2019, added, but still get errors related to QT but different.

Error	C1083	Cannot open include file: 'QtWin': No such file or directory SandMan 
\Sandboxie\SandboxiePlus\SandMan\Helpers\WinHelper.cpp	

For Qt 5.15
Visual Studio 2022 -> SandMan -> Properties -> Configuration Properties ->
Qt Project Settings -> QtModules -> Click the down arrow next to it to open the Select Modules window ->
Select the WindowsExtras module from the window that opens > OK

Note

Menus may differ in the 2019 version.

@isaak654
Copy link
Collaborator

version 5.15, I installed it, downloaded the plugin for VS 2019, added, but still get errors related to QT but different.

Error	C1083	Cannot open include file: 'QtWin': No such file or directory SandMan 
\Sandboxie\SandboxiePlus\SandMan\Helpers\WinHelper.cpp	

You can also try with commit 251d7cc

I'm not sure why winextras was not included in master, is a new pull request needed?

@H4CK3R0FF1C14L
Copy link
Author

Yes, this fixes an issue with a build using QT version 5.15.x. Now it remains to figure out how to rename the SbieDll library to a different name.

You can also try with commit 251d7cc

@isaak654 isaak654 added the SbieDll Collection of SbieDll.dll issues label Dec 28, 2023
@H4CK3R0FF1C14L
Copy link
Author

I have renamed all .vcproj, .h, .rc, .cpp files wherever I can find "SbieDll.dll" and "SbieDll.lib" but I seem to be missing something. The application is fully built via Github Actions (except for the ARM version) but I get this error when I try to run anything through the sandbox.

image

@isaak654
Copy link
Collaborator

isaak654 commented Dec 28, 2023

There is a dedicated troubleshooting wizard for SBIE2181, which can be useful for non-standard Sandboxie installation paths:

@H4CK3R0FF1C14L
Copy link
Author

This doesn't solve the problem, when I try to launch anything, I have Start.exe appear for a second in my box and disappear after a second, not even the application selection window appears.

image

@isaak654
Copy link
Collaborator

What is your Windows version?

@H4CK3R0FF1C14L
Copy link
Author

H4CK3R0FF1C14L commented Dec 28, 2023

What is your Windows version?

Windows 11 Pro 22H2

I think the problem is due to the fact that I renamed SbieDll.dll incorrectly, because the normal version worked without problems. But I don't know what else I should rename so that SbieDll.dll has a different name and it doesn't cause any problems.

@H4CK3R0FF1C14L
Copy link
Author

It seems that I'm just an idiot who accidentally using CTRL + H in the code editor, replaced also the name of the file sbiedll.h because of which nothing worked (it's strange that it was built under x86/64 but under ARM it gave an error, which I didn't care about because I don't own ARM devices). Also I forgot to change the field in my_headers.h (although actually I remember that I changed it, but apparently I forgot to save it).

ARM version still does not build because it is missing some make file, but it does not matter in general. XD

@isaak654 isaak654 removed the Confirmation Pending Further confirmation is requested label Dec 29, 2023
@isaak654
Copy link
Collaborator

isaak654 commented Jan 5, 2024

ARM version still does not build because it is missing some make file

This has recently been fixed with commit f8377e1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SbieDll Collection of SbieDll.dll issues Support Request Support request issues Type: Build Issue Build issues with Sandboxie
Projects
None yet
Development

No branches or pull requests

3 participants