Skip to content

Instantly share code, notes, and snippets.

View davidtavarez's full-sized avatar
🎯
Focusing

David Tavarez davidtavarez

🎯
Focusing
View GitHub Profile
@davidtavarez
davidtavarez / grinpp_downloader.py
Last active January 17, 2022 16:52
Grin++ Downloader (Linux)
View grinpp_downloader.py
#!/usr/bin/env python3
import argparse
import hashlib
import os
import shutil
import signal
import subprocess
import sys
from pathlib import Path
@davidtavarez
davidtavarez / static-tor-compilation.sh
Created January 16, 2021 11:51
Static Tor compilation
View static-tor-compilation.sh
#!/usr/bin/env bash
curl -fsSL "https://zlib.net/zlib-1.2.11.tar.gz" | tar zxvf -
cd zlib-1.2.11
./configure --prefix=$PWD/install
make -j$(nproc)
make install
cd ..
@davidtavarez
davidtavarez / build.sh
Created October 21, 2020 09:27
Building a Grin++ for Android
View build.sh
git clone https://github.com/GrinPlusPlus/GrinPlusPlus
cd GrinPlusPlus
git checkout android-arm64
vcpkg install --overlay-triplets=vcpkg/custom_triplets --triplet arm64-android-static --debug mio && \
vcpkg install --overlay-triplets=vcpkg/custom_triplets --triplet arm64-android-static --debug libuuid && \
vcpkg install --overlay-triplets=vcpkg/custom_triplets --triplet arm64-android-static --debug fmt && \
vcpkg install --overlay-triplets=vcpkg/custom_triplets --triplet arm64-android-static --debug asio && \
vcpkg install --overlay-triplets=vcpkg/custom_triplets --triplet arm64-android-static --debug zlib && \
vcpkg install --overlay-triplets=vcpkg/custom_triplets --overlay-ports=vcpkg/custom_ports --triplet arm64-android-static --debug minizip && \
View keybase.md

Keybase proof

I hereby claim:

  • I am davidtavarez on github.
  • I am dtavarez (https://keybase.io/dtavarez) on keybase.
  • I have a public key ASD3W77OK4IUs7AP9_k0a9gNt6kUcUG_wMhNt_pLv2UGzQo

To claim this, I am signing this object:

View generate_altice_dictionary.py
#!/usr/bin/env python
"""Generate a dictionary for mobile WiFi router of Altice Dominicana
We're going to create a file with all possible outcomes based on the
suffix present in the SSID.
"""
import argparse
import itertools
@davidtavarez
davidtavarez / safer.py
Last active September 5, 2018 01:05
Basic Python encrypting script
View safer.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
import argparse
import os
import random
import struct
import threading
from Crypto.Cipher import AES
@davidtavarez
davidtavarez / build_static_tor.sh
Created June 15, 2018 17:20
Building static Tor from source
View build_static_tor.sh
#!/bin/bash
# curl -fsSL "https://zlib.net/zlib-1.2.11.tar.gz" | tar zxvf -
# curl -fsSL "https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz" | tar zxvf -
# curl -fsSL "https://www.openssl.org/source/openssl-1.0.2m.tar.gz" | tar zxvf -
# curl -fsSL "https://www.torproject.org/dist/tor-0.3.1.8.tar.gz" | tar zxvf -
sudo apt-get update
sudo apt-get install -y build-essential curl
cd zlib
@davidtavarez
davidtavarez / api_login_brute_force.py
Created April 25, 2018 14:49
Brute forcing API Login using Tor
View api_login_brute_force.py
#!/usr/bin/env python
# coding=utf-8
import requests
def brute(api_url, users_file, passwords_file, validation_errors, use_tor):
proxy_address = '127.0.0.1'
proxy_port = 9050
@davidtavarez
davidtavarez / ImageButton.cs
Created May 4, 2016 14:33
ImageButton for Xamarin.Forms (iOS & Android)
View ImageButton.cs
using System;
using Xamarin.Forms;
namespace NAMESPACE.Controls
{
public class ImageButton : Button
{
}
}
@davidtavarez
davidtavarez / PicturesCarousel.cs
Created March 20, 2016 00:25
Picture carousel for Android, iOS, WP using Xamarin.Forms. https://cdn.pbrd.co/images/2otpyQam.png
View PicturesCarousel.cs
using System;
using Xamarin.Forms;
using System.Collections.ObjectModel;
namespace NAMESPACE.Controls
{
public class PicturesCarousel : ScrollView
{
AbsoluteLayout _ElementsStack = new AbsoluteLayout ();