Skip to content

Instantly share code, notes, and snippets.

@MikeeI
MikeeI / scanio.sh
Created August 17, 2021 18:17 — forked from haccer/scanio.sh
PoC script to mass-locate vulnerable subdomains using results from Rapid7's Project Sonar
#!/bin/bash
# Usage : ./scanio.sh <save file>
# Example: ./scanio.sh cname_list.txt
# Premium
function ech() {
spinner=( "|" "/" "-" "\\" )
while true; do
for i in ${spinner[@]}; do
echo -ne "\r[$i] $1"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MikeeI
MikeeI / prometheus-install.sh
Last active July 24, 2021 19:49 — forked from cfbarbero/prometheus-userdata.sh.tpl
prometheus-install.sh
#!/bin/bash
prometheus_version=$1
sudo useradd --no-create-home --shell /bin/false prometheus
sudo mkdir /etc/prometheus
sudo mkdir /var/lib/prometheus
sudo chown prometheus:prometheus /etc/prometheus
sudo chown prometheus:prometheus /var/lib/prometheus
curl -LO https://github.com/prometheus/prometheus/releases/download/v$prometheus_version/prometheus-$prometheus_version.linux-amd64.tar.gz
tar xvf prometheus-$prometheus_version.linux-amd64.tar.gz
sudo cp prometheus-$prometheus_version.linux-amd64/prometheus /usr/local/bin/
const ids = {
'www.mediamarkt.de': [
2661939,
2661938
],
'www.mediamarkt.at': [
1716302,
1797340,
1797339,
1821625,
#!/usr/bin/bash
# Finde alle Filmordner
MOVIES=$(find . | grep STREAM$)
# Für jeden Film:
for M in $MOVIES
do
# Liste alle Filmdateien auf
#!/usr/bin/bash
# Finde alle Filmordner
MOVIES=$(find . | grep STREAM$)
# Für jeden Film:
for M in $MOVIES
do
# Liste alle Filmdateien auf
@MikeeI
MikeeI / index.html
Last active December 4, 2020 18:03 — forked from corburn/index.html
Minimal HTML5
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>title</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
@MikeeI
MikeeI / set_apple_remote_desktop_to_use_directory_based_management_permissions.sh
Created November 19, 2020 16:21
set_apple_remote_desktop_to_use_directory_based_management_permissions.sh
#!/bin/bash
error=0
# To use this script to assign Apple Remote Desktop permissions, define the following:
#
# The username of the account that needs to be assigned Apple Remote Desktop permissions.
# The name of the Apple Remote Desktop management group which assigns the right permissions.
#
# The Apple Remote Desktop group permissions are defined below:
@MikeeI
MikeeI / Wireguard_Install_2020_01_13.sh
Last active January 13, 2020 14:57
Wireguard_Install_2020_01_13.sh
sudo add-apt-repository ppa:wireguard/wireguard
sudo apt-get update -y
sudo apt-get install -y libmnl-dev libelf-dev linux-headers-$(uname -r) build-essential pkg-config
sudo apt-get install -y wireguard
sudo apt-get install -y resolvconf
sudo modprobe wireguard && lsmod | grep wireguard
sudo wg-quick up wg0
@MikeeI
MikeeI / gist:96a1264b8139e73469d98affe9fad26c
Created November 28, 2019 16:39
Script - Geekbench 4
wget http://cdn.geekbench.com/Geekbench-4.2.2-Linux.tar.gz
tar -zxvf Geekbench-4.2.2-Linux.tar.gz
cd Geekbench-4.2.2-Linux
./geekbench_x86_64
echo END