Skip to content

Instantly share code, notes, and snippets.

View joaoescribano's full-sized avatar

João Escribano joaoescribano

View GitHub Profile
@joaoescribano
joaoescribano / gist:934468767091da27eb721a798acd2903
Created November 22, 2017 20:31
AdBlocker filter list do prevent session recording
shopback.co
static.shopback.net
app.shoptarget.com.br
static.sback.tech
poscompra.shopconvert.com
mc.yandex.ru/metrika/watch.js
mc.yandex.ru/metrika/tag.js
mc.yandex.ru/webvisor/
fullstory.com/s/fs.js
d2oh4tlt9mrke9.cloudfront.net/Record/js/sessioncam.recorder.js
@joaoescribano
joaoescribano / pyxdotool-wrapper.py
Created December 31, 2018 16:26
Python X11 window management wrapper, using xdotool to control
#! python3
import os, time
def getWindow(program):
os.system('(xdotool search --pid $(pidof '+program+')) > .tmp')
window = open('.tmp', 'r').read()
return window.strip()
def getActualDesktop():
os.system('(xdotool get_desktop) > .tmp')
@joaoescribano
joaoescribano / pytibia-bot.py
Created December 31, 2018 16:56
A Tibia 12 bot
#! python3
from PIL import Image
import pyautogui, sys, time, random, pytesseract, os
print('At any time, press Ctrl-C to quit the bot.\n')
clientDetected = False
clientPlaying = False
accountName = 'account' # Account
@joaoescribano
joaoescribano / memory_find.py
Created January 2, 2019 01:13
Find data inside a PID memory
import os, sys, re, time
from bitstring import ConstBitStream
def getPid(program):
os.system('(pidof ' + program + ') > .tmp')
pid = open('.tmp', 'r').read()
return pid.strip()
def seekData(pid, lookForStr):
maps_file = open("/proc/"+str(pid)+"/maps", 'r')
@joaoescribano
joaoescribano / urlcapture.py
Last active January 21, 2019 10:39
Python script to screenshot the entire URL and save into a FILE.
#!/usr/bin/env python3
import datetime
import math
import os
import sys
import tempfile
# third-party imports
from PIL import Image
@joaoescribano
joaoescribano / scriptCrawler.php
Last active April 26, 2019 02:52
Sphere Server Script Pack item crawler [Ultima Online]
<?php
$scriptFolder = "../script-original/";
$scriptFiles = glob("{$scriptFolder}*.scp");
$scriptFiles = array_merge($scriptFiles, glob("{$scriptFolder}/*/*.scp"));
$scriptFiles = array_merge($scriptFiles, glob("{$scriptFolder}/*/*/*.scp"));
$scriptFiles = array_merge($scriptFiles, glob("{$scriptFolder}/*/*/*/*.scp"));
$scriptFiles = array_merge($scriptFiles, glob("{$scriptFolder}/*/*/*/*/*.scp"));
$scriptFiles = array_merge($scriptFiles, glob("{$scriptFolder}/*/*/*/*/*/*.scp"));
$scriptFiles = array_merge($scriptFiles, glob("{$scriptFolder}/*/*/*/*/*/*/*.scp"));
@joaoescribano
joaoescribano / sphere_script_pack_craftables.php
Created April 26, 2019 02:54
Sorted list by item type of craftable items from Sphere Script Pack
<?php
$craftables = array(
't_normal' => array(
0 => 'i_gorgon_lens',
1 => '0190e',
2 => '0207f',
3 => '024d0',
4 => '024d2',
5 => '02ddd',
6 => '02de1',
@joaoescribano
joaoescribano / kucoin_collector.py
Created May 23, 2019 22:24
Kucoin Login and data gethering with python + selenium + OTP
#!/usr/bin/env python3
# usage: python3 kucoin_collector.py <username> <password> <otp_secret>
import datetime
import math
import os
import sys
import tempfile
import pyotp
import time
@joaoescribano
joaoescribano / binance.py
Created July 25, 2019 16:44
Binance login + wallet check + captcha solver
#!/usr/bin/env python3
# Usage:
# ./binance.py <email> <senha> <otp> <wallet to test json>
from solver import PuzleSolver
import calendar
import json
import os
import pyotp
@joaoescribano
joaoescribano / hitbtc_how_to_fake_balance.md
Last active October 3, 2019 13:46
Atlas Quantum - How they created the fake balance on video

Here is how I've been able to replicate the same "behavior" showed at Atlas "prove" video.

Take a closer look when the balance page starts to show, and "error" appears at the page top, this specific error ONLY triggers when the website could not establish a connection to the HitBTC socket (as anyone can see at the code) So to test it, I've developed this in 30 minutes:

Step 1) Edit computer network hosts and add: 127.0.1.1       st.hitbtc.com

This will prevent the website to find the socket to account info, so the error will appear at the top of the balance page, as we can see here: