Config is 2vCPU, 2 GB RAM and running Debian 7 on 64 bits.
apt-get update
apt-get upgrade
apt-get install htop
Add localadmin user
adduser localadmin
apt-get install sudo
Config is 2vCPU, 2 GB RAM and running Debian 7 on 64 bits.
apt-get update
apt-get upgrade
apt-get install htop
Add localadmin user
adduser localadmin
apt-get install sudo
I could not find a proper, detailed (and up-to-date) reverse-engineerment
of Omegle's text chat protocol on the internet, so here, have one made by analyzing the web app (web requests and source code).
The responses are beautified and the query strings split up and URI-decoded for
readability.
Note that "query string" refers to parameters encoded into the URL and
"form data" to parameters in the POST body which do not have to be URI-encoded.
TODO:
require 'rubygems' | |
require 'bcrypt' | |
require 'haml' | |
require 'sinatra' | |
enable :sessions | |
userTable = {} | |
helpers do |
/* Scale a value from one range to another | |
* Example of use: | |
* | |
* // Convert 33 from a 0-100 range to a 0-65535 range | |
* var n = scaleValue(33, [0,100], [0,65535]); | |
* | |
* // Ranges don't have to be positive | |
* var n = scaleValue(0, [-50,+50], [0,65535]); | |
* | |
* Ranges are defined as arrays of two values, inclusive |