ThePorgs / Exegol-images

Docker images of the Exegol project
https://exegol.readthedocs.io/
GNU General Public License v3.0
88 stars 69 forks source link

[BUG] Crackmapexec segmentation fault #174

Closed DeserranoJorden closed 1 year ago

DeserranoJorden commented 1 year ago

Describe the bug

Working on a new Ubuntu OS installation and a new exegol ('full image'), crackmapexec seems to be bugged and not workable.

[Jun 26, 2023 - 10:48:44 (CEST)] exegol-new /workspace # crackmapexec
[*] Creating default workspace
[*] Initializing MSSQL protocol database
[*] Initializing LDAP protocol database
[*] Initializing RDP protocol database
[*] Initializing SSH protocol database
[*] Initializing WINRM protocol database
[*] Initializing SMB protocol database
[*] Initializing FTP protocol database
[*] Generating SSL certificate
[1]    1202 segmentation fault (core dumped)  crackmapexec

Steps To Reproduce

Exegol Wrapper Version

[*] Exegol is currently in version v4.2.3
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) 🙏                                                                               
[+] We thank HackTheBox for sponsoring the multi-arch support 💚                                                                                      
[D] Pip installation: On ✔                                                                                                                            
[D] Git source installation: Off 🪓                                                                                                                   
[D] Host OS: HostOs.LINUX (DockerEngine.LINUX)                                                                                                        
[D] Arch: amd64                                                                                                                                       
[D] Raw arch: x86_64                                                                                                                                  
[D] Docker desktop: Off 🪓                                                                                                                            
[D] Shell type: HostOs.LINUX                                                                                                                          
[D] Last wrapper update check: 2023-06-25 00:00:00

Exegol container information

Container summary                                                                    
┌──────────────────┬───────────────────────────────────────────────────────────────────┐
│             Name │ default                                                           │
│            Image │ full - v.3.0.2 (Up to date) (amd64)                               │
├──────────────────┼───────────────────────────────────────────────────────────────────┤
│    Creation date │ 26/06/2023 10:41                                                  │
│              GUI │ On ✔                                                              │
│          Network │ host                                                              │
│         Timezone │ On ✔                                                              │
│ Exegol resources │ On ✔ (/opt/resources)                                             │
│     My resources │ On ✔ (/opt/my-resources)                                          │
│    Shell logging │ Off 🪓                                                            │
│       Privileged │ Off ✔                                                             │
│        Workspace │ /home/<user>/Shared (/workspace)                                  │
│             Envs │ DISPLAY=:0                                                        │
│                  │ _JAVA_AWT_WM_NONREPARENTING=1                                     │
│                  │ QT_X11_NO_MITSHM=1                                                │
│                  │ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin │
│          Volumes │ /tmp/.X11-unix ➡ /tmp/.X11-unix                                   │
│                  │ /etc/timezone ➡ /etc/timezone (RO)                                │
│                  │ /etc/localtime ➡ /etc/localtime (RO)                              │
│                  │ /home/<user>/.exegol/my-resources ➡ /opt/my-resources             │
│                  │ /home/<user>/.exegol/exegol-resources ➡ /opt/resources            │
│                  │ /home/<user>/Shared ➡ /workspace                                  │
└──────────────────┴───────────────────────────────────────────────────────────────────┘

Exception

No response

Additional context

No response

Anything else?

No response

QU35T-code commented 1 year ago

Hello @DeserranoJorden

Can you try with the latest version of CME ?

rm -rf /opt/tools/CrackMapExec
git -C /opt/tools/ clone --depth 1 https://github.com/mpgn/CrackMapExec.git
python3 -m pipx install /opt/tools/CrackMapExec/ --force

installed package crackmapexec 6.0.0, installed using Python 3.9.2

cme

ShutdownRepo commented 1 year ago

@DeserranoJorden any news?

DeserranoJorden commented 1 year ago

Hey @ShutdownRepo,

My apologies for the late reply. This indeed worked and fixed my issues.

Thank you!

ShutdownRepo commented 1 year ago

Awesome! Closing