{"id":13839823,"url":"https://github.com/Flangvik/SharpAppLocker","last_synced_at":"2025-07-11T07:31:04.878Z","repository":{"id":40866504,"uuid":"284260374","full_name":"Flangvik/SharpAppLocker","owner":"Flangvik","description":"C# port of the Get-AppLockerPolicy PS cmdlet ","archived":false,"fork":false,"pushed_at":"2022-12-08T11:06:40.000Z","size":7020,"stargazers_count":97,"open_issues_count":1,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T23:12:55.918Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flangvik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-01T12:58:36.000Z","updated_at":"2024-09-28T11:46:14.000Z","dependencies_parsed_at":"2023-01-25T05:15:22.414Z","dependency_job_id":null,"html_url":"https://github.com/Flangvik/SharpAppLocker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flangvik%2FSharpAppLocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flangvik%2FSharpAppLocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flangvik%2FSharpAppLocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flangvik%2FSharpAppLocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flangvik","download_url":"https://codeload.github.com/Flangvik/SharpAppLocker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225705018,"owners_count":17511208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T17:00:35.867Z","updated_at":"2024-11-21T09:30:28.382Z","avatar_url":"https://github.com/Flangvik.png","language":"C#","funding_links":[],"categories":["C# #","C# (212)"],"sub_categories":[],"readme":"# SharpAppLocker\n\nC# port of the Get-AppLockerPolicy PowerShell cmdlet with extended features.  Includes the ability to filter and search for a specific type of rules and actions.\nUseful when you already bypassed AppLocker initially and you don't want to leave PS logs\n\nLooking for a pre-compiled version? Checkout the https://github.com/Flangvik/SharpCollection project!\n\n```\n _____ _                       ___              _                _\n/  ___| |                     / _ \\            | |              | |\n\\ `--.| |__   __ _ _ __ _ __ / /_\\ \\_ __  _ __ | |     ___   ___| | _____ _ __\n `--. \\ '_ \\ / _` | '__| '_ \\|  _  | '_ \\| '_ \\| |    / _ \\ / __| |/ / _ \\ '__|\n/\\__/ / | | | (_| | |  | |_) | | | | |_) | |_) | |___| (_) | (__|   \u003c  __/ |\n\\____/|_| |_|\\__,_|_|  | .__/\\_| |_/ .__/| .__/\\_____/\\___/ \\___|_|\\_\\___|_|\n                       | |         | |   | |\n                       |_|         |_|   |_|\n\n\n V1.1.0 - by Flangvik \u0026 Jean_Maes_1994 , vastly improved by am0nsec\n\n\nUsage:\n  -h, -?, --help              Show Help\n \n  -l, --local                   Queries local applocker config\n\n  -d, --domain               Queries domain applocker config (needs an ldap path)\n\n  -e, --effective            Queries the effective applocker config on this computer\n\n  -A, --allow                 Only return allowed action rules\n\n  -D, --deny                 Only return deny action rules\n\n      --ldap=VALUE         The ldap filter to query the domain policy from\n\n      --rules=VALUE        Comma seperated list of ruleTypes to filter \"FileHashRule, FilePathRule, FilePublisherRule,  All\" default: All\n\n      --outfile=VALUE      Filepath to write found rules to disk in JSON format\n\nExamples:\n         SharpAppLocker.exe --effective --allow --outfile \"C:\\Windows\\Tasks\\Rules.json\"\n\n         SharpAppLocker.exe --effective --allow --rules=\"FileHashRule,FilePathRule\" --outfile=\"C:\\Windows\\Tasks\\Rules.json\"\n\n         SharpAppLocker.exe -e -D\n\n```\n\n![Example execution](https://i.imgur.com/c91siuS.png)\n\n\n For detailed information please take a look at the MSDN url: https://docs.microsoft.com/en-us/powershell/module/applocker/get-applockerpolicy?view=win10-ps\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFlangvik%2FSharpAppLocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFlangvik%2FSharpAppLocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFlangvik%2FSharpAppLocker/lists"}