Exploit with SeBackupPrivilege
.
You need to setup NTFS Disk to support remote windows backup.
# Create 2G Disk
#!/bin/bash | |
# Usage: ./minio-upload my-bucket my-file.zip | |
bucket=$1 | |
file=$2 | |
host=minio.example.com | |
s3_key=svc_example_user | |
s3_secret=svc_example_user_password |
{ | |
"log": { | |
"level": "info", | |
"timestamp": true | |
}, | |
"dns": { | |
"servers": [ | |
{ | |
"tag": "dns_proxy", | |
"address": "tls://dns.google", |
#! /bin/bash | |
interface="$(ip tuntap show | cut -d : -f1 | head -n 1)" | |
gatewayip=`ip -j route list table all | jq -r '.[] | select(.dev=="'$interface'") | .gateway' | grep -v null | head -n 1` | |
localip=`ip -j route list table all | jq -r '.[] | select(.dev=="'$interface'") | .prefsrc' | grep -v null | head -n 1` | |
delay=`ping $gatewayip -W 1 -c 1| awk -F'/' 'END{ print (/^rtt/? ""$5" ms":"") }'` | |
if [[ $interface == '' ]]; then | |
echo "" ; | |
else |
#! /bin/bash | |
# Please note that the script runs in base64 to prevent spoilers. | |
# If you're done, you can decode the base64. | |
# container port | |
port=8888 | |
echo ' *** This is script used to create Hackable sqli-lab container *** ' | |
echo 'Please Note that: After patch it, You can get a root shell !!' |
#! /bin/python3 | |
# add crontab | |
# * * * * * /bin/update_openwrt | tee /update_openwrt.log | |
import subprocess,sys,time,os | |
from netaddr import IPAddress,IPNetwork | |
# simple config openwrt in docker | |
# by manesec |
Errors like this appear when you start elasticsearch in a container:
$ journalctl -xe
Dec 27 16:50:17 elasticsearch-03 mount[62]: mount: /sys/kernel/config: cannot mount configfs read-only.
Dec 27 16:50:17 elasticsearch-03 systemd-sysctl[63]: Couldn't write '262144' to 'vm/max_map_count', ignoring: Read-only file system
Dec 27 16:50:17 elasticsearch-03 systemd-sysctl[63]: Couldn't write '1' to 'fs/protected_hardlinks', ignoring: Read-only file system
Dec 27 16:50:17 elasticsearch-03 systemd-sysctl[63]: Couldn't write '1' to 'fs/protected_symlinks', ignoring: Read-only file system
$ /etc/init.d/elasticsearch status
#!/usr/bin/env bash | |
## Script to install docker-ce on Rocky Linux | |
## Run using `sudo rocky-docker.sh` | |
# Ensuring "GROUP" variable has not been set elsewhere | |
unset GROUP | |
echo "Removing podman and installing Docker CE" | |
dnf remove -y podman buildah |
// ==UserScript== | |
// @name moodle midden click auto locate resource file. | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description moodle midden click auto locate resource file. | |
// @author manesec | |
// @match https://ummoodle.um.edu.mo/mod/resource/view.php?id=* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== |