All Projects β†’ augustoproiete β†’ i-am-root-nuget-package

augustoproiete / i-am-root-nuget-package

Licence: Apache-2.0 license
πŸ“¦πŸ΄β€β˜ οΈ NuGet package that shows we can run arbitrary code from any NuGet package

Programming Languages

C#
18002 projects
powershell
5483 projects
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to i-am-root-nuget-package

AutoAirplaneMode
✈️ Automatic Aiplane Mode for Android
Stars: ✭ 15 (-31.82%)
Mutual labels:  root
XcodeCommentWrapper
Xcode extension for wrapping comments
Stars: ✭ 29 (+31.82%)
Mutual labels:  code
strados
Transform OBD2 data from your car into human readable data
Stars: ✭ 27 (+22.73%)
Mutual labels:  nuget
GTAV-Self-driving-car
Self driving car in GTAV with Deep Learning
Stars: ✭ 15 (-31.82%)
Mutual labels:  code
BlazorTimeline
Responsive, vertical timeline component.
Stars: ✭ 56 (+154.55%)
Mutual labels:  nuget
dark-sky-core
A .NET Standard Library for using the Dark Sky API.
Stars: ✭ 55 (+150%)
Mutual labels:  nuget
tenda-reverse
Reverse engineering, getting root access to Tenda MW6 wifi mesh router
Stars: ✭ 90 (+309.09%)
Mutual labels:  root
CSJsonDB
A C# package that performs basic CRUD ( Create, Read, Update, Delete ) operations on a Json file, used for sample minimalistic DBs.
Stars: ✭ 75 (+240.91%)
Mutual labels:  nuget
UnityAssemblies
Simple, forward-compatible references to ANY Unity DLL on ANY platform.
Stars: ✭ 65 (+195.45%)
Mutual labels:  nuget
PortaCapena.OdooJsonRpcClient
Odoo Client Json Rpc
Stars: ✭ 39 (+77.27%)
Mutual labels:  nuget
Android-Live-Templates
A curated android live templates to make your android development more fastπŸš€ and easy✨.
Stars: ✭ 197 (+795.45%)
Mutual labels:  code
Fissoft.EntityFramework.Fts
Full Text Search for Microsoft SQL Server with Entity Framework
Stars: ✭ 55 (+150%)
Mutual labels:  nuget
DomainResult
Tiny package for decoupling domain operation results from IActionResult and IResult types of ASP.NET Web API
Stars: ✭ 23 (+4.55%)
Mutual labels:  nuget
vscode-in-docker
Run VSCode inside of a Docker Container
Stars: ✭ 22 (+0%)
Mutual labels:  code
MQTTnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 3,309 (+14940.91%)
Mutual labels:  nuget
groot-api-gateway
API Gateway for the Groot project written in Arbor
Stars: ✭ 12 (-45.45%)
Mutual labels:  groot
hastebin-bot
An opensource bot for Discord that posts data to Hastebin
Stars: ✭ 22 (+0%)
Mutual labels:  code
EntryCustomReturnPlugin
Xamarin.Forms Plugin to customize the Xamarin.Forms.Entry Keyboard Return Button
Stars: ✭ 81 (+268.18%)
Mutual labels:  nuget
BilibiliLiveRecordDownLoader
Bilibili η›΄ζ’­ε½•εˆΆδΈŽε›žζ”ΎδΈ‹θ½½
Stars: ✭ 422 (+1818.18%)
Mutual labels:  nuget
PhoneCountryCodePicker
An iOS tableview picker for PhoneCountryCode (English & Chinese supported)
Stars: ✭ 31 (+40.91%)
Mutual labels:  code
README.md
IAmRoot NuGet Package

IAmRoot NuGet Package

This project demonstrates that any NuGet package can run arbitrary code on your machine.

NuGet Version Stack Overflow

TL;DR; Installing NuGet packages is (and have always been) a security risk, and you should only install packages from trusted sources and trusted authors.

Background

NuGet used to support PowerShell scripts that could be run manually by developers, or run automatically by NuGet, for example, after packages were installed (install.ps1) or uninstalled (uninstall.ps1), which was useful for packages that needed to perform an initial setup and clean-up things after, on uninstall.

With NuGet v3 and PackageReference, PowerShell script support was modified to no longer execute install and uninstall scripts, with one of the reasons being that they are tightly-coupled to Visual Studio, and inheritantly not cross platform.

Microsoft didn't provide any real alternative or migration path from install.ps1 causing frustration among developers and in September of 2017 the NuGet team started tracking an issue to come up with a strategy for packages that have install.ps1/uninstall.ps1 which, as of this writing over two years later, didn't seem to have any progress.

In discussions, many developers seem to have the false sense that installing NuGet packages became a "safe" operation after Microsoft dropped support for executing PowerShell scripts (e.g. install.ps1), which is not true.

Installing NuGet packages is (and have always been) a security risk, and you should only install packages from trusted sources and trusted authors.

How to Run πŸš€

Add the IAmRoot package from nuget.org in any project:

> dotnet add package IAmRoot

or

PM> Install-Package IAmRoot

Build the project where the IAmRoot NuGet package was installed: Build project screenshot

Your default internet browser should open and display the image below: I Am Root image

Release History

Click on the Releases tab on GitHub.


Copyright Β© 2019-2021 C. Augusto Proiete & Contributors - Provided under the Apache License, Version 2.0. Groot logo is a derivative of work by Vectto (original).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].