Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Focusing

olekstomek

:octocat:
Focusing
View GitHub Profile
View install.sh
#!/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
View install.sh
#!/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
@olekstomek
olekstomek / Diagnostyka Gosund
Created Oct 7, 2020
Diagnostyka w aplikacji Gosund (ISP: Toya)
View Diagnostyka Gosund
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:
View start.sh
#!/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 Oct 24, 2021
log install OpenWrt 21.02 using TFTP Trivial File Transfer Protocol
View log
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]
View polsat_news.php
<?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 Nov 7, 2021
skrypt do pokazywania parametrów sygnału w modemie mobilnym 4G
View zte_getbandinfo .py
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 Nov 12, 2021
skrypt do ustawiania parametrów sygnału w modemie mobilnym 4G
View zte_setband_2.0.py
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
@olekstomek
olekstomek / zte_getband_2.0.py
Last active Nov 12, 2021
skrypt do pokazywania parametrów sygnału w modemie mobilnym 4G
View zte_getband_2.0.py
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'}
View cpick
program ColorPicker;
uses crt;
const
QuitKey = #27;
PrevKey = #75;
NextKey = #77;
var