Skip to content

Instantly share code, notes, and snippets.

View Jul10l1r4's full-sized avatar
⚠️
Segmentation fault

Julio Lira Jul10l1r4

⚠️
Segmentation fault
View GitHub Profile

Introduction

The task of the project was about finding an obfuscated app on the play store, modifying it such that it would notify another app whenever it was opened.

I did not really have a quick way to check wheter an app on the play store was obfuscated or not, so I decided to choose an app that I knew for sure had at least some kind of obfuscation, and that app is Whatsapp Messenger.

The apk for "Whatsapp Messenger" I got is version 2.20.123, x86 architecture (because that's the architecture of the emulator I am currently running)

Finding an injection spot

@nuga99
nuga99 / docker-install-parrot.sh
Last active August 1, 2024 13:53
Install Docker Engine on Parrot OS (2023)
#!/bin/sh
# From https://www.hiroom2.com/2017/09/24/parrotsec-3-8-docker-engine-en/
# Changelog:
# @DavoedM: Apr 3, 2020
# @C922A10971734: Jan 19, 2023
set -e
# Install dependencies.

O código aplicado abaixo tem como ojetivo solucionar um problema especifico na geração de um array de elementos em um objeto json a partir de uma lista de elementos. Ou seja, não pode ser considerado para uso geral.

Exemplo:

Considerando os itens contidos em cada arquivo:

arq1.txt

eey3IeweiT7n
aereiQuueM4a
@metamarcdw
metamarcdw / parabola-linux-install
Last active April 1, 2023 12:38 — forked from mattiaslundberg/arch-linux-install
Instructions for installing parabola linux on an UEFI system with full system encryption using dm-crypt and luks
# Install PARABOLA Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.parabola.nu/index.php/Installation_Guide) contains a more verbose description.
# Download the parabola iso image from https://www.parabola.nu/
# Copy to a usb-drive
dd if=parabolalinux.img of=/dev/sdX bs=16M && sync
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set American English keymap
@aallan
aallan / mac-vendor.txt
Last active October 25, 2024 18:15
List of MAC addresses with vendors identities
000000 Officially Xerox
000001 SuperLAN-2U
000002 BBN (was internal usage only, no longer used)
000003 XEROX CORPORATION
000004 XEROX CORPORATION
000005 XEROX CORPORATION
000006 XEROX CORPORATION
000007 XEROX CORPORATION
000008 XEROX CORPORATION
000009 powerpipes?
@mrkara
mrkara / Powerline.md
Last active December 8, 2022 20:18
Install Powerline on Debian 9 Stretch
  1. Install pip sudo apt-get install python-pip
  2. Install powerline sudo pip install powerline-status
  3. Install fonts sudo apt-get install fonts-powerline
  4. Add these lines to respective files:

.vimrc > set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/

@rambabusaravanan
rambabusaravanan / hulk.py
Last active July 13, 2023 21:32
HULK Python Script : Denial-of-Service (DoS) attack
# ----------------------------------------------------------------------------------------------
# HULK - HTTP Unbearable Load King
#
# this tool is a dos tool that is meant to put heavy load on HTTP servers in order to bring them
# to their knees by exhausting the resource pool, its is meant for research purposes only
# and any malicious usage of this tool is prohibited.
#
# author : Barry Shteiman , version 1.0
# ----------------------------------------------------------------------------------------------
import urllib2
@rashkopetrov
rashkopetrov / mongodb_and_php7.md
Last active December 3, 2019 14:28
Install MongoDB and make it work with PHP 7.0

Install MongoDB

  1. Import the public key used by the package management system.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
  1. Create a list file for MongoDB.
@avelino
avelino / gist:3188137
Created July 27, 2012 13:49
shell script, como colorir o retorno do seu código
echo -e " \033[0;30m Preto \033[0m --> 0;30 "
echo -e " \033[0;31m Vermelho \033[0m --> 0;31 "
echo -e " \033[0;32m Verde \033[0m --> 0;32 "
echo -e " \033[0;33m Marrom \033[0m --> 0;33 "
echo -e " \033[0;34m Azul \033[0m --> 0;34 "
echo -e " \033[0;35m Purple \033[0m --> 0;35 "
echo -e " \033[0;36m Cyan \033[0m --> 0;36 "
echo -e " \033[0;37m Cinza Claro \033[0m --> 0;37 "
echo -e " \033[1;30m Preto Acinzentado \033[0m --> 1;30 "
echo -e " \033[1;31m Vermelho Claro \033[0m --> 1;31 "
@jonbalbarin
jonbalbarin / bestbashpromptever.sh
Created April 12, 2011 14:30
best bash prompt ever
function parse_git_branch {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "("${ref#refs/heads/}")"
}
# PS1 prompt color vars
export PROMPT_DIRTRIM='2' #only works with bash 4.x
RED="\[\033[1;31m\]"
YELLOW="\[\033[0;33m\]"