All notable changes to this configuration will be documented in this file.
- Enhanced Git integration
- Pull command:
<leader>g p
- Pull command:
- Push command:
g P
""" | |
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' >> ~/.gdbinit
If 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:
spring.datasource.url=jdbc:postgresql://localhost:5432/springbootdb | |
spring.datasource.username=postgres | |
spring.datasource.password=1234 | |
spring.jpa.hibernate.ddl-auto=create |
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 |
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
# encrypt secret.txt | |
gpg --symmetric --yes --batch --cipher-algo AES256 --passphrase=XXXXX secret.txt && rm -f secret.txt | |
# decrypt secret.txt | |
gpg --decrypt --yes --batch --passphrase=XXXXX secret.txt.gpg > secret.txt && rm -f secret.txt.gpg |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
char* urlencode(char* originalText) | |
{ | |
// allocate memory for the worst possible case (all characters need to be encoded) | |
char *encodedText = (char *)malloc(sizeof(char)*strlen(originalText)*3+1); | |
#include <fcntl.h> | |
#include <sys/mman.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <stdarg.h> | |
#define MAXLINE 4096 /* max line length */ |