Skip to content

Instantly share code, notes, and snippets.

View Zeik0s's full-sized avatar
🔥

Zeik0s

🔥
  • Austria
View GitHub Profile
@Zeik0s
Zeik0s / openpgp.md
Created November 6, 2023 22:06
Verification

aspe:keyoxide.org:E27HNS7BE7RISXQTJDJWJ4K66E

@Zeik0s
Zeik0s / smoke-alarm-de.yaml
Last active April 4, 2023 19:58 — forked from user-x-adm/smoke-alarm-de.yaml
Home Assistant Blueprint
blueprint:
name: Alarm Rauchmelder
description: 'Wenn einer der Rauchmelder Rauch erkennt, werden Push Nachrichten
an die mobile Apps und per SMS verschickt und eine Benachrichtigung erstellt.'
domain: automation
input:
sensor:
name: Rauchmelder
description: Liste der Rauchmeldersensoren
selector:
@Zeik0s
Zeik0s / change.md
Created November 24, 2022 22:45
Change search provider android search bar

Open adb.exe on your local computer (Windows, MacOS and Linux all work). connect your phone and type:

adb shell settings delete secure selected_search_engine
adb shell pm enable com.google.android.apps.setupwizard.searchselector
adb reboot
@Zeik0s
Zeik0s / gist:beb736ab5eacef6ce778af907e37bf98
Last active January 15, 2021 14:41
Shell Extension for modifying an RDP File to use only a single Monitor

Open Regedit.exe for Key Computer\HKEY_CLASSES_ROOT\RDP.File\shell\

I created a new Key "Single Monitor" and put a new Command Key there like the existing for RDP Files.

The Command Key contained a string with name "command" and Value: powershell.exe -windowstyle hidden -command "rm app(*).rdp; (Get-Content "%1").replace('use multimon:i:1','use multimon:i:0') | Set-Content "%1""; mstsc.exe "%1"

This deletes existing rdp files called "App().rdp", replaces the Multimonitor Parameter and opens the Profile.

@Zeik0s
Zeik0s / Instruction.md
Last active October 30, 2019 22:23
Using Burp or any other TLS Intercepting Solution on rooted Android Devices

Start Android Emulator with writable System Partition (skip if you're using a real Phone)

./emulator.exe -avd phone -writable-system

export Certificate to File

prepare Certificate with OpenSSL for Android, Burp normally uses a "DER" Type Certificate

certificate_name=$(openssl x509 -inform DER -subject_hash_old -in burp_certificate | head -1)

head extracts the first line from the Certificate, which will be the Name for the Android CA

mv burp_certificate $certificate_name.0