Advanced Search
Search Results
312 total results found
Metasploit Framework
msfvenom
Linux Shell Command
LD_PRELOAD Useful in privilege escalation scenarios where sudo command is configured with: env_keep += LD_PRELOAD, env_keep += LD_LIBRARY_PATH, or something to the same effect. msfvenom -p linux/x64/exec CMD="/bin/bash -ip" AppendExit='true' -f elf-so -o cmd...
Clustering: Same ZFS Pool on All Nodes
Example Configuration Showing clustered PVE nodes I have a ZFS volume called Guest_Disks that stores Disk image and Container data that is allocated to the rackdrives ZFS pool Migrating VMs between Nodes The Problem In order to migrate VMs and...
Cluster Management
Adding Additional Storage Disks
Before When installing PVE, you have the option to create a LVM Thin pool or a ZFS Pool, which both support Thin Provisioning and Snapshots. In the case of the node below, it was created with a ZFS Pool which is labeled as local-zfs. This is where VM and LXC ...
SUID -> PATH Exploit Chain
In this example, assume there's a SUID binary that calls gzip by it's relative name, resolving gzip wherever it happens to be in the current user's $PATH variable. We use PrependSetresuid='true' to ensure the binary retains SUID permissions. SSH Persistence ...
Generate New UUID4
echo $(cat /proc/sys/kernel/random/uuid)
VirtualBox
Windows Host: Create Cloud-Init ISO File
Example comes from my VirtualBox cybersecurity lab project mkdir "$env:USERPROFILE\Desktop\cloud-init-iso" [System.IO.File]::WriteAllText("$env:USERPROFILE\Desktop\cloud-init-iso\meta-data", @" instance-id: i-$(Get-Random) local-hostname: test-server "@, [Syst...
PowerShell: Configure Network Interface
Static Configuration Get-NetIPConfiguration -Detailed | Select-Object InterfaceAlias, AllIPAddresses, @{Name='DnsServer'; Expression = {$_.DNSServer.ServerAddresses}} | Format-List List current network configurations Must be run as Administrator to configure...
Proxmox Backup Server (PBS) on Synology
Preparing Synology NAS
Virtual Machine Manager (VMM) Ensure you've installed the Virtual Machine Manager (VMM) package Check NFS Version Ensure NFSv4.1 is enabled PBS Service Account We'll create a service account for use with CIFS in case you prefer that option. In a later step,...
Install Proxmox Backup Server
Virtual Machine Manager (VMM) Download Proxmox Backup Server ISO https://www.proxmox.com/en/downloads/proxmox-backup-server/iso Upload ISO to VMM Open VMM > Image > ISO File > Add > From computer Upload successful Create VM Add Network (as needed) Click Ne...
Map NFS Share in PBS
Firewall Example rule in pfSense allowing PBS servers to reach ports (including NFS) on NAS servers Ports: 111 892 2048 Configure Share Permissions Create NFS Rule Go to Control Panel > Shared Folder > Right-click folder > Edit Go to NFS Permissions tab >...
Add Datastore to PBS
Add Datastore Click "Add Datastore" Low garbage collection to reduce wear and tear https://pbs.proxmox.com/docs/prune-simulator/ Click "Verify Jobs" > Add 24 hours after garbage collection schedule
Add PBS to Proxmox VE
Example Firewall Rule Ports: 8007 Add PBS to PVE Get PBS Fingerprint Click the "Show Fingerprint" button Add Storage to PVE Datacenter Log into PVE > Datacenter > Storage > Add > Proxmox Backup Server Also, paste in your PBS Fingerprint Auto-generate you...