This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#include <string.h> | |
int main(int argc, char *argv[]) | |
{ | |
if (argc != 2) | |
{ | |
printf("pass JSON in a single argument\n"); | |
return 1; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. security find-generic-password -s Fork.account.SOME_ACCOUNT -g | |
2. in the output find "password: 0x...", you need this hex value without 0x up to "bplist... | |
3. echo 'ABOVE_VALUE' | xxd -r -p | plutil -p - | |
4. now you can read the password, sample output: | |
2 => "username" | |
3 => "password" | |
4 => "type" | |
5 => "USERNAME" | |
6 => "PASSWORD" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define env var QT_LOGGING_RULES with value qt.eventdispatcher.debug=true | |
iOS output on 5.15.5: | |
[qt.eventdispatcher] Running UIApplicationMain | |
[qt.eventdispatcher] Application launched with options NSObject(0x0) | |
[qt.eventdispatcher] Running main() on separate stack | |
[qt.eventdispatcher] Signaled posted event run-loop source | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 3, | |
"cmakeMinimumRequired": { | |
"major": 3, | |
"minor": 21, | |
"patch": 0 | |
}, | |
"configurePresets": [ | |
{ | |
"name": "ios-common", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
struct Target { | |
HWND hwnd; | |
WNDPROC wndProc; | |
bool isUnicode; | |
}; | |
Target target; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.m | |
// TestInputStream | |
// | |
// Created by Andrey Filipenkov on 12.10.2022. | |
// | |
#import <Foundation/Foundation.h> | |
NSString *server; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from chipsec.chipset import cs | |
from chipsec.exceptions import UnknownChipsetError | |
from chipsec.hal.io import PortIO | |
from chipsec.logger import level, logger | |
# creates empty file in CWD/logs | |
log = logger() | |
log.chipsecLogger.setLevel(level.CRITICAL.value) |
OlderNewer