Skip to content

Instantly share code, notes, and snippets.

View thezakman's full-sized avatar
🏡
Working from home

Pedro Araujo thezakman

🏡
Working from home
View GitHub Profile
@thezakman
thezakman / pySub.py
Created February 22, 2015 07:01
pySub.py
#coding: utf-8
import string, random
def crack():
alfabeto = "abcdefghijklmnopqrstuvwxyz"
#crypto = "$i&*#@?\/.fF4567890jgwr21p"
#crypto = 'acegikmoqsuwybdfhjlnprtvxz'
crypto = 'the-flag_is:A~LIE123456789'
junta = []
@thezakman
thezakman / pyReddit.py
Created March 26, 2015 04:21
Read first first sub-reddit page
import urllib, json
print ("Qual o Sub-Reddit para carregar?")
def Replay():
print "Deseja carregar outro? (s/n)"
denovo = raw_input(">")
@thezakman
thezakman / hackybrowser.py
Created March 28, 2015 09:38
hackybrowser.py
# coding: utf-8
# visualizador de webcache/archive para iPad e iPhone
# TheZakMan / 2015 - 6:04AM
import ui
view = ui.load_view('hackybrowser')
web = view['webview1']
pagina = view['textfield1']
botao = view['button1']
@thezakman
thezakman / hackybrowser.py
Created March 28, 2015 09:50
hackybrowser.py
# coding: utf-8
# visualizador de webcache/archive para iPad e iPhone
# TheZakMan / 2015 - 6:04AM
import ui
view = ui.load_view('hackybrowser')
web = view['webview1']
pagina = view['textfield1']
botao = view['button1']
@thezakman
thezakman / exemplos.py
Created May 30, 2015 23:08
exemplos.py
#coding: utf-8
# !/usr/bin/python
# Exemplo de como é possivel fazer uma mesma coisa
# de deferentes maneiras usando python
# como vou usar a lista varias vezes
# eu linkei ela a uma variavel
lista = ['Python','is','awesome!']
(function(){var e=window,h=document,k="replace";var m=function(a,c,d,b,g){c=encodeURIComponent(c)[k](/\(/g,"%28")[k](/\)/g,"%29");a=a+"="+c+"; path="+(d||"/")+"; ";g&&(a+="expires="+(new Date((new Date).getTime()+g)).toGMTString()+"; ");b&&"none"!=b&&(a+="domain="+b+";");b=h.cookie;h.cookie=a;return b!=h.cookie},p=function(a){var c=h.body;try{c.addEventListener?c.addEventListener("click",a,!1):c.attachEvent&&c.attachEvent("onclick",a)}catch(d){}};var q=function(a,c,d,b){this.get=function(){for(var b=void 0,c=[],d=h.cookie.split(";"),l=new RegExp("^\\s*"+a+"=\\s*(.*?)\\s*$"),f=0;f<d.length;f++){var n=d[f].match(l);n&&c.push(decodeURIComponent(n[1][k](/%28/g,"(")[k](/%29/g,")")))}for(d=0;d<c.length;d++)c[d]&&(b=c[d]);return b};this.set=function(g){return m(a,g,b,c,1E3*d)};this.remove=function(){return m(a,"",b,c,-100)}};var t=function(a,c){var d=void 0;if("function"==typeof a.get&&"function"==typeof a.set){var b=c||{},g=b.hasOwnProperty("cookieName")?b.cookieName:"_gali",r=b.hasOwnProperty("cookieTimeout")?b.co
@thezakman
thezakman / AmIPoisoned.py
Created June 2, 2015 21:18
AmIPoisoned.py
import requests
r = requests.get('http://www.google-analytics.com/plugins/ua/linkid.js')
data = r.text
original = '''(function(){var e=window,h=document,k="replace";var m=function(a,c,d,b,g){c=encodeURIComponent(c)[k](/\(/g,"%28")[k](/\)/g,"%29");a=a+"="+c+"; path="+(d||"/")+"; ";g&&(a+="expires="+(new Date((new Date).getTime()+g)).toGMTString()+"; ");b&&"none"!=b&&(a+="domain="+b+";");b=h.cookie;h.cookie=a;return b!=h.cookie},p=function(a){var c=h.body;try{c.addEventListener?c.addEventListener("click",a,!1):c.attachEvent&&c.attachEvent("onclick",a)}catch(d){}};var q=function(a,c,d,b){this.get=function(){for(var b=void 0,c=[],d=h.cookie.split(";"),l=new RegExp("^\\s*"+a+"=\\s*(.*?)\\s*$"),f=0;f<d.length;f++){var n=d[f].match(l);n&&c.push(decodeURIComponent(n[1][k](/%28/g,"(")[k](/%29/g,")")))}for(d=0;d<c.length;d++)c[d]&&(b=c[d]);return b};this.set=function(g){return m(a,g,b,c,1E3*d)};this.remove=function(){return m(a,"",b,c,-100)}};var t=function(a,c){var d=void 0;if("function"==typeof a.get&&"function"
import requests, re
print '\n'
print '-'*30
print '\t Am I Poisoned?'
print '-'*30
print ('[+] Comparando os arquivos...')
r = requests.get('http://www.google-analytics.com/plugins/ua/linkid.js')
data = r.text
@thezakman
thezakman / Restore.txt
Created June 21, 2015 03:53
Jailbreak + Restore iCloud
Here is what you do in case you are lost my friend.
1. Restore iDevice.
2. After restore, jailbreak before setting up.
3. After jailbreak, will likely have to set up as new (be sure to select iCloud as backup when setting up).
4. Open Cydia (this step may be optional).
5. Settings>General>Reset, Select Reset all settings
6. This time setup will give you the option to restore from your iCloud backup.
In essence, you can restore a jailbroken device by resetting the settings on the device twice while preserving the jailbreak.
@thezakman
thezakman / Brutus
Last active August 29, 2015 14:24
Brute
https://secure.gog.com/redeem/u6gv5nc5
U6P5NP4C
u6gv5nc5
u6jc4d4a
SQPQW96U
u6mXwXyc
u67wadw9
U6FYFDH4
U6T9XDCK
u6dl4pfp