KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
eval-gjs
★ 23
Open GitHub ↗
Evaluate GJS script through DBus
Download README (.md)
Explore Similar Repositories
lazyimg
:
Lazy image loading with superpowers
nest-admin
:
基于Nest,通用的后台管理项目
nova-launcher
:
🧛🏻♂️ Dark theme for Nova Launcher (Android)
sveltekit-supabase-realtime-blog
:
No description available.
NFT_Generator
:
Python NFT Generator
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
eval-gjs
?
Download (.md)
> [!CAUTION] > # Potential security breach > This extension enables arbitrary code execution via `Eval()` dbus method. This means when you enable this extension, malicious apps, extensions or scripts can call the said dbus method and run malicious GJS codes on your machine. > [!WARNING] > # Beware of impersonators > The extension at https://extensions.gnome.org/extension/5952/eval-gjs/ was not uploaded nor maintained by me. **Please refrain from installing this extension at all.** > [!TIP] > # Legacy version (GNOME 41-44) > For the legacy version (GNOME 41-44), check out the `legacy` branch first before installing. # Eval GJS GNOME Shell extension As of GNOME 41, the dbus method `Eval()` is now restricted with `MetaContext:unsafe-mode` property (see this [commit](https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1970/diffs?commit_id=f42df5995e08a89495e2f59a9ed89b5c03369bf8)). This extension provides unrestricted `Eval()` dbus method for running arbitrary code in the compositor. ## Features * Run arbitrary GJS code like you would with GNOME `Eval()` dbus method. * `Main`, `Gio`, `GLib` and `Meta` available by default. ## Installation ```sh git clone git://github.com/ramottamado/eval-gjs.git cd eval-gjs make install ``` ## Example usage ```sh gdbus call \ --session \ --dest org.gnome.Shell \ --object-path /dev/ramottamado/EvalGjs \ --method dev.ramottamado.EvalGjs.Eval "Main.overview.show();" ```