I hereby claim:
- I am kimusan on github.
- I am kimschulz (https://keybase.io/kimschulz) on keybase.
- I have a public key whose fingerprint is 1516 5D81 3671 452D 7E59 303D 074E 93D9 645F C9DD
To claim this, I am signing this object:
#!/usr/bin/perl | |
# Script for updating DS records for .dk domains | |
# | |
# The following argument must be provided: | |
# --ns - You authorative nameserver you trust | |
# --zone - The zone you want to update DS records for | |
# --handle - Your DKHM handle | |
# --pasword - Your DKHM password | |
# |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
voltage() { cat /sys/class/power_supply/fusb302-typec-source/voltage_now; } | |
voltage_actual() { cat /sys/class/power_supply/max170xx_battery/voltage_now; } | |
current_actual() { cat /sys/class/power_supply/max170xx_battery/current_now; } | |
current() { cat /sys/class/power_supply/fusb302-typec-source/current_max; } | |
current_limit() { cat /sys/class/power_supply/bq24190-charger/input_current_limit; } | |
capacity() { cat /sys/class/power_supply/max170xx_battery/capacity; } | |
breaker() { echo "------------------------------------------------------"; } | |
echo "Voltage: $(expr `voltage` / 1000000)V DC" |
// find javascript gadgets -- | |
// forked => https://gist.github.com/nikitastupin/b3b64a9f8c0eb74ce37626860193eaec | |
// ref => https://github.com/BlackFan/client-side-prototype-pollution | |
// ref => https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#prototype-pollution | |
// updated; @dualfade -- | |
// start -- | |
// check for known gadgets -- | |
(() => { | |
// gadgets -- |
function interceptNetworkRequests(ee) { | |
const open = XMLHttpRequest.prototype.open; | |
const send = XMLHttpRequest.prototype.send; | |
const isRegularXHR = open.toString().indexOf('native code') !== -1; | |
// don't hijack if already hijacked - this will mess up with frameworks like Angular with zones | |
// we work if we load first there which we can. | |
if (isRegularXHR) { |
#!/usr/bin/env python3 | |
# SPDX-License-Identifier: 0BSD or CC0-1.0 or MIT-0 or Unlicense | |
# Copyright (c) 2023, Ryan Castellucci, No Rights Reserved | |
import io, sys | |
import datetime | |
import argparse | |
import requests | |
import operator | |
import struct |