Skip to content

Instantly share code, notes, and snippets.

View morkin1792's full-sized avatar

Vinícius morkin1792

  • Recife, Brazil
View GitHub Profile
@morkin1792
morkin1792 / Android.md
Last active March 2, 2024 00:49
Android Application Pentesting - Part 0 - Cheat Sheet
@morkin1792
morkin1792 / gpg.md
Last active September 1, 2023 01:16
gpg examples

create gpg key pair

gpg --full-generate-key

export public key

gpg --export --armor email@email > key.asc
@morkin1792
morkin1792 / findGithubEmails.sh
Last active July 22, 2023 22:25
This script finds GitHub users' emails
function findGithubEmails() {
username="$1"
remove_fork="${2:-N}"
if [ -z $ZSH_VERSION ]; then
printf "$(hostname): Oops, this script requires zsh! \n$(whoami): Why?\n$(hostname): Well... there are some problems, one of them is https://stackoverflow.com/q/59289355 \n$(whoami): You convinced me, how can I install zsh? \n$(hostname): https://itsfoss.com/zsh-ubuntu/ or https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH\n"
return
fi
function checkRateLimit() {
if $(printf "%s" "$1" | grep -q 'rate limit'); then
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Canvas))]
[RequireComponent(typeof(CanvasScaler))]
public class MyCanvasScaler : MonoBehaviour
{
[SerializeField] GameObject canvasContent;
[SerializeField] bool keepProportions = true;
Vector2 referenceResolution;
@morkin1792
morkin1792 / subdomains.sh
Last active March 2, 2024 00:46
getting subdomains and checking takeover
https://github.com/morkin1792/security-tests/blob/main/subdomains.sh
@morkin1792
morkin1792 / game.js
Last active November 11, 2022 19:18
var newhtml = `
<html>
<head>
<style>
iframe {
height: 100%;
width: 100%;
}
body {
background-color: black;
@morkin1792
morkin1792 / wordlists.sh
Last active January 23, 2024 12:57
pentest wordlists
#!/usr/bin/env zsh
# reference
# https://wordlists.assetnote.io/
# https://github.com/danielmiessler/SecLists/
# https://github.com/fuzzdb-project/fuzzdb
BASE=(
'https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/common.txt'
'https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/Common-DB-Backups.txt'
'https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/Logins.fuzz.txt'
@morkin1792
morkin1792 / yc2audio.js
Last active May 19, 2020 23:23
download audio from youtube channels
const axios = require('axios')
const fs = require('fs')
const req = async (url) => {
return await axios.get(url, { headers: { 'X-YouTube-Client-Name': 1, 'X-YouTube-Client-Version': '2.20200514.05.00', 'X-YouTube-Page-CL': 311468061 } })
}
const getAudio = async (url) => {
const resp = await req('https://youtube.com' + url + '&pbj=1')
if (resp.status == 200 && resp.data[2]?.player) {
@morkin1792
morkin1792 / google_play.md
Created March 7, 2020 21:56
tuto to install google play store on an android device

getting Google Play Store

Install in order:

  • com.google.android.gsf (Google Services Framework): specific version for each android (8,9,10)
  • com.google.android.gms (Google Play Service): get latest version on apkmirror
  • com.google.android.syncadapters.contacts (Google Contacts Sync): specific version for each android (8,9,10)
  • com.google.android.syncadapters.calendar (Google Calendar Sync): get latest on apkmirror (probably very recent versions only work on new android)
  • com.android.vending (Google Play Store): get latest version on apkmirror