Comments (1)
--> update /usr/lib/appscope/dev/libscope*
$ sudo ./bin/linux/x86_64/scope ls
--> put scope in the PATH
$ sudo ln -s /home/ubuntu/appscope/bin/linux/x86_64/scope /usr/local/bin/scope
--> create ld.so.preload
$ sudo touch /etc/ld.so.preload
$ sudo chmod ga+w /etc/ld.so.preload
$ echo /usr/lib/appscope/dev/libscope.so > /etc/ld.so.preload
$ cat /etc/ld.so.preload
--> test a couple commands
$ scope ls
LICENSE cleanup_after_start.sh config2.json coverage docker.log extract_symbols.sh .....
$ sudo scope ls
unknown command "ls" for "scope"
Did you mean this?
k8s
logs
ps
--> command line option not processed with sudo?? remove ld.so.preload and it works
truncate --size 0 /etc/ld.so.preload
$ sudo scope ls
WARNING: Session history will be stored in /root/.scope/history and owned by root
LICENSE cleanup_after_start.sh config2.json coverage docker.log ......
--> put ld.so.preload back and it fails
$ echo /usr/lib/appscope/dev/libscope.so > /etc/ld.so.preload
$ sudo scope ls
unknown command "ls" for "scope"
Did you mean this?
k8s
logs
ps
--> remove scope from the PATH and it works
$ sudo rm /usr/local/bin/scope
$ sudo scope ls
WARNING: Session history will be stored in /root/.scope/history and owned by root
LICENSE cleanup_after_start.sh config2.json coverage docker.log ......
--> starts bash as root and it works
$ sudo bash
$ scope ls
works....
from appscope.
Related Issues (20)
- Mount the socket dir not the socket file
- Go build error with ld.so.preload enabled HOT 2
- top on Fedora error HOT 1
- Config is not getting set correctly in rules file or in attach when using filter --add HOT 6
- scope attach --inspect <pid> from container to host can return error when successful HOT 1
- Warning when scoping an an application that has the s bit set
- Use symbolic link to avoid two appscope libraries in one process
- [Bug]: Missing payload (request) using `host` app HOT 1
- Timeouts seen with appscope/edge integration HOT 2
- DNS tunelling/exfiltration POC HOT 3
- File system obfuscation
- Add support for sending the payloads using event channel HOT 3
- LD_PRELOAD is not set in some cases when exec'ing into a container that was started after a scope rule was added
- Unable to exec into container after re-adding a scope rule HOT 4
- Connection Graph HOT 1
- [Bug]: Sending payloads with cribl/event transport type - inconsistency with channel type
- Memory Snapshot on Command HOT 1
- Attempt to mount non-existent directory from host into container HOT 2
- Updates needed to CI
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 appscope.