Credits to @TheOnlyAnil-@Firelord[^stackoverflow]
-
Requirements: a) stock recovery + rooted phone b) custom recovery
-
Files changed:
| // | |
| // Ref = src | |
| // https://www.blackhat.com/docs/eu-17/materials/eu-17-Liberman-Lost-In-Transaction-Process-Doppelganging.pdf | |
| // | |
| // Credits: | |
| // Vyacheslav Rusakov @swwwolf | |
| // Tom Bonner @thomas_bonner | |
| // | |
| #include <Windows.h> |
| #include <windows.h> | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| #include <stdio.h> | |
| #include <sal.h> | |
| #include <assert.h> | |
| #ifdef _X86_ | |
| #error "This snippet only build in 64-bit due to heavy use of uintptr arithmetics." | |
| #endif |
| # Powershell script to bypass UAC on Vista+ assuming | |
| # there exists one elevated process on the same desktop. | |
| # Technical details in: | |
| # https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-1.html | |
| # https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-2.html | |
| # https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-3.html | |
| # You need to Install-Module NtObjectManager for this to run. | |
| Import-Module NtObjectManager |
| // 2022-04-03, tested with Chrome 99.0.4844.84 on MacBook Pro m1 | |
| /* | |
| Open chrome://flags/ | |
| F12 open developer console, swtich to tab "Console" | |
| Paste below codes | |
| - input backup() to download flags backup file | |
| - input restore() to select one backup to restore | |
| */ | |
| function saveFile(filename, data) { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- Produced by Beyond Compare 4 from Scooter Software --> | |
| <!-- | |
| This is an extension of the work done by Nate Finch: | |
| https://npf.io/2014/05/diffing-go-with-beyond-compare/ | |
| The regular expressions for identifiers have been updated | |
| to match on lowercase and allow numbers to be included anywhere | |
| after the first character of the word. | |
| ! Title: Disqus click-to-load | |
| # Copy-paste the static filters below into your "My filters" pane in the | |
| # dashboard. | |
| # Purpose is to load Disqus comments on demand only, so that no connection | |
| # to `disqus.com` occurs by default when you land on a site which uses | |
| # Disqus comments widget. | |
| # Not connecting to Disqus by default is a good thing for such a | |
| # ubiquitous server as `disqus.com`, which can be used to build a |
| # npm using https for git | |
| git config --global url."https://github.com/".insteadOf git@github.com: | |
| git config --global url."https://".insteadOf git:// | |
| # npm using git for https | |
| git config --global url."git@github.com:".insteadOf https://github.com/ | |
| git config --global url."git://".insteadOf https:// |
| /* | |
| Change Log: | |
| v1.12 (2017-01-18) - Fixed OnExit not exiting | |
| v1.11 (2017-01-17) - Added an internal function Ensure_Admin_And_Compiled() | |
| v1.10 (2015-10-22) - Added support for sending characters that needs to press {shift} key, such as "@" or "A". | |
| v1.00 (2015-07-25) | |
| Dependency files: | |
| WinRing0_v1.3.1.19.zip -- https://drive.google.com/file/d/0B7yNOlCgfluzMTE2UFc2ZHp5Z1E/view?usp=sharing |
| [CCode (cheader_filename = "frida-core.h", cprefix = "Frida", lower_case_cprefix = "frida_")] | |
| namespace Frida { | |
| public static void init (); | |
| public static void shutdown (); | |
| public static void deinit (); | |
| public static unowned GLib.MainContext get_main_context (); | |
| public class DeviceManager : GLib.Object { | |
| public DeviceManager (); |