zamotany / logkitty Goto Github PK
View Code? Open in Web Editor NEWDisplay pretty Android and iOS logs without Android Studio or Console.app, with intuitive Command Line Interface.
License: MIT License
Display pretty Android and iOS logs without Android Studio or Console.app, with intuitive Command Line Interface.
License: MIT License
0.7.1
is already available here: https://www.npmjs.com/package/logkitty
The latest tag in this repo still shows 0.7.0
though.
Please push the latest release tag to the repo. Thanks!
I can't select the device that I want to log
In the example it was a physical device and AVD emulator
✖︎ Ups, something went wrong
CODE ▶︎ ERR_ANDROID_CANNOT_GET_APP_PID
MESSAGE ▶︎ Command failed: adb shell pidof -s co.solarismobile.animal.puzzle
error: more than one device/emulator
I had some trouble getting messages saying that "adb" is not a recognized internal command.
So i had to open the source code to realize that logkitty uses the "ANDROID_HOME" variable.
But according to Android site, ANDROID_HOME is now deprecated in favor of ANDROID_SDK_ROOT.
https://developer.android.com/studio/command-line/variables
Also would be good to improve the error message saying where is logkitty looking for, since google results says to set the Path variable.
This package uses [email protected]
which contains a vulnerable dependency: zamotany/ansi-fragments#21
When a new version of ansi-fragments
is released, it should be updated.
This issue has been generated on-behalf of Mik317 (https://huntr.dev/app/users/Mik317)
I would like to report a RCE
issue in the logkitty
module.
It allows to execute arbitrary commands remotely inside the victim's PC
The issue occurs because a user input
is formatted inside a command
that will be executed without any check. The issue arises here: https://github.com/zamotany/logkitty/blob/master/src/android/adb.ts#L55
HACKED
.npm i logkitty # Install affected module
logkitty android app 'test; touch HACKED' # Note the *touch command* is inside the *'* (single quote), so it's an argument, while it will be executed anyway
HACKED
has been created.We have opened up a bounty for this issue on our bug bounty platform. Want to solve this vulnerability and get rewarded 💰? Go to https://huntr.dev/
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.