- Quick look around VMP 3.x:
- Tickling VMProtect with LLVM:
- Part 3: Optimization
I've been writing Rust full-time with a small team for over a year now. Throughout, I've lamented the lack of clear best practices around defining error types. One day, I'd love to write up my journey and enumerate the various strategies I've both seen and tried. Today is not that day.
Today, I want to reply to a blog post that almost perfectly summarised my current practice.
Go read it; I'll wait!
This file contains hidden or 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
| [ | |
| // ╔══════════════════════════════════════════════════════════════════════════════════╗ | |
| // ║ VSCODE VIM LAZYVIM KEYBINDINGS ║ | |
| // ║ Modifier Key Bindings (Ctrl, Alt, Shift) ║ | |
| // ╚══════════════════════════════════════════════════════════════════════════════════╝ | |
| // | |
| // This file contains keybindings that use modifier keys (Ctrl, Alt, Shift) and special | |
| // characters that need VSCode's key binding system (not Vim's). | |
| // | |
| // IMPORTANT: DO NOT put space-leader bindings here (<leader>...) |
This file contains hidden or 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
| """ | |
| This POC is based on example from https://frida.re/news/#child-gating | |
| and is aimed to instrument child processes along with the main one. | |
| """ | |
| from __future__ import print_function | |
| import frida | |
| from frida_tools.application import Reactor | |
| import threading |
sudo pacman -S gdb
sudo pacman -S pwndbg
echo 'source /usr/share/pwndbg/gdbinit.py' >> ~/.gdbinitIf you are getting the following error "Cannot find Pwndbg virtualenv directory: /usr/share/pwndbg/.venv: please re-run setup.sh", do the following steps, otherwise ignore:
This file contains hidden or 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
| spring.datasource.url=jdbc:postgresql://localhost:5432/springbootdb | |
| spring.datasource.username=postgres | |
| spring.datasource.password=1234 | |
| spring.jpa.hibernate.ddl-auto=create |
This file contains hidden or 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
| use std::str; | |
| fn main() { | |
| // -- FROM: vec of chars -- | |
| let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}']; | |
| // to String | |
| let string1: String = src1.iter().collect::<String>(); | |
| // to str | |
| let str1: &str = &src1.iter().collect::<String>(); | |
| // to vec of byte |
This file contains hidden or 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
| // | |
| // jailbreak_protect.c | |
| // | |
| // Created by Jonathan Cardasis (C) on 10/11/19. | |
| // Copyright © 2019 Jonathan Cardasis (C). All rights reserved. | |
| // | |
| // Source: https://medium.com/@joncardasis/mobile-security-jailbreak-protection-84aa0fbc7b23 | |
| // Simply include this file in your project and ensure the file's Target Membership | |
| // is set to your app. |
adb push ~/android-sdk-linux/ndk-bundle/prebuilt/android-<arch>/gdbserver/gdbserver /data/local/tmp
adb shell "chmod 777 /data/local/tmp/gdbserver"
adb shell "ls -l /data/local/tmp/gdbserver"
adb forward tcp:1337 tcp:1337
NewerOlder