Gnarly little "one liner" in awk
and bash
. Searches for running processes and displays the PID and command line for any matches, in JSON format.
Usage:
This project aims to enhance the Minecraft Bedrock gaming experience by providing players with detailed statistics about their in-game activities. It consists of two main components: a Minecraft Bedrock addon and a Windows application. The addon collects and saves player statistics such as miles traveled and damage done, then sends these stats to a central database. The Windows application fetches this data and displays it to the logged-in player using native Windows APIs, creating a seamless and informative user experience.
"I'm in," you say in your best hacker voice.
After all your hard work, you manage to get a reverse shell going. There's just one problem... No sudo
privileges.
If you don't have the su
password or aren't on the sudoers
list, you'll need to explore potential privilege escalation techniques in order to crown yourself king of the castle and pwn with impunity. In this document, we'll discuss a few common avenues one might pursue in order to gain unauthorized root access on a system.
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
flowchart-elk TD
E -.-> F(Feel Increased Stress and Anxiety)
F -.-> G(Promise to Start Later)
G -.-> H(Deadline Approaches)
H -.-> A
A(Feeling Overwhelmed) -.-> B(Procrastination Begins)
B -.-> C(Engage in Distracting Activities)
function Get-InstalledSoftware { | |
<# | |
.SYNOPSIS | |
Retrieves a list of all software installed on the system and their corresponding 128-bit Windows GUID. | |
.PARAMETER Name | |
The software title you would like to limit the query to. | |
.PARAMETER Format | |
The output format for the retrieved software list. Can be 'JSON' or 'XML'. |
-8591900330462080048
923372438967185305
-1940305225479694039
9058007704254504711
6344678308688416548
<# | |
.SYNOPSIS | |
Displays detailed information about TCP, UDP, and Unix domain socket connections. | |
.DESCRIPTION | |
The Get-AllConnections function retrieves TCP, UDP, and Unix domain socket connections, | |
and provides detailed information about the associated processes and services, particularly for svchost.exe. | |
.PARAMETER OutputFormat | |
Specifies the output format. Valid options are 'Table', 'JSON', and 'XML'. Default is 'Table'. |
flowchart TD
subgraph Introduction
A1[Purpose: Develop a speech synthesis model integrating user feedback]
end
subgraph Components_Overview
B1[User Prompt: Text input from user]
B2[Tokenizer: Converts text to tokens]
B3[Model Weights: Parameters of the model]
from typing import Iterable, Optional, SupportsIndex, overload, override | |
class Char(str): | |
"""Single character string or empty string wrapper.""" | |
def __new__(cls, value: str) -> "Char": | |
if len(value) > 1: | |
raise ValueError("A Char must be a string of length 0 or 1") | |
return super().__new__(cls, value) |