Skip to content

Instantly share code, notes, and snippets.

@MikeeI
MikeeI / chromeautologin.ps1
Created May 9, 2023 18:54 — forked from seieric/chromeautologin.ps1
Google Chromeに1クリックで自動的にログイン / Log in to Google Chrome automatically with only one click (PowerShell)
Add-Type -AssemblyName System.Windows.Forms;
$login_email = "[email protected]"; #Your login e-mail address
$passwd = "example_password"; #Your password
Start-Process chrome.exe -ArgumentList "https://accounts.google.com/signin/chrome/sync/identifier?ssp=1&continue=https%3A%2F%2Fwww.google.com%2F&flowName=GlifDesktopChromeSync" -PassThru;
Start-Sleep -s 3;
[System.Windows.Forms.SendKeys]::SendWait($login_email);
Start-Sleep -m 100;
[System.Windows.Forms.SendKeys]::SendWait("{ENTER}");
@MikeeI
MikeeI / ssrf_iframe.svg
Last active April 5, 2022 17:02 — forked from akhil-reni/ssrf_iframe.svg
SVG Foreign Objects IFrame SSRF
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MikeeI
MikeeI / oneliner.sh
Created February 3, 2022 17:31 — forked from royalgarter/oneliner.sh
Oneliners shellscript
System information commands
===========================
(*) #su Show only errors and warnings: `dmesg --level=err,warn`
(*) View dmesg output in human readable format: `dmesg -T`
(*) Get an audio notification if a new device is attached to your computer: `dmesg -tW -l notice | gawk '{ if ($4 == "Attached") { system("echo New device attached | espeak") } }`
(*) Dmesg: follow/wait for new kernel messages: `dmesg -w`
(*) The proper way to read kernel messages in realtime.: `dmesg -wx`
(*) Query graphics card: `lspci -nnk | grep -i VGA -A2`
@MikeeI
MikeeI / customKali.sh
Created January 21, 2022 00:44 — forked from mikiminoru/customKali.sh
Update OS, download and install tools from other repositories to customize Debian.
#=======================================================#
#Update used tools after new installation #
#Credits: @mikiminoru and the developers used tools's #
#=======================================================#
#set the keyboard languaje and the directory (instead of 'es' you can choose your native languaje)
setxkbmap es
cd ~/
@MikeeI
MikeeI / _how-to.md
Created November 8, 2021 16:13 — forked from glennschler/_how-to_algovpn_1.md
Algo VPN configs and scripts
  • First follow the Algo instructions to install requirements. Confirm the python virtual environment prompt is shown

  • Download the modified config.cfg. Edit as needed

curl -o config.cfg https://gist.githubusercontent.com/glennschler/8edcadb6ba5e151898774441dbffb739/raw/04ce253a5b2a304a77d12968966c3d1a1eb65898/config.cfg
  • Prepare the ansible-vault of aws_secrets
mkdir vars
@MikeeI
MikeeI / mobileconfig-letsencrypt.md
Last active October 31, 2021 16:37 — forked from Fastidious/mobileconfig-letsencrypt.md
Sign mobileconfig files with Letsencrypt
#!/bin/bash

certs="/etc/letsencrypt/live/ievents.me"

openssl smime \
    -sign \
    -signer ${certs}/cert.pem \
    -inkey ${certs}/privkey.pem \
 -certfile ${certs}/chain.pem \
@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"
@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