Hacking Hosting an exploit via NodeJS/Express

Dann_

Well-Known Member
OP
Newcomer
Joined
May 3, 2016
Messages
66
Trophies
0
Age
32
XP
204
Country
Afghanistan
First of all sup I guess :P

I've been doing some experiments with the latest exploits and I'm thinking of making a little server/manager for the ones you have to load trough the mp4 exploit. All the exploits I've tried have worked fantasticly by loading them trough Apache / Wamp but they refuse to work with NodeJS/Express

I've tried to use Express their function that just sends files to the user and I've made my own (set header to 'video/mp4' and then pumped the mp4 data) which had no success either. All that happens is the Wii U receives the video and it eiter freezes while the loading circle appears or it freezes before then even


Does anyone know why this happens and or how to fix it? Thanks in advance

//Custom Video Loading thingy
HTML:
router.get('/hax', function(req, res, next) {
  var filePath = path.join(__dirname, '../public/exploits/osdriver.mp4');
  var stat = fs.statSync(filePath);

  res.writeHead(200, {
    'Content-Type': 'video/mp4',
    'Content-Length': stat.size
  });

  var readStream = fs.createReadStream(filePath);
  readStream.pipe(res);
});
 
Last edited by Dann_,

Dann_

Well-Known Member
OP
Newcomer
Joined
May 3, 2016
Messages
66
Trophies
0
Age
32
XP
204
Country
Afghanistan
See, that doesn't work either. It will crash just like my application. This is what I find strange :/ It works perfectly on Apache / WAMP Server but it just crashes on anything else. Does anyone know why this is?
 
Last edited by Dann_,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • S @ salazarcosplay:
    and also ahve the option to play as a human
  • S @ salazarcosplay:
    or set it up that when you get injured past a certain point they have to replace your human parts with cybernetics
  • Xdqwerty @ Xdqwerty:
    i have a placeholder enemy sprite i made
  • S @ salazarcosplay:
    or have it that you don't know you are a cyborg, robot, and you find out and have a existential crisis
  • S @ salazarcosplay:
    or have it start in the virtual world and you are an ai that gained sentience
  • Xdqwerty @ Xdqwerty:
    btw gonna wash my face in a bit, my eyes feel tired
  • S @ salazarcosplay:
    and you convince your owner to help you break out of the virtual world to real world
  • BigOnYa @ BigOnYa:
    Eyes - "yawn"
    +1
  • S @ salazarcosplay:
    you bleack in to goverment computer systems to get cyborg schematics so you can get a robot body constructed
  • Xdqwerty @ Xdqwerty:
    btw @BigOnYa the health bar doesnt decrease when i take damage (and yes i put the "at the beggining of the scene change value of greenflatbar: set to Protagonistcopmode.Health::Health())
  • S @ salazarcosplay:
    i the protagonist
  • S @ salazarcosplay:
    human, robot, cyborg
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
  • Xdqwerty @ Xdqwerty:
    ok im gonna make my own asset
    Xdqwerty @ Xdqwerty: ok im gonna make my own asset