- fix challenge exchange and tickets - full encrypted convo to splash - proper encryption sessions to maintain working RC4 stream - proper nodejs versioning, encryption working - minor changes, included mini tutorial, version inc - fix file loading issues
20 lines
571 B
JavaScript
20 lines
571 B
JavaScript
// willie is just a graphical frontend to a list of ROMs
|
|
// the rest of the scripts should work if you manually link to a ROM, and actually have it.
|
|
|
|
|
|
const options = new URL('http://wtv.zefie.com/willie.php?flash='+getSessionData(socket_session_data[socket.id].ssid, 'wtv-client-rom-type'))
|
|
var data_ready = false;
|
|
data = '';
|
|
const req = http.request(options, res => {
|
|
console.log(`statusCode: ${res.statusCode}`)
|
|
|
|
res.on('data', d => {
|
|
data += d;
|
|
})
|
|
|
|
res.on('end', function () {
|
|
data_ready = true;
|
|
});
|
|
});
|
|
|
|
headers = "200 OK\nContent-type: text/html"; |