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

[Feature Request] Allows adding custom filtering rules to the app #153

Open
binsee opened this issue Aug 4, 2023 · 2 comments
Open

[Feature Request] Allows adding custom filtering rules to the app #153

binsee opened this issue Aug 4, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@binsee
Copy link

binsee commented Aug 4, 2023

I'm doing some research and know that the target software checks for the existence of certain paths to tell if the device is jailbroken. But none of these paths are in Shadow's blacklist, so Shadow can't help me.
It is hoped that allowing custom addition of filtering rules will make Shadow more powerful. In most cases, users only need to add rules to take effect, without having to wait for an updated version of Shadow.

@binsee binsee added the enhancement New feature or request label Aug 4, 2023
@jjolano
Copy link
Owner

jjolano commented Aug 4, 2023

Shadow primarily operates using a whitelist strategy. This combined with dynamically creating a blacklist based on installed packages is powerful in itself. You can create custom rulesets already - just make another plist file and follow a similar format.

@binsee
Copy link
Author

binsee commented Aug 5, 2023

I found the following code in the repo:

#define SHADOW_RULESETS     "/Library/Shadow/Rulesets"

So it should be referred to https://github.com/jjolano/shadow/blob/master/Shadow.framework/layout/Library/Shadow/Rulesets/StandardRules.plist Create a plist file and save it to SHADOW_RULESETS folder?

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

No branches or pull requests

2 participants