-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Ubuntu repository #894
Comments
So what errors are you specifically receiving when running the install script? Can you post those errors please? |
Thanks for the answer. Powershell doesn't get installed when using the setup script. I get this :**sudo aptitude install powershell
The following actions will resolve these dependencies:
i'm asking if it's possible to change =># Install Powershell on Linux And replace it (the debian part) with a git clone of powershell, or wget the latest binary release and install it ?When i download Powershell from github either with git or binary, it works fine. |
Also for those that get the "rand" error when launching Empire, i found a workaround, go in setup folder and run 'pip2 install --upgrade -r requirements.txt' ,i think the install.sh script does not install the requirements correctly on certains systems. I get an error when running './reset.sh' though. Traceback (most recent call last): |
The rand error should be resolved on the master branch |
Thanks, if you can change the installation script for debian if no one see any issues about it, it would be greatly appreciated. Edit : On master branch when using './reset.sh' i get ; Traceback (most recent call last):File "./empire", line 13, in Empire launch fine though, no rand error anymore. |
You can always change it on just your system - have you tried that yet to
make sure it works?
…On Thu, Jan 4, 2018, 07:06 cegi ***@***.***> wrote:
Thanks, if you can change the installation script for debian if no one see
any issues about it, it would be greatly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#894 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF9BtQdNLasaT-sQ63ZiPH2hJJIGi_Zmks5tHNrGgaJpZM4RQH8M>
.
|
Yes i did, with git clone and wget binary release, it worked fine. It's more conveniant to not have to do it each time though. |
@cegi you can just install macholib with pip. Not sure why it wasn't installed. |
@xorrior, i installed with pip macholib which did not fix the issue, so i tried 'aptitude install python-macholib' which worked, but now i get : Traceback (most recent call last): And after using 'pip2 install --upgrade pyminifier' it still get me the same error. EDIT : Nevermind, i had to use "sudo" in order to install pyminifier correctly... Any idea how i can know when i need to use sudo for installing pip dependencies correctly, and when i don't need to use sudo ?And for those that get error when using Empire restful API, you need to use "sudo" to launch empire correctly. |
The tl;dr on pip is that to install globally, you need to use sudo, and to install locally (either just for you using the I know globally works with Empire, I suspect (but don't know) |
@DakotaNelson Thanks i appreciate the answer,yes thats what i thought, for example if i use as user "pip2 install shodan" i won't be able to use shodan even if i sudo, i had to use "sudo pip2 install shodan" for it to work. But installing globally can lead to security issues so i will try with --user flag but i know it is sometime tricky and won't work. |
If you look at #771 you can set things up using virtualenvs, which will solve the global install problem, but it'll take some work to set up and maintain. Alternately, I think Docker is live now; see https://blog.obscuritylabs.com/docker-command-controll-c2/ to use that instead. |
@DakotaNelson Yes, i made a script to set up a virtual environnement for pip on Empire and Deathstar and managed to make both works without any problems and without using the installer script. So i don't have the Ubuntu repository anymore, and no dependencies error, everything is fine now thanks. A question though, is powershell necessary for Empire, i don't know empire yet and so do not understand the connection between it and powershell... Because it launch fine without powershell, and the powershell scripts are going to be run on another device, so except for developing powershell script, i dont need powershell ? |
So, anyone knows why Empire install Powershell ? I don't understand the reason. |
@cegi It's necessary for the use of Invoke-obfuscation |
Empire Version
From Dev Branch today(because i get "rand" error)
OS Information (Linux flavor, Python version)
Debian testing, Python 2.7.14+,Python 3.6.4rc1
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
I don't understand why Empire add Ubuntu 14 repository in source list to download Powershell instead of just downloading it from Github ? Even downloading the binary release is fine. So any change to the install script possible ? Adding repository break things in my case.
Thanks for the great work
Screenshot of error, embedded text output, or Pastebin link to the error
Any additional information
The text was updated successfully, but these errors were encountered: