Skip to content

Instantly share code, notes, and snippets.

View DrRamm's full-sized avatar
:octocat:
Опенсорс головного мозга

Eugene Kotsareu DrRamm

:octocat:
Опенсорс головного мозга
  • Russia
View GitHub Profile
@DrRamm
DrRamm / secret_state.txt
Created September 15, 2020 18:19
secret_state.txt
ENABLED
@DrRamm
DrRamm / kallsyms.py
Created January 23, 2020 17:42 — forked from nlitsme/kallsyms.py
idapython script decoding the linux kernel symbol table
# Linux kernel kallsyms unpacker
# Version 0.2
# Copyright (c) 2010-2013 Igor Skochinsky
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this software for any purpose,
# including commercial applications, and to alter it and redistribute it
@DrRamm
DrRamm / latest-widevine.sh
Last active January 21, 2020 07:46 — forked from basrieter/latest-widevine.sh
Fetches the latest Linux Widevine binary so that it can be used by Yandex.Browser.
#!/usr/bin/env bash
available () {
command -v $1 >/dev/null 2>&1
}
# Make sure we have wget or curl
if available curl; then
SILENT_DL="curl -s"
LOUD_DL="curl -O"
@DrRamm
DrRamm / miui
Created August 7, 2018 07:42
miui
08-07 10:30:54.195 3060 3060 D wpa_supplicant: l2_packet_receive: src=da:fc:93:15:4a:23 len=121
08-07 10:30:54.195 3060 3060 D wpa_supplicant: wlan0: RX EAPOL from da:fc:93:15:4a:23
08-07 10:30:54.195 3060 3060 D wpa_supplicant: RX EAPOL - hexdump(len=121): 01 03 00 75 02 00 8a 00 10 00 00 00 00 00 00 00 03 46 8b a1 e3 08 dd bf 0d 34 53 e1 f7 7b 1d d1 ...
08-07 10:30:54.196 3060 3060 D wpa_supplicant: wlan0: IEEE 802.1X RX: version=1 type=3 length=117
08-07 10:30:54.196 3060 3060 D wpa_supplicant: WPA: RX EAPOL-Key - hexdump(len=121): 01 03 00 75 02 00 8a 00 10 00 00 00 00 00 00 00 03 46 8b a1 e3 08 dd bf 0d 34 53 e1 f7 7b 1d d1 ...
08-07 10:30:54.196 3060 3060 D wpa_supplicant: wlan0: EAPOL-Key type=2
08-07 10:30:54.196 3060 3060 D wpa_supplicant: wlan0: key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
08-07 10:30:54.196 3060 3060 D wpa_supplicant: wlan0: key_length=16 key_data_length=22
08-07 10:30:54.200 3060 3060 D wpa_supplicant: replay_counter - hexdump(len=8): 00 00 00 00 00
@DrRamm
DrRamm / log.txt
Created July 17, 2018 16:17
pattern
ActivityManager: START u0 {cmp=com.android.settings/.password.ChooseLockPatternSize (has extras)} from uid 1000
07-17 19:11:42.430 5130 5130 I zygote : Deoptimizing android.graphics.Rect android.support.v7.widget.RecyclerView.getItemDecorInsetsForChild(android.view.View) due to JIT inline cache
07-17 19:11:42.430 5130 5130 I zygote : Deoptimizing void android.support.v7.widget.RecyclerView$LayoutManager.measureChildWithMargins(android.view.View, int, int) due to JIT inline cache
07-17 19:11:42.437 5130 5130 I zygote : Deoptimizing boolean android.support.v14.preference.PreferenceFragment$DividerDecoration.shouldDrawDividerBelow(android.view.View, android.support.v7.widget.RecyclerView) due to JIT inline cache
07-17 19:11:42.486 5130 6228 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
07-17 19:11:42.489 5130 6228 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
07-17 19:11:42.532 845 869 I ActivityManager: Displa
--------- beginning of main
04-13 14:33:06.944 284 284 W auditd : type=2000 audit(0.0:1): initialized
04-13 14:33:07.619 284 284 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
04-13 14:33:09.245 292 292 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
04-13 14:33:09.269 293 293 I init : type=1400 audit(0.0:3): avc: denied { execute_no_trans } for path="/system/xbin/miuioneshots" dev="mmcblk0p23" ino=8376 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
--------- beginning of system
04-13 14:33:09.271 291 291 I vold : Vold 3.0 (the awakening) firing up
04-13 14:33:09.271 291 291 V vold : Detected support for: ext4 vfat
04-13 14:33:09.989 307 307 I BOOT : MSM target 'msm8974', SoC 'MTP', HwID '212', SoC ver '65536'
04-13 14:33:10.177 325 325 I lowmemorykiller: Using in-kernel low memory killer interface
Dt took from archer's dialog
- waiting for device -
--------- beginning of main
04-13 13:19:31.834 286 286 W auditd : type=2000 audit(0.0:1): initialized
04-13 13:19:32.639 286 286 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
04-13 13:19:34.248 294 294 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
04-13 13:19:34.269 295 295 I init : type=1400 audit(0.0:3): avc: denied { execute_no_trans } for path="/system/xbin/miuioneshots" dev="mmcblk0p23" ino=8376 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
--------- beginning of system
dex2oatd I 04-04 13:57:45 32672 32672 dex2oat.cc:2812] CFI info dedupe: 0 collisions, 0 max hash collisions, 7049/17085 probe distance, 342699606 ns hash time
dex2oatd W 04-04 13:57:46 32672 32672 runtime.cc:291] Current thread not detached in Runtime shutdown
[ 93% 2201/2355] Building with Jack: /home/wa00/crdroid/out/target/common/obj/APPS/ExternalStorageProvider_intermediates/with-local/classes.dex
Connection to the Jack server timeout, retrying with debug
* Trying ::1...
* TCP_NODELAY set
* connect to ::1 port 8076 failed: В соединении отказано
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8076 (#0)
@DrRamm
DrRamm / nfc
Created March 30, 2018 05:37
nfc
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: NFC received rsp gid:1
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: p2p priority is running under bail out mode ONLY.
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: nfc_set_state 4 (IDLE)->4 (IDLE)
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: nfa_dm_disc_data_cback ()
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: nfa_dm_disc_discovery_cback (): event:0x4005
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: nfa_dm_disc_sm_execute (): state: DISCOVERY (1), event: DEACTIVATE_RSP(7) disc_flags: 0x22
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: nfa_dm_disc_new_state (): old_state: DISCOVERY (1), new_state: IDLE (0) disc_flags: 0x2
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: nfa_dm_start_rf_discover ()
03-30 08:29:45.455 5172 5196 I BrcmNfcNfa: nfa_dm_disc_sm_execute (): new state: IDLE (0), disc_flags: 0x0
03-30 08:29:45.455 5172 5274 D BrcmNfcJni: nativeNfcTag_releaseRfInterfaceMutexLock: sRfInterfaceMutex unlock
@DrRamm
DrRamm / shit.txt
Created March 14, 2018 09:49
shit
This file has been truncated, but you can view the full file.
--------- beginning of system
03-14 09:45:22.321 239 239 I vold : Vold 3.0 (the awakening) firing up
03-14 09:45:22.322 239 239 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
03-14 09:45:22.334 239 243 D vold : e4crypt_init_user0
03-14 09:45:22.334 239 243 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
03-14 09:45:22.334 239 243 D vold : Preparing: /data/system/users/0
03-14 09:45:22.335 239 243 D vold : Preparing: /data/misc/profiles/cur/0
03-14 09:45:22.335 239 243 D vold : Preparing: /data/system_de/0
03-14 09:45:22.336 239 243 D vold : Preparing: /data/misc_de/0
03-14 09:45:22.336 239 243 D vold : Preparing: /data/user_de/0