Skip to content

Instantly share code, notes, and snippets.

View mcprat's full-sized avatar

Michael Pratt mcprat

  • Ohio
  • 21:12 (UTC -04:00)
View GitHub Profile
server 10.10.10.0 255.255.255.0
port 9105
proto udp
dev tun
ca ca.crt
key organization.key
dh dh.pem
tls-crypt hmac.key
topology subnet
#client-to-client
@mcprat
mcprat / soundcloud-downloader.py
Created August 14, 2020 23:28
Soundcloud python API download all tracks (python 2)
# in the future look into not having to authenticate for other peoples public tracks
# using the id from the waveform url to add to http://media.soundcloud.com/stream/
from time import sleep
import requests
import soundcloud
@mcprat
mcprat / soundcloud-deleter.py
Created August 14, 2020 23:30
Soundcloud python API delete all tracks (python 2)
# in the future look into not having to authenticate for other peoples public tracks
# using the id from the waveform url to add to http://media.soundcloud.com/stream/
from time import sleep
import requests
import soundcloud
@mcprat
mcprat / boot.log
Created August 22, 2020 04:47
ENH202 kernel log (master) (firstboot)
Hit any key to stop autoboot: 0
Validating MD5Sum of 'vmlinux'... Passed!
Validating MD5Sum of 'rootfs'... Passed!
## Booting image at 9f0a0000 ...
Image Name: MIPS OpenWrt Linux-5.4.59
Created: 2020-08-21 22:55:03 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3265 Bytes = 3.2 kB
Load Address: 80060000
Entry Point: 80060000
@mcprat
mcprat / art_dump.txt
Created August 22, 2020 05:04
ENH202 ART hexdump
00000000 00 02 6f e7 8c 11 00 02 6f e7 8c 11 ff ff ff ff |..o.....o.......|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00001000 a5 5a 00 00 00 03 60 00 16 8c 00 29 60 08 00 01 |.Z....`....)`...|
00001010 02 80 60 2c 16 8c a0 93 50 00 16 8c 00 2a 50 08 |..`,....P....*P.|
00001020 00 01 02 80 50 2c 16 8c a0 93 50 64 0c c0 05 04 |....P,....Pd....|
00001030 50 6c 38 11 00 03 40 04 07 3b 00 40 40 74 00 03 |Pl8...@..;.@@t..|
00001040 00 00 40 00 50 01 01 c2 60 34 00 44 00 00 ff ff |[email protected]...`4.D....|
00001050 00 44 00 00 51 0c 20 10 00 06 50 70 00 00 10 11 |.D..Q. ...Pp....|
00001060 51 64 14 12 ff 24 51 68 17 ff 00 15 50 68 20 10 |Qd...$Qh....Ph .|
@mcprat
mcprat / art_dump.txt
Created August 22, 2020 05:06
ENS202EXT ART hexdump
00000000 88 dc 96 47 b3 37 88 dc 96 47 b3 37 ff ff ff ff |...G.7...G.7....|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00001000 02 02 88 dc 96 47 b3 36 00 30 3a 30 32 3a 36 66 |.....G.6.0:02:6f|
00001010 3a 31 32 3a 33 34 3a 35 36 00 00 00 00 00 1f 00 |:12:34:56.......|
00001020 33 02 00 00 00 00 04 00 38 00 4d 00 03 00 08 ff |3.......8.M.....|
00001030 31 01 00 00 00 10 01 00 00 66 66 06 00 50 01 50 |1........ff..P.P|
00001040 01 50 01 00 00 00 00 00 00 19 00 64 7d 96 a4 af |.P.........d}...|
00001050 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001060 0e 0e 03 00 2c e2 00 02 0e 1c e0 e0 00 0c e0 e0 |....,...........|
@mcprat
mcprat / fwupgrade.sh
Created August 28, 2020 01:48
Engenius EnStationAC v1 OEM firmware v3 upgrade script
#!/bin/sh
. /lib/upgrade/common.sh
firmware="/tmp/firmware.img"
tmpdir="/tmp/_upgrade"
output="/dev/ttyS0"
fw_env_config="/etc/fw_env.config"
str_16m_displayname="is16m_displayname"
str_32m_displayname="is32m_displayname"
@mcprat
mcprat / boot.log
Created August 28, 2020 02:22
EnStationAC Openwrt master ath79 firstboot
Please press Enter to activate this console.
************************************************************************
* ENSTATIONAC *
************************************************************************
password:
Login incorrect
@mcprat
mcprat / boot.log
Created September 17, 2020 08:57
OpenWrt ECB600 master bootlog
Validating MD5Sum of 'vmlinux'... Passed!
Validating MD5Sum of 'rootfs'... Passed!
## Booting image at 9f0a0000 ...
Image Name: MIPS OpenWrt Linux-5.4.65
Created: 2020-09-16 8:28:12 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3265 Bytes = 3.2 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f0a0040 ...OK
@mcprat
mcprat / boot.log
Created September 19, 2020 19:33
Openwrt Engenius EAP350 firstboot
Validating MD5Sum of 'vmlinux'... Passed!
Validating MD5Sum of 'rootfs'... Passed!
## Booting image at 9f0a0000 ...
Image Name: MIPS OpenWrt Linux-5.4.65
Created: 2020-09-19 10:57:27 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3265 Bytes = 3.2 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f0a0040 ...OK