I hereby claim:
- I am cubehouse on github.
- I am cube (https://keybase.io/cube) on keybase.
- I have a public key whose fingerprint is 540F D214 7335 C873 B847 2A2A 9F15 B927 BD57 3D36
To claim this, I am signing this object:
#!/usr/bin/php | |
<?php | |
/* | |
Copyright (c) <2005> LISSY Alexandre, "lissyx" <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software andassociated 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, |
// create fake page called "chat-room" | |
// modify function and variable names with "ABCD" to whatever you like | |
// modify variable $fakepage_ABCD_url to the fake URL you require | |
add_filter('the_posts','fakepage_ABCD_detect',-10); | |
function fakepage_ABCD_detect($posts){ | |
global $wp; | |
global $wp_query; | |
global $fakepage_ABCD_detect; // used to stop double loading |
@@ class WPAuth | |
// Validate the hash contained within the cookie | |
$pass_frag = substr($user['user_pass'], 8, 4); | |
- $key = $this->wp_hash($user['user_login'].$pass_frag.'|'.$cookie[1], 'logged_in'); | |
- $hash = hash_hmac('md5', $user['user_login'].'|'.$cookie[1], $key); | |
+ | |
+ $key = $this->wp_hash($user['user_login'].'|'.$pass_frag.'|'.$cookie[1].'|'.$cookie[2], 'logged_in'); | |
+ $hash = hash_hmac('sha256', $user['user_login'].'|'.$cookie[1].'|'.$cookie[2], $key); |
I hereby claim:
To claim this, I am signing this object:
// create readline interface (standard NodeJS module) | |
var readline = require('readline'); | |
var rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
// listen for anything supplied on stdin | |
rl.on('line', function (cmd) { | |
// default result is 0 |
var input = `H4sIAAAAAAAA/42R0WrDMAxFfyX0OYImg74Uf0vxbK0V2HImOWHD5N/ndKOsacn2FAjn5lzd+NSE5G | |
xoTqYgZ8qEakphG9HsrCrG10B8hmjdhRih37VD0oolNuXDwEv7afbz3P4kNFrJQKwoGWXFdle29STo | |
ri8Pt1xIZ9JMDtwFNcNQzTQhDJIm8usP7e+df7dclYzoaYyAodaQ6hxSwPvA0hS6/531cFV/i71Z3R | |
yjex5bjSH4PtbnsxV+VdxwPagONUYu8fKniT0uyMaW1fFN9ZvUPB8F8yjcnI7I/gvQdo5aWgIAAA==`; | |
var crypto = require("crypto"); | |
var zlib = require("zlib"); | |
var LuaVMJS = require('lua.vm.js'); |
var ThemeParks = require("themeparks"); | |
var MagicKingdom = new ThemeParks.Parks.DisneylandResortMagicKingdom(); | |
// https://api.wdpro.disney.go.com/bulk-service/snapshot/DLR-mobile-character-appearances | |
// for reference: above URL requests these two URLs at the same time (hense the "bulk-service") | |
// https://api.wdpro.disney.go.com/global-pool-override-B/bulk-service/snapshot/DLR-mobile-dl-character-appearances | |
// https://api.wdpro.disney.go.com/global-pool-override-B/bulk-service/snapshot/DLR-mobile-ca-character-appearances | |
MagicKingdom.GetAPIUrl({ |
// include themeparks library | |
const themeparks = require("themeparks"); | |
// extend random Disney World park and override few bits we need (WDW Magic Kingdom has most the configuration already that we need) | |
class DisneysTyphoonLagoon extends themeparks.Parks.WaltDisneyWorldMagicKingdom { | |
constructor(options = {}) { | |
options.name = options.name || "Disney's Typhoon Lagoon"; | |
options.latitude = options.latitude || 28.3650; |
#include "AnimatedImage.h" | |
void UAnimatedImage::SetCurrentFrame(int32 Frame) | |
{ | |
CurrentFrame = Frame; | |
if (CurrentFrame < 0) CurrentFrame = 0; | |
if (CurrentFrame > TotalFrames - 1) CurrentFrame = TotalFrames - 1; | |
SynchronizeProperties(); | |
} |
echo server:asw.Off > "TEMP.txt" | |
echo exit >> "TEMP.txt" | |
call "C:\Program Files\Oculus\Support\oculus-diagnostics\OculusDebugToolCLI.exe" -f "%~dp0\TEMP.txt" | |
del "TEMP.txt" |