Title: Invoke-EnumerateLocalAdmin not working with groupnames other than "Administrators" · Issue #176 · PowerShellMafia/PowerSploit · GitHub
Open Graph Title: Invoke-EnumerateLocalAdmin not working with groupnames other than "Administrators" · Issue #176 · PowerShellMafia/PowerSploit
X Title: Invoke-EnumerateLocalAdmin not working with groupnames other than "Administrators" · Issue #176 · PowerShellMafia/PowerSploit
Description: When running Invoke-EnumerateLocalAdmin the script only enumerates groups named "Administrators". However, on a German Windows this group is named "Administratoren". To get it working I just had to change Line 6231 in PowerView.ps1 in th...
Open Graph Description: When running Invoke-EnumerateLocalAdmin the script only enumerates groups named "Administrators". However, on a German Windows this group is named "Administratoren". To get it working I just had to...
X Description: When running Invoke-EnumerateLocalAdmin the script only enumerates groups named "Administrators". However, on a German Windows this group is named "Administratoren". To get it w...
Opengraph URL: https://github.com/PowerShellMafia/PowerSploit/issues/176
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invoke-EnumerateLocalAdmin not working with groupnames other than \"Administrators\"","articleBody":"When running Invoke-EnumerateLocalAdmin the script only enumerates groups named \"Administrators\". However, on a German Windows this group is named \"Administratoren\".\n\nTo get it working I just had to change Line 6231 in PowerView.ps1 in the master branch from `$GroupName = 'Administrators',` to `$GroupName,`. Then the `begin` section of the script (lines 6240 to 6247) will do it's magic and get the correct group name.\n\nI wanted to initiate a pull request when i saw that the whole `begin` section was removed from the code in the dev branch (lines 6626 to 6633):\nhttps://github.com/PowerShellMafia/PowerSploit/commit/b4891eb371c83c0eef7cc3d4485b3a7066c9641e\n\nI tried the Invoke-EnumerateLocalAdmin script from the dev branch on my German Windows 7 machine because I thought maybe I was missing something but it obviously tried to enumerate the group \"Administrators\" again and that of course failed with:\n\nWARNING: [!] Error: Exception calling \"Invoke\" with \"2\" argument(s): \"Der Gruppenname konnte nicht gefunden werden.\n\nwhich translates to:\n\nWARNING: [!] Error: Exception calling \"Invoke\" with \"2\" argument(s): \"The group name could not be found.\n\nIs there a specific reason why the `begin` section to fetch the group name based on the security identifier was removed?\n","author":{"url":"https://github.com/hannestrunde","@type":"Person","name":"hannestrunde"},"datePublished":"2016-08-19T11:59:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/176/PowerSploit/issues/176"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dbda4613-a4c9-503f-65e9-91c1c666ff9e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFB0:B1D4C:1F5FF98:289AA01:6A5C7EE5 |
| html-safe-nonce | e8f8135a901a50422809eb1059ca758e544b3aa3d17a5993e6bf50993e3099ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkIwOkIxRDRDOjFGNUZGOTg6Mjg5QUEwMTo2QTVDN0VFNSIsInZpc2l0b3JfaWQiOiI1NTQ4OTA3MDk4OTEzMTQ0NTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3de201e959a3b97b3a91485d6338fbbda126304ac755f076f647678c66f8ac50 |
| hovercard-subject-tag | issue:172115877 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShellMafia/PowerSploit/176/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b8c74a6ec74e65df838ab7683b847f546a31fa514f77a9408657714ec735f887/PowerShellMafia/PowerSploit/issues/176 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b8c74a6ec74e65df838ab7683b847f546a31fa514f77a9408657714ec735f887/PowerShellMafia/PowerSploit/issues/176 |
| og:image:alt | When running Invoke-EnumerateLocalAdmin the script only enumerates groups named "Administrators". However, on a German Windows this group is named "Administratoren". To get it working I just had to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hannestrunde |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShellMafia/PowerSploit git https://github.com/PowerShellMafia/PowerSploit.git |
| octolytics-dimension-user_id | 15639068 |
| octolytics-dimension-user_login | PowerShellMafia |
| octolytics-dimension-repository_id | 4456049 |
| octolytics-dimension-repository_nwo | PowerShellMafia/PowerSploit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4456049 |
| octolytics-dimension-repository_network_root_nwo | PowerShellMafia/PowerSploit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width