Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 134ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
B

BPJM

Recently created Least recently created Recently updated Least recently updated
scusi

scusi / ConvertBinaryBpjmData.sh

Last active 6 months ago BPJM
0 0 1
1 #!/bin/sh
2 #
3 # USAGE:
4 # $> ./ConvertBinaryBpjmData.sh bpjm.data
5 #
6
7 RAWFILE=$1
8 OUTFILE=`strings $RAWFILE | head -n 1`
9
10 od -t x1 -An -j 64 $RAWFILE | tr -d '\n ' > $OUTFILE
scusi

scusi / parseFritzBpjmFile.go

Last active 6 months ago BPJM FritzBox golang
0 0 1
1 // parse a FritzBox Bpjm File
2
3 package main
4
5 import (
6 "os"
7 "fmt"
8 "bytes"
9 "io"
10 "io/ioutil"
scusi

scusi / bpjm.go

Last active 6 months ago BPJM FritzBox golang

go lib to scope with BPJM Lists

0 0 1
1 // go library to scope with the BPjM Censorship list
2
3 package Bpjm
4
5 import (
6 "net/url"
7 "regexp"
8 "crypto/md5"
9 "strings"
10 "bytes"
scusi

scusi / Parse.go

Last active 6 months ago BPJM FritzBox golang

script to parse BPJM file from a fritzbox

0 0 1
1 // tool that uses my bpjm library to load and parse a BPJM File from a FritzBox
2 package main
3
4 import(
5 "github.com/scusi/bpjm"
6 "fmt"
7 "os"
8 )
9
10 func main(){