Comments (8)
Very weird. Never had a permission issue with that directory, persistence doesn't need root.
Are you running any anti-virus software (this might be blocking writing to the LaunchAgents directory)?
from evilosx.
No, it's a fresh new Macbook Air, did exactly nothing with it, except for trying to run the payload. Really weird.
from evilosx.
https://github.com/Marten4n6/EvilOSX/blob/master/EvilOSX.py#L342 is the line which decides which directory the launch agent is written to, could you change this line to:
return os.path.expanduser("~/Library/LaunchDaemons")
Once you've changed this line you can build a new payload and it'll use this directory, hopefully this fixes the issue.
from evilosx.
Unfortunately not working, no permission without root and Library/LaunchDaemons does not exist on my device. I tried again with root and he is creating the folder then.
Output with root:
[DEBUG] setup_persistence:277 - Creating launch agent...
[DEBUG] setup_persistence:302 - Moving EvilOSX...
[DEBUG] setup_persistence:312 - Loading launch agent...
[ERROR] setup_persistence:326 - Unexpected output: /Users/xxxxx/Library/LaunchDaemons/oiou.plist: Path had bad ownership/permissions
[INFO] main:383 - Receiving command...
[WARNING] main:446 - Failed to connect to the server.
from evilosx.
Library/LaunchDaemons does not exist on my device.
That doesn't matter, EvilOSX will create the directory.
I have a feeling you accidentally ran a payload as sudo before and are now trying to run another payload without sudo. This won't work since EvilOSX would of created the directories with the owner set to root so you won't have permission to write to it.
from evilosx.
Closing due to inactivity, feel free to reopen this issue.
from evilosx.
Did a factory reset on the device and tried again. Now I'm getting this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 24, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open
context=self._context)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 61] Connection refused>
Do you know what's wrong? I don't want to try to open with root access, but I think that it has nothing to do with the permission. Thank you.
from evilosx.
urllib2.URLError: <urlopen error [Errno 61] Connection refused>
You need to start the server.
from evilosx.
Related Issues (20)
- Module Server Error - Incorrect Padding (Screenshot module) HOT 5
- httplib.BadStatusLine: No status line received - the server has closed the connection HOT 3
- Can't launch GUI
- Info: This project is no longer maintained. Just read the README and wait for the new one HOT 1
- Cannot run builder to build payload
- bots are not joining
- When will the new version appear? HOT 4
- decrypt.mme file & get_history not working
- Screenshot Module - error returns - incorrect padding | fix provided - read details
- Webcam Module - not working | fix provided - read details
- Download module - not working when zipping files | fix provided - read details
- ModuleNotFoundError: No module named 'Cryptodome' HOT 4
- Python 3 conversion
- Bot Folder converting to bytes
- RubberDucky script not working?
- python launcher just makes another file HOT 1
- urllib2.URLError: <urlopen error [Errno 61] Connection refused>
- the start.py is not working
- Evil
- python start.py HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evilosx.