Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #72280
    buystuff1234
    Participant

    Hello Diego,
    Empire gives a error when i run powershell-empire server. I installed it with apt install powershell-empire, gave no errors.
    I after gitcloned it and ran ./install.sh
    But when running ./empire it gives error.
    I found a previous post on the forum where you suggest to run : apt remove python3-prompt-toolkit & pip3 install prompt_toolkit
    But also still gives the same error.
    I need your wisdom.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #72287
    Diego PérezDiego Pérez
    Moderator

    Hi!
    I suggest to install empire as mentioned in course instead.

    Greetings!
    Diego

    #72294
    buystuff1234
    Participant

    Hey Diego,
    I didnt explain myself well. I followed the course, i ran apt install powershell-empire. Installation gives no errors. Only when running powershell-empire server, it gives the error (screenshot from previous message)
    The installation using git clone i wrote is what i tried after that, sorry for not being clear.
    Any idea what the issue might be?

    #72306
    Diego PérezDiego Pérez
    Moderator

    Hi!
    The only screenshot here is related to the error to the git version and it won’t work as expected. As mentioned use the method showed in the lecture, if you’re getting an error with it then show the proper screenshot instead.

    Greetings!
    Diego

    #72443
    buystuff1234
    Participant

    Hello Diego,

    Sorry i sent you the wrong screenshot. I installed empire according the course with command apt install powershell-empire
    After a succesfull installation i ran powershell-empire server, and i get this error message.

    Attachments:
    You must be logged in to view attached files.
    #72470
    Diego PérezDiego Pérez
    Moderator

    Hi!
    You can unistall pydantic and then install it again, so run:
    pip3 uninstall pydantic
    pip3 install pydantic

    Then run the empire server again and it should work as expected.

    Greetings!
    Diego

    #72473
    buystuff1234
    Participant

    Hey Diego,

    I ran the commands but it comes back with an error message.

    Let me know what i can do, Thanks

    Attachments:
    You must be logged in to view attached files.
    #72489
    Diego PérezDiego Pérez
    Moderator

    Hi!
    As you can read from the output of the first command it failed, it’s a good practice to read the output to know if it worked or not, sometimes if there’s no output it means it worked.
    So, navigate to /usr/lib/python3/dist-packages and manually remove any file or directory related to pydantic, then run the pip3 install command again.

    Greetings!
    Diego

    #72502
    buystuff1234
    Participant

    Hey Diego,

    It works, thank you for your patience im new at this its obvious 🙂

    #72517
    Diego PérezDiego Pérez
    Moderator

    Hi!
    Glad you got it!
    Diego

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.