aveyo / leanandmean Goto Github PK
View Code? Open in Web Editor NEWsnippets for power users
License: MIT License
snippets for power users
License: MIT License
Can you come back to mydigitallife and help us?
I'm sure you are one of the rare people who can write the uupdump module as a powershell script.
System privileges are enough to perform most Windows OS editing, but unlike running as TI, running as System does not require debugging privileges to be enabled for administrators. It makes running as system a more limited, but also a safer option compared to running as TI. I'd appreciate a RunAsSystem context menu script that works when debugging is disabled for administrators.
When opening the Windows 11 Explorer with RunAsTI (e.g. right clicking on a folder and clicking 'Open as TrustedInstaller'), there's now quite a few issues in the latest versions.
However, running control
with RunAsTI and then pressing the up arrow in the toolbar completely fixes this, and you can use Explorer as normal.
Right now I can't see whether the script was successful or not.
?
This script was used in a ransomware attack at a company my brother works for.
Is there a 'reverse' script, one that undoes everything that's been done?
Hello,
downloaded and placed RunAsTI.bat file in to %windir%/system32
restarting computer, open a cmd elevated:
call RunAsTI.bat mybatchfile.cmd
or
call %windir%/system32/RunAsTI.bat mybatchfile.cmd
`@echo off
setlocal EnableDelayedExpansion
whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
call RunAsTI.cmd "%~f0" "%*"
exit /b
)
del /q/f/s !windir!\temp*.*`
file are not deleted.
if opening a cmd and execute the command, it work fine
del /q/f/s !windir!\temp\*.*
Hey, made a cool hybrid and thought about you, it's got some aspects still rusty, feel free to have fun with it ๐
<# : @couleurm on github
@echo off & set a=%* &REM to join multiple strings as arrays
::set a=%a:" "=","%
set a=%a:"=\^"%
PowerShell "& (& {[Scriptblock]::Create((Get-Content \"%~f0\" -Raw))}) %a%" & exit /b
#>
param(
$argument,
[Parameter(ValueFromRemainingArguments = $true)]
[System.Collections.Arraylist]
$rest
)
"argument"
$argument
"rest"
$rest
Similar to the more common "open command prompt here" or "open command prompt here as admin".
(for directories & directory background)
Thanks.
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.