This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": { | |
"4096": { | |
"address": "0x1000", | |
"node": { | |
"type": "dword", | |
"address": "0x1000", | |
"length": "0x04", | |
"details": { | |
"value": "0x42424242" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a 2014-10-13 20:18:22.602368500 -0700 | |
+++ b 2014-10-13 20:18:31.844897100 -0700 | |
@@ -60,55 +60,22 @@ | |
], | |
"node": { | |
- "type": "byte", | |
+ "type": "dword", | |
"address": "0x1008", | |
- "length": "0x01", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# Summary description of library or script. | |
# | |
# This doc string should contain an overall description of the module/script | |
# and can optionally briefly describe exported classes and functions. | |
# | |
# ClassFoo: One line summary. | |
# function_foo: One line summary. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uploading a test binary | |
BINARY ID: 93 | |
Listing binaries (we should see the one): | |
Downloading it: | |
Creating a workspace: | |
WORKSPACE ID: 87 | |
Listing workspaces: | |
Setting some variables | |
Retrieving those variables | |
Retrieving all variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** TESTING BINARY CREATION ** | |
++ PASSED: A binary is successfully created | |
++ PASSED: The binary's object is returned | |
-- FAILED: The binary's object is a hash (EXPECTED: Hash, RECEIVED: Binary) | |
++ PASSED: The binary's id value is present and numeric | |
++ PASSED: The binary's name is right (VALUE: Binary Test) | |
++ PASSED: The binary's comment is right (VALUE: Test binary) | |
-- FAILED: The binary's data is correct (EXPECTED: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, RECEIVED: QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUE= | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** TESTING BINARY CREATION ** | |
++ PASSED: A binary is successfully created | |
++ PASSED: The binary's object is returned | |
-- FAILED: The binary's object is a hash (EXPECTED: Hash, RECEIVED: Binary) | |
++ PASSED: The binary's id value is present and numeric | |
++ PASSED: The binary's name is right (VALUE: Binary Test) | |
++ PASSED: The binary's comment is right (VALUE: Test binary) | |
-- FAILED: The binary's data is correct (EXPECTED: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, RECEIVED: QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUE= | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$LOAD_PATH << File.dirname(__FILE__) | |
require 'sinatra' | |
require 'sinatra/activerecord' | |
require 'json' | |
require 'pp' # TODO: DEBUG | |
class Test < Sinatra::Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'httparty' | |
require 'pp' | |
params = [] | |
# 200 locks it up completely, needs to be killed w/ 'kill -9' | |
# 500 fails with "stack overflow" | |
0.upto(500) do | |
params << { | |
:a => [], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'httparty' | |
require 'pp' | |
params = [] | |
# 200 locks it up completely, needs to be killed w/ 'kill -9' | |
# 500 fails with "stack overflow" | |
0.upto(500) do | |
params << [] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net = require('net'); | |
moment = require('moment'); | |
function getDate() { | |
return moment().format("YYYY-MM-DD HH:mm"); | |
} | |
var port = Number(process.argv[2]); | |
var server = net.createServer(function(socket) { |