Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
⭐️ ⭐️ ⭐️ ⭐️

Fernando Martínez fernandodev

💭
⭐️ ⭐️ ⭐️ ⭐️
View GitHub Profile
View recover_word_password.md

How to recover lost M$ Word password

After a lot of investiment researching and building scripts to crack an old word file I've lost the password, finally I found the final guide for it:

In Short

$ python3 office2hashcat.py wordfile.doc > hashcat.txt
View objc_print_properties.m
- (void)logPropertiesFromObject:(id)object {
NSLog(@"----------------------------------------------- Properties for object %@", object);
NSMutableString *result = [@"{\n" mutableCopy];
@autoreleasepool {
unsigned int numberOfProperties = 0;
objc_property_t *propertyArray = class_copyPropertyList([object class], &numberOfProperties);
for (NSUInteger i = 0; i < numberOfProperties; i++) {
objc_property_t property = propertyArray[i];
NSString *name = [[NSString alloc] initWithUTF8String:property_getName(property)];
View kill_xagt.fish
function turbo_xcode
sudo launchctl remove com.fireeye.xagt
sudo pkgutil --only-files --files com.fireeye.xagt | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-files --files com.fireeye.hx-agent | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-dirs --files com.fireeye.xagt | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --only-dirs --files com.fireeye.hx-agent | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --forget com.fireeye.xagt
sudo pkgutil --forget com.fireeye.hx-agent
sudo pkgutil --only-files --files com.trendmicro.tmsm.application.trendMicroSecurity.tmcoreinst.pkg | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
View login.json
{
"account_id": "57cx91",
"access_token": "A32B19AAF010281CD1DDF12D"
}
View items.json
[
{
"name": "Dwarf Cat",
"thumb": "http://i.amz.mshcdn.com/8blgBZexhvyxgW2ozZVDsGcabSM=/950x534/2012%2F12%2F04%2F9d%2F15bestcatme.aH8.jpg",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel velit est. Sed vulputate neque ipsum, ut tincidunt nulla elementum non. Suspendisse potenti. Etiam id euismod turpis. Aliquam id efficitur velit, vitae ornare lectus. Cras ut auctor ipsum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;"
},
{
"name": "Gray Girl Cat",
"thumb": "http://static1.squarespace.com/static/53864718e4b07a1635424cdd/t/56bdfb3d04426232bfc1b8a9/1455291208397/party+cat",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel velit est. Sed vulputate neque ipsum, ut tincidunt nulla elementum non. Suspendisse potenti. Etiam id euismod turpis. Aliquam id efficitur velit, vitae ornare lectus. Cras ut auctor ipsum. Vestibulum ante ipsum primis in faucibus orci luctus et ultri
@fernandodev
fernandodev / happynel.md
Last active Feb 15, 2016
Teste Ruby on Rails
View happynel.md

HappyNel

Dashboard de enquete de satisfação

Requerimentos

  1. Rails 4

@fernandodev
fernandodev / clear_cache.sh
Created Feb 3, 2016
Remove all unnecessary files from OSX [Developer Edition]
View clear_cache.sh
#!/bin/sh
rm -rf ~/Library/Developer/XCode/DerivedData/*
rm -rf "~/Library/Developer/XCode/iOS Device Logs/*"
rm -rf "~/Library/Logs/*"
rm -rf ~/.Trash/*
@fernandodev
fernandodev / MTLJSONAdapter.swift
Last active Dec 28, 2015
A simple useful extension to transform easier dictionaries in models using mantle
View MTLJSONAdapter.swift
/*
The MIT License (MIT)
Copyright (c) contact@fernandodev.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION W
View Português Lição 1B.md

Letras:

a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z

Vamos ouvir?

Números:

Número Escrita
You can’t perform that action at this time.