Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View olekstomek's full-sized avatar
:octocat:
Focusing

Tomasz Oleksik olekstomek

:octocat:
Focusing
View GitHub Profile
@olekstomek
olekstomek / Diagnostyka Gosund
Created October 7, 2020 19:14
Diagnostyka w aplikacji Gosund (ISP: Toya)
Zacznij diagnostykę
AppCode: com.gosund.smart
AppName: com.gosund.smart
AppVersion: 3.12.2
Device type: Xiaomi:Xiaomi:MI 9
System version: 10
Mobile operator: Orange
ISOCountryCode: pl
MobileCountryCode:
#!/bin/bash
clear
wget https://pro.speedtest.pl/resources/files/fireprobe.tar.gz --no-check-certificate
tar -xf fireprobe.tar.gz
rm -f fireprobe.tar.gz
chmod +x fireprobe.sh
CDIR="`pwd`/"
sed -i "s|change_me|$CDIR|g" fireprobe.sh
./fireprobe.sh start
#!/bin/bash
clear
wget https://beta.pro.speedtest.pl/resources/files/fireprobe.tar.gz
tar -xf fireprobe.tar.gz
rm -f fireprobe.tar.gz
chmod +x fireprobe.sh
./fireprobe.sh start
echo "Removing installation script..."
rm -f install.sh
@olekstomek
olekstomek / start.sh
Created November 7, 2020 10:18
Statystyki wykorzystania routerów https://eko.one.pl/forum/viewtopic.php?id=7708
#!/bin/sh
# v 20150706
#
# T, token = unikalny identyfikator systemu na podstawie mac adresu
# U, uptime = uptime systemu
# M, model = model routera
# W, wan proto = typ polaczenia na wan
# V, version = numer wersji oprogramowania
@olekstomek
olekstomek / log
Last active October 24, 2021 23:09
log install OpenWrt 21.02 using TFTP Trivial File Transfer Protocol
Connection received from 192.168.0.2 on port 1334 [25/10 00:35:53.665]
Read request for file <tp_recovery.bin>. Mode octet [25/10 00:35:53.666]
OACK: <timeout=1,> [25/10 00:35:53.727]
Using local port 64459 [25/10 00:35:53.727]
<tp_recovery.bin>: sent 15873 blks, 8126464 bytes in 17 s. 0 blk resent [25/10 00:36:10.857]
<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Polsat News GM04 - HbbTV app developed by hybra.tv </title> <meta http-equiv="content-type" content="Content-Type: application/vnd.hbbtv.xhtml+xml; charset=UTF-8"/> <meta name="robots" content="noindex, nofollow"/> <style type="text/css">body{position:fixed;left:0px;top:0px;width:1280px;height:720px;margin:0px;background-color:transparent;}#appmgr{position:absolute;left:0px;top:0px;width:0px;height:0px;visibility:hidden;}#tv_kontener_wideo{position:absolute;left:0px;top:0px;width:1280px;height:720px;}#tv_aplikacja{position:absolute;left:0px;top:0px;width:1280px;height:720px;visibility:hidden;background-color:#11141b;}#tv_menu{position:absolute;left:0px;top:0px;width:1280px;height:720px;}#tv_informacje{position:absolute;left:0px;top:0px;width:1280px;height:720px;visibility:hidden;b
@olekstomek
olekstomek / zte_getbandinfo .py
Last active November 7, 2021 21:17
skrypt do pokazywania parametrów sygnału w modemie mobilnym 4G
import base64
import hashlib
import requests
import sys
router_ip = '192.168.100.1'
password = 'password'
password_encoded = hashlib.sha256(base64.b64encode(password.encode())).hexdigest().upper()
headers = {'Referer': f'http://{router_ip}/index.html'}
@olekstomek
olekstomek / zte_getband_2.0.py
Last active November 12, 2021 15:23
skrypt do pokazywania parametrów sygnału w modemie mobilnym 4G
import base64
import hashlib
import requests
import sys
router_ip = '192.168.100.1'
password = 'password'
password_encoded = hashlib.sha256(base64.b64encode(password.encode())).hexdigest().upper()
headers = {'Referer': f'http://{router_ip}/index.html'}
@olekstomek
olekstomek / zte_setband_2.0.py
Last active September 28, 2022 10:39
skrypt do ustawiania parametrów sygnału w modemie mobilnym 4G
import base64
import hashlib
import requests
import sys
#usage: python3 zte-setband_2.0 B1,B3,B7
router_ip = '192.168.100.1' #change to MF286D IP
password = 'password' #change to MF286D admin password
program ColorPicker;
uses crt;
const
QuitKey = #27;
PrevKey = #75;
NextKey = #77;
var