Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Isaksen dunielpls

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am dunielpls on github.
  • I am duniel (https://keybase.io/duniel) on keybase.
  • I have a public key ASBRqvY6-0CI7wQWi6vsHXkesG1xQkSOdDquwa5nPiCQQQo

To claim this, I am signing this object:

@dunielpls
dunielpls / ping_host.py
Last active Mar 29, 2020
run fping and parse its output, "unreachable" or json stats. requires python 3.5. made for use with zabbix.
View ping_host.py
#!/usr/bin/env python3
import sys
import json
import subprocess
# '1.1.1.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 1.35/1.35/1.35'
def parse(s):
data = {}
View iot_credentials.txt
root:xc3511
guest:guest
guest:12345
root:root
root:admin
root:realtek
root:1234
root:12345
root:123456
root:1111