hellais / buckle-up Goto Github PK
View Code? Open in Web Editor NEWScript for running Mac OS X applications in a sandbox and a collection of seatbelt profiles
Script for running Mac OS X applications in a sandbox and a collection of seatbelt profiles
I get the following error when I attempt to list sandbox profiles
ironcross:Buckle-Up sk$ ./buckleup.py -l
[-] Listing Buckle Up sandbox profiles...
Traceback (most recent call last):
File "./buckleup.py", line 220, in
b = BuckleUp()
File "./buckleup.py", line 30, in init
self.argument_parser()
File "./buckleup.py", line 204, in argument_parser
self.list()
File "./buckleup.py", line 145, in list
for sb in self.sb_list():
File "./buckleup.py", line 137, in sb_list
sb = self.parse_sb(file)
File "./buckleup.py", line 62, in parse_sb
f.close()
UnboundLocalError: local variable 'f' referenced before assignment
ironcross:Buckle-Up sk$ tree
.
├── Readme.md
├── buckleup.py
└── profiles
├── Tweetdeck-profile.sb
├── VLC-profile.sb
├── Ventrilo-profile.sb
├── adium.sb
├── firefox-profile-10.5.sb
├── firefox-profile-10.7.sb
├── firefox-profile.sb
├── firefox.sb
├── template.sb
└── vienna.sb
I googled and can't seem to find what exactly this variable is and where it comes from. I'm not sure if this is happening because I don't have a particular software package installed - but it appears it's not stock on a 10.6.8 OSX MBP.
ironcross:Buckle-Up sk$ ./buckleup.py -r adium
[-] Running adium
launch command sandbox-exec -f /Users/sk/Documents/Research/Security/sandbox_scripts/Buckle-Up/profiles/adium.sb /Applications/Adium.app/Contents/MacOS/Adium
sandbox-exec: line 32: unbound variable: iokit-open
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.