Skip to content

Instantly share code, notes, and snippets.

@bryanjhv
bryanjhv / remove-yape-root-check.md
Last active November 11, 2024 15:09
Eliminar chequeo de ROOT de Yape BCP (Android)

Eliminar chequeo de ROOT de Yape BCP (Android)

Algunos puntos / aclaraciones

  • NO trabajo para BCP en este momento ni previo a esta fecha.
  • NO me hago responsable por lo que otros hagan con este script.
  • NO brindo ningún tipo de soporte, si quieres usarlo lee tutoriales.
  • SOLO para uso personal, NO hacerlo comercial. EVITAR piratear.
  • SI lo RE-POSTEAS, hazlo agregando un enlace a este ORIGINAL.
  • ESPERO que BCP mejore su APP en vez de chequeos TONTOS.
#!/bin/bash
ADB=${ADB:-adb}
DEST=${DEST:-apks}
if [ $# -lt 1 ]; then
echo "ERROR: Specify operation (backup/restore)."
exit 1
fi
#include <cpuid.h>
#include <stdio.h>
// print CPUID vendor
// using almost plain C
// almost = GCC specific?
int main() {
int a, b, c, d;
__cpuid(0, a, b, c, d);
SLUG=btwrdn
TAG=1.19.0
git clone https://github.com/dani-garcia/bitwarden_rs.git
cd bitwarden_rs
git checkout $TAG
sed -i '2 a export ROCKET_PORT=$PORT\n' docker/start.sh
heroku login
heroku container:login
#!/bin/bash
# ARGS:
# 1. MODEL (sample: SM-G930F)
# 2. REGION (sample: PEO)
# 3. OUTDIR (sample: ~/Downloads)
# DEPS:
# 1. Python 3
# 2. https://github.com/nlscc/samloader

AppOps PRO for FREE with ROOT

Requirements

  • A ROOTed Android device.
  • AppOps installed on device.
  • Any ROOT editor and/or explorer.

NOTE:
I only tested version 3.1.1.

#!/bin/bash
###################################
## ##
## TITLE: ##
## ADB `pm list users` to YAML ##
## ##
## USAGE: ##
## - Download this script. ##
## - Execute it (`bash ...`). ##
## FILTER ##
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:UDP - [0:0]
:TCP - [0:0]
# Modify them!
LPORT="${LPORT:-22}"
RPORT="${RPORT:-8022}"
SSH="${SSH:-"ssh -C -q -N -f"}"
TARGET="${TARGET:-"theuser@remotehost"}"
is_pi() {
# You can replace this check to your needs.
# Just make sure you return something true.
test -f /etc/rpi-issue -a -r /etc/rpi-issue
@bryanjhv
bryanjhv / home-server.md
Created December 19, 2020 06:31 — forked from nileshtrivedi/home-server.md
Home Server setup: Raspberry PI on Internet via reverse SSH tunnel

Raspberry Pi on Internet via reverse SSH tunnel

HackerNews discussed this with many alternative solutions: https://news.ycombinator.com/item?id=24893615

I already have my own domain name: mydomain.com. I wanted to be able to run some webapps on my Raspberry Pi 4B running perpetually at home in headless mode (just needs 5W power and wireless internet). I wanted to be able to access these apps from public Internet. Dynamic DNS wasn't an option because my ISP blocks all incoming traffic. ngrok would work but the free plan is too restrictive.

I bought a cheap 2GB RAM, 20GB disk VM + a 25GB volume on Hetzner for about 4 EUR/month. Hetzner gave me a static IP for it. I haven't purchased a floating IP yet.