Skip to content

Instantly share code, notes, and snippets.

View riverar's full-sized avatar
®️

Rafael Rivera riverar

®️
View GitHub Profile

Keybase proof

I hereby claim:

  • I am riverar on github.
  • I am rafael (https://keybase.io/rafael) on keybase.
  • I have a public key whose fingerprint is 3E18 3879 1DB0 7B7C A2B5 F94F 050B 5707 E2BF 6D6A

To claim this, I am signing this object:

@riverar
riverar / gist:4052f4a792ad2b784f8f
Created May 28, 2014 20:33
Diff of TrueCrypt 7.1a and "TrueCrypt 7.2" sources
--- Boot/Windows/BootMain.cpp Mon Jan 19 14:26:12 1970
+++ Boot/Windows/BootMain.cpp Mon Jan 19 14:26:12 1970
@@ -75,7 +75,9 @@
#endif // TC_WINDOWS_BOOT_RESCUE_DISK_MODE
- PrintEndl (3);
+ PrintEndl (2);
+ Print ("WARNING: Using TrueCrypt is not secure");
+ PrintEndl (2);
@riverar
riverar / skype.js
Created July 26, 2015 09:45
My first Frida script to fix up Skype's ShellExecuteExW usage
var g_openVerbString = Memory.allocUtf16String("open");
var fn = Module.findExportByName("shell32.dll", "ShellExecuteExW");
Interceptor.attach(fn, {
onEnter: function(args) {
// Right now, SHELLEXECUTEINFO presumably looks like:
// ...
// lpVerb = nullptr
// lpFile = RUNDLL32.EXE
@riverar
riverar / inside_wdg_1.html
Last active February 10, 2016 18:36
Inside WDG - Branches and Rings
<h1>Inside WDG - Branches and Rings</h1>
<p>Today, we’re kicking off a new series of articles we’ll publish regularly to Insider Hub called Inside WDG. WDG is short for the Windows and Devices Group which is the group at Microsoft responsible for Windows as well as Microsoft’s devices such as Surface, Xbox, Lumia, and Band. And with Inside WDG, we want to give Insiders a behind-the-scenes look at how we’re building Windows. It will also give us the opportunity go into greater detail on specific topics that we know are of interest to Insiders. For our first Inside WDG article, we’re going to talk about our Windows branches and rings.</p>
<p>Throughout Windows 10 development and over the past year of the Windows Insider Program, we have evolved how we develop and release Windows. We have learned a lot from our Windows Insiders and customers and have made significant improvements to our product and the tools we use to develop them. Therefore, we would like to take the time to give Windows Insiders some backgrou
@riverar
riverar / inside_wdg_localization.html
Created April 4, 2016 22:02
Inside WDG - Localization Process
<p>Hello Windows Insiders!</p>
<p>My name is Miki Albertson and I’m a Program Manager from Windows Localization team. Today I would like to give you a behind-the-scenes look at how WDG products are made available to Windows Insiders in their language. By the way, we call this process “Localization”.</p>
<p>If you have ever wondered about how our products are made available in your markets and in your language, please read on!"</p>
<p>This is a simplified view, but it will give you an overview into main aspects of Localization process.</p>
<p>Each process is explained in detail below. </p>
@riverar
riverar / made_by_you_cortana.html
Created April 8, 2016 17:48
Made by You - Cortana listens to your feedback!
<h3>Introduction </h3>
<p>Cortana is really smart, but she isn’t perfect. Cortana does automatically get better, so just using Cortana is a great way to help. In fact, the more you use Cortana the better she gets for everybody. But your feedback is absolutely critical. Feedback helps us identify issues and focus attention to the most urgent needs.</p>
<p>In this article, we’ll show you how to give feedback about Cortana, what we do every day with that critical feedback, and provide real examples where feedback has impacted changes to Cortana.</p>
<h3>Cortana Feedback (How it works and what we do with it) </h3>
<p>One of the key sources of feedback comes from within the Cortana experience. You can provide ideas, likes and dislikes to our team. Each report is recorded by our system, including a screenshot (if you allow), as well as few key details such as the Windows language used. </p>
@riverar
riverar / photos_and_camera_app_improvements.html
Created June 9, 2016 08:41
Photos & Camera app improvements: your feedback is our inspiration
<p>Hello, Windows Insiders!</p>
<p>We are the Photos and Camera team and we are very excited to share with you some of the changes that our team has worked on—all because of your feedback!</p>
<p><strong>How we read your feedback</strong></p>
<p>We’re constantly discussing your feedback and making changes to our apps based on this. We read the feedback you send to us in the Feedback Hub as well as Store reviews. Our process of reading the feedback includes meeting weekly in our living room and thinking about how we could best act on it. Our goal is to get you to love our apps as much as we do. To help us get there, all of our engineers are required to spend time reading and understanding your feedback, and to dedicate their time working to find ways to prioritize and address your concerns.</p>
<p><img src="http://compass.microsoft.com/assets/dc/d6/dcd6a7a6-b2d9-4379-8211-9a54b7af175e.jpg?n=photoandcamerateam.jpg" width="467" height="312" /></p>
@riverar
riverar / override.js
Last active July 29, 2016 06:16
HACK: Override the discovery of build scripts in surf_build
import _ from 'lodash';
import {fs} from '../promisify';
import BuildDiscoverBase from '../build-discover-base';
export default class OverrideBuildDiscoverer extends BuildDiscoverBase {
constructor(rootDir) {
super(rootDir);
}
async getAffinityForRootDir() {
@riverar
riverar / app.js
Created January 6, 2017 07:36
Frida + VSCode Example (app.js)
#!/usr/bin/env node
'use strict'
const co = require('co')
const frida = require('frida')
const fs = require('fs-promise')
const path = require('path')
const sleep = require('co-sleep');
const pkg = require('./package.json')
@riverar
riverar / launch.json
Created January 6, 2017 07:41
Frida + VSCode Example (launch.json)
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach to Process",
"port": 6666
}
]