Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code=exited, status=1/FAILURE #1921

Closed
user2959216 opened this issue May 9, 2020 · 14 comments
Closed

code=exited, status=1/FAILURE #1921

user2959216 opened this issue May 9, 2020 · 14 comments

Comments

@user2959216
Copy link

I need help to figure out what's wrong because my beef is not able to startup it says:

● beef-xss.service - beef-xss
Loaded: loaded (/lib/systemd/system/beef-xss.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2020-05-09 16:35:03 EEST; 4s ago
Process: 5566 ExecStart=/usr/share/beef-xss/beef (code=exited, status=1/FAILURE)
Main PID: 5566 (code=exited, status=1/FAILURE)

And here's infomation about my system:
os=parrot os
vpn= yes
proxy= no
Hellllpppp!!!!!!!!!!

@bcoles bcoles added the Question label May 9, 2020
@DeezyE
Copy link
Contributor

DeezyE commented May 14, 2020

Is this a new install of Beef?
Which beef version?

@jcrew99
Copy link
Collaborator

jcrew99 commented May 14, 2020

@DeezyE This would be the pre-packaged version of beef by kali.
@xkenraali Can you please describe the kali version and other ENV ?

@jackdwalker
Copy link
Contributor

@jcrew99 note @xkenraali has mentioned that they are using Parrot OS rather than Kali.

@jcrew99
Copy link
Collaborator

jcrew99 commented May 15, 2020

@jackdwalker That's a good point, i think i got my issues messed up.
I will test for the parrot OS as well.

@user2959216
Copy link
Author

my linux version is:
Linux parrot 5.5.0-1parrot1-amd64 #1 SMP Parrot 5.5.17-1parrot1 (2020-04-25) x86_64 GNU/Linux
and beef version:
beef-xss is already the newest version (0.5.0.0+git20191218-0kali2)

@user2959216
Copy link
Author

Need anything else?

@bcoles
Copy link
Collaborator

bcoles commented May 15, 2020

Need anything else?

Are there any logs in dmesg, journalctl, or ~/.beef which might give an indication of the reason for startup failure?

@user2959216
Copy link
Author

idk where i would find those logs i tried /usr/share/beef-xss but no luck

@user2959216
Copy link
Author

user2959216 commented May 15, 2020

Process: 2498 ExecStart=/usr/share/beef-xss/beef (code=exited, status=1/FAILURE)
i found that /usr/share/beef-xss/beef does no exist ??!! would that be the reason?

@bcoles
Copy link
Collaborator

bcoles commented May 15, 2020

idk where i would find those logs i tried /usr/share/beef-xss but no luck

journalctl and dmesg are utilities. You should find them in your $PATH.

~/.beef is a file path. ~ represents the user's home directory. The beef-xss service may (or may not) run as root, in which case the logs would located in /root/.beef. Presuming that BeEF is configured with logging on ParrotOS, you'll find the logs at /root/.beef/beef.log. However:

Process: 2498 ExecStart=/usr/share/beef-xss/beef (code=exited, status=1/FAILURE)
i found that /usr/share/beef-xss/beef does no exist ??!! would that be the reason?

That's not a good sign. Yes, that's probably the reason. I have no idea why or how that happened. Perhaps there's an issue with the beef-xss package on ParrotOS.

Perhaps you could find the directory containing the beef executable and run it from there.

Alternatively, you could try cloning BeEF from GitHub.

@user2959216
Copy link
Author

Ok ill try delete beef and download it from github and not with pip install beef-xss because it seems that the whole parrot's pip and apt is broken.

@bcoles
Copy link
Collaborator

bcoles commented May 15, 2020

Ok ill try delete beef and download it from github and not with pip install beef-xss because it seems that the whole parrot's pip and apt is broken.

BeEF is written in Ruby. pip is used to managing Python packages.

@user2959216
Copy link
Author

ya but when i got problems by installed by pip after that i tried apt but still not work...

@user2959216
Copy link
Author

Omg i got it working!!! i did these commands:
git clone https://github.com/beefproject/beef/
cd beef
./install
./update-geoipdb
nano config.yaml
and changed username and password
./beef
and it worked thank so much for your help i wouldnt have motivation to do this my self :) !

@bcoles bcoles closed this as completed May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants