- Enable debugging usb in your phone and connect it to your computer via usb cable.
- Ensure your computer recognize your device: adb devices
- If not, start the server: adb start-server. Or restart: adb kill-server and then: adb start-server
- List all installed packages: adb shell pm list packages
- Find the package you want to download and copy the full package name. Example: com.example.app
- Get the apk path: adb shell pm path com.example.app
- Copy the result path and pull: adb pull /url/to/app/example.apk
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 urllib | |
def extract_public_ip(): | |
sock = urllib.urlopen('http://checkip.dyndns.com/') | |
public_ip = sock.read() | |
sock.close() | |
public_ip = public_ip.split(': ')[-1] | |
public_ip = public_ip.split('</body>')[0] | |
return public_ip |
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 python | |
# -*- coding: utf-8 -*- | |
import hashlib | |
def sha1Gen(file): | |
hash = hashlib.sha1() | |
with open(file, 'rb') as f: | |
for chunk in iter(lambda: f.read(4096), ''): | |
hash.update(chunk) |
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
#! /bin/sh | |
# Script que registra la ip publica en un fichero de texto | |
# Usado en un router con OpenWrt | |
# Author: Jordi Castelló | |
wget http://checkip.dyndns.com/index.html -O iplog.tmp 2>/dev/null | |
cut -d' ' -f6 iplog.tmp > iplog-cache.tmp # Eliminamos las partes que no nos interesan | |
cut -d'<' -f1 iplog-cache.tmp > iplog.tmp |
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 python | |
# BRONCO~1.WSF code deobfuscation | |
import sys | |
import os | |
def usage(): | |
print "Usage: " + os.path.basename(sys.argv[0]) + " <file> <output_file>" | |
def main(): |
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 <stdlib.h> | |
#include <stdio.h> | |
#include <time.h> | |
int main() { | |
// Declare constant sizes | |
const int rows = 8; | |
const int cols = 6; | |
// Seed for random numbers generation |
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
"""Cifrador simple basado en cifrado de Vernam | |
hecho por @iordic | |
Este script está creado con fines educativos para tener nociones de cifrado simétrico | |
basándonos en el algoritmo más simple que se me ha ocurrido: el cifrado Vernam. | |
Se puede usar con cualquier fichero, ya que el fichero de entrada se lee la | |
información binaria del fichero. De todos modos te recomiendo que uses ficheros de | |
texto para comprobar los resultados. |
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. Pasar a texto el pin: "elpindelatarjetaesunodostrescuatro" | |
2. ROT-13 a cada caracter | |
3. Convertir a posición del alfabeto en número | |
4. Convertir a binario | |
5. De cada byte del carácter se le suma a cada bit un número de su teléfono (8 últimos dígitos.) | |
6. se convierte cada resultado a un digito hexadecimal (por si suman 10) | |
7. se guarda el valor hexadecimal a un fichero | |
""" | |
import tkinter as tk |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font-family: sans-serif; | |
padding: 1em; | |
} | |
#result { | |
display: none; |
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
/* | |
* Cracker sencillo para ataques mediante diccionario contra ficheros 'shadow' | |
* Copyright (C) 2020 @iordic | |
* | |
* Licencia (GPLv3): | |
* ================= | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
OlderNewer