- /tmp root@apx# nano ld.c
- /tmp root@apx# gcc -fPIC -c ld.c -o ld.o
- /tmp root@apx# gcc -shared -o ld.so ld.o
- /tmp root@apx# LD_PRELOAD=/tmp/ld.so /usr/bin/sw-engine /usr/local/psa/admin/htdocs/login_up.php3
Cheers
var Foo = function * (c) { | |
var a = [0, 1], | |
b = 0; | |
for (b = 0; b < c; ++b) { | |
a.push(a[0] + a[1]); | |
a.shift(); | |
yield a[a.length - 1]; | |
} |
["crypto", "net"].forEach(function (m) { global[m] = require(m) }) | |
var api = { | |
key: Buffer([ | |
0x01, 0xB9, 0x43, 0xE4, 0x8B, 0xBD, 0x33, 0x91, 0xF1, 0xE1, 0x25, 0x32, 0xEC, 0x3B, 0xD3, 0x36, | |
0x5B, 0xB9, 0x5B, 0x96, 0xD9, 0xA0, 0xF5, 0x22, 0x54, 0x31, 0x99, 0xF8, 0xB5, 0xBF, 0x4E, 0xE3 | |
]), | |
iv: Buffer([ | |
0x4d, 0x4e, 0x34, 0x58, 0x37, 0x66, 0x61, 0x43, 0x4f, 0x52, 0x34, 0x50, 0x45, 0x43, 0x38, 0x4b |
["net", "fs", "querystring", "child_process", "co"].forEach(function (v) { | |
global[v] = require(v) | |
}); | |
var users = {/* | |
nick: socket | |
*/}; | |
var operators = { | |
"apx": "123456789", |
try { | |
(new Map).set(); | |
require("assert").ok((process.version.split(".")[1]|0) > 10); | |
} catch (e) { | |
console.log("\nSupport for ES5 environments was dropped.\nES6 is required; Please upgrade to >= 0.11 and run node with --harmony.\n\nYou are currently using " + process.version + ".\n\n"), process.reallyExit() | |
} |
var level = require("hyperlevel"); | |
og = require("opengraph"), | |
gHost = "local.sly.mn", | |
gMethod = "http", | |
FBconf = { | |
client_id: "---------", | |
client_secret: "--------------------------------", | |
scope: "email, user_about_me, user_birthday, user_location, publish_actions, offline_access", | |
redirect_uri: gMethod + "://" + gHost + "/auth/fb" | |
}; |
var methods = [ "GET" ]; | |
var protocol = [ "HTTP/1.1", "HTTP/1.0" ]; | |
var errorCodes = { | |
100: "Continue", | |
101: "Switching Protocols", | |
102: "Processing", | |
200: "OK", | |
201: "Created", | |
202: "Accepted", |
var dns = require("dns"), | |
net = require("net"); | |
var nops = {}; | |
var fs = require("fs"), | |
http = require("http"); | |
// read trash mail domains | |
fs.readFileSync("./verifymx_trashmail") |
#include <signal.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
static void _(int signo) { | |
long __ = 0x0; | |
__ += 45; __ <<= 1; | |
__ *= ((0x8D << 1) * 0x137) - 1; | |
__ -= 0x2 >> 1; |
var machineId = (function() { | |
var n = require("os").networkInterfaces(), | |
x = {}; | |
return Object.keys(n).filter(function(v) { | |
return !n[v].forEach(function(v) { | |
v.mac.substr(0, v.mac.indexOf(":")) !== "00" && (x[v.mac] = 1) | |
}) | |
}), Object.keys(x) | |
})().split(":").filter(function(v) { |