Use _NS_4445425547
or NS🐞
for enables debuggging panel. When enabled it, a ladybug 🐞 menu appears in the app menu bar.
“4445425547” means DEBUG in Unicode table.
0x44=D
0x45=E
0x42=B
0x55=U
0x47=G
[ | |
"928350122843193385", | |
"1185047194261274665", | |
"956202276408688650", | |
"956104664821157918", | |
"1185047092478095443", | |
"1185046791826178099", | |
"1185047045413797898", | |
"928483283698851901", | |
"1185047444619284641", |
Some notes, tools, and techniques for reverse engineering macOS binaries.
#!/bin/zsh | |
ext_root_path=~/Library/Application\ Support/Google/Chrome/Default/Extensions | |
find "$ext_root_path" -name "manifest.json" -print0 | while IFS= read -r -d '' file; do echo "\033[1;33m$file\033[0m"; echo "-----------------"; cat "$file" | nl -n ln | GREP_COLOR='01;30' grep --color=always '.*'; echo "-----------------"; done | |
# Prompt the user for the working directory path which is chrome extension root | |
read -p "Enter the chrome extension path(for example difoiogjjojoaoomphldepapgpbgkhkb/2.7.7_0): " workdir | |
# Prompt the user for the result app name | |
read -p "Enter the desired app name: " app_name |
The ecosystem of iOS [jailbreaks][1] has remained largely unchanged since iOS 1.0 even though the system internals of iOS has undergone several evolutions, enhancing security and enabling new features. iOS jailbreaks traditionally involves neutering a significant portion of the OS's security in order to enable unsigned code execution ("apps") and system modifications ("tweaks"). This allows [malware][2] to target jailbroken users and for misbehaving apps to corrupt data.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep uti: | cut -c 29- | sort | uniq > utis.txt |
extension View { | |
/// Controls the application's preferred home indicator auto-hiding when this view is shown. | |
func prefersHomeIndicatorAutoHidden(_ value: Bool) -> some View { | |
preference(key: PreferenceUIHostingController.PrefersHomeIndicatorAutoHiddenPreferenceKey.self, value: value) | |
} | |
/// Controls the application's preferred screen edges deferring system gestures when this view is shown. Default is UIRectEdgeNone. | |
func edgesDeferringSystemGestures(_ edge: UIRectEdge) -> some View { | |
preference(key: PreferenceUIHostingController.PreferredScreenEdgesDeferringSystemGesturesPreferenceKey.self, value: edge) | |
} |
import UIKit | |
class DoneAccessoryView: UIInputView { | |
private let toolbar = UIToolbar() | |
init() { | |
super.init(frame: .zero, inputViewStyle: .default) | |
translatesAutoresizingMaskIntoConstraints = false | |
allowsSelfSizing = true |
// UIImage+Utils.swift | |
// This is just one way to do this. | |
public func croppedToCircle() -> UIImage { | |
// Begin a new image that will be the new image with the rounded corners | |
UIGraphicsBeginImageContextWithOptions(size, false, scale) | |
let circleWidth = size.width | |
let radius = circleWidth / 2 | |