impacket / Script not found in metadata

Any ideas how to get this impacket working on Kali?

Getting error:
pkg_resources.ResolutionError: Script 'scripts/psexec.py' not found in metadata at '/home/rhaserid/.local/lib/python2.7/site-packages/impacket-0.9.22.dev1.dist-info'

Here's the whole thing:
https://privatebin.net/?8fd962146722d171#4Yiy1BhhXW8YVRY4Nc9i5fTdFv2H7s8nanUC11EpxjkX

I am trying to follow the guide at: https://www.hackthebox.eu/home/start

Tagged:

Comments

  • edited June 2020

    OK, I downloaded & extracted the git repo and fired the script from the examples directory without installing anything. That seems to work without issues.

    [email protected]:~/impacket-master/examples$ python psexec.py [email protected]
    Impacket v0.9.22.dev1 - Copyright 2020 SecureAuth Corporation
    Password:
    [] Requesting shares on 10.10.10.27.....
    [
    ] Found writable share ADMIN$
    [] Uploading file vkiXCcvT.exe
    [
    ] Opening SVCManager on 10.10.10.27.....
    [] Creating service rXlU on 10.10.10.27.....
    [
    ] Starting service rXlU.....
    [!] Press help for extra shell commands
    Microsoft Windows [Version 10.0.17763.107]
    (c) 2018 Microsoft Corporation. All rights reserved.
    C:\Windows\system32>

Sign In to comment.