28.07.2020

gelecek konular

- dracut
- d-bus
- polkit

- text file encodings OK 2025-04-03

- process monitor sürekli çalıştırma
- powershell jobs OK 2023-10-10
- selinux
- iptables OK 2021-08-03

- vim on windows

- running something with System account (Nsudo?) https://superuser.com/questions/1643290/how-do-you-run-an-application-as-trustedinstaller-or-system-without-using-extern

$ConfirmPreference = "None"
$isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
if (-not $isAdmin) {
    Start-Process powershell -ArgumentList "-NoProfile -File `"$PSCommandPath`"" -Verb RunAs
    exit
}
Set-ExecutionPolicy -ExecutionPolicy bypass
Install-Module -Name NtObjectManager
Start-Service -Name TrustedInstaller
$parent = Get-NtProcess -ServiceName TrustedInstaller
$proc = New-Win32Process cmd.exe -CreationFlags NewConsole -ParentProcess $parent
$ConfirmPreference = "High"

- run procmon at logon

- spf

- dkim 

Hiç yorum yok: