Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Generation V Glitch Discussion

I found arbitary code execution in Pokemon Black 2!!! - Page 1

I found arbitary code execution in Pokemon Black 2!!!

Posted by: MarcinTVP8
Date: 2018-03-17 10:16:16
I discovered this completely by accident.
So, I found arbitary code execution in Pokemon Black 2.
I don't know where the code is executed.
The first time I experienced this, the game froze without bringing up the crash handler.
The second time and onwards it brought up the PC Pokemon screen, which has the cursor set to an glitch location. The game then crashed bringing up the crash handler.
I've attached the save in the attachment.
Just exit the gym and it'll happen.

Re: I found arbitary code execution in Pokemon Black 2!!!

Posted by: ISSOtm
Date: 2018-03-17 13:14:07
Assuming that's ACE, how did you obtain this save ?

Re: I found arbitary code execution in Pokemon Black 2!!!

Posted by: MarcinTVP8
Date: 2018-03-18 11:20:54
I just saved by myself. I made a save state before this even occured and saved my game.
I didn't know it would end like that.

Re: I found arbitary code execution in Pokemon Black 2!!!

Posted by: Flandre Scarlet
Date: 2018-03-18 12:07:41
I think he is asking what steps you took in order to get this save? Did you do anything special or did it just occur during normal gameplay?

Re: I found arbitary code execution in Pokemon Black 2!!!

Posted by: ISSOtm
Date: 2018-03-18 13:54:14
Yep. I want a repro method, because only a save isn't useful.

Re: I found arbitary code execution in Pokemon Black 2!!!

Posted by: Flameduck
Date: 2018-03-18 14:12:04
Judging from the save this looks to be from a randomized ROM which could change some things as well, so the more details the better we can determine how it happened exactly.

Re: I found arbitary code execution in Pokemon Black 2!!!

Posted by: MarcinTVP8
Date: 2018-03-18 15:17:32
I just did walk through walls past the guard and beat the gym.
Before this happened I saved a save state, so I was able to save the game normally.

Re: I found arbitary code execution in Pokemon Black 2!!!

Posted by: ISSOtm
Date: 2018-03-18 21:32:23
Custom ROM + cheat codes, I'm not trusting this, tbh.

Re: I found arbitary code execution in Pokemon Black 2!!!

Posted by: Flameduck
Date: 2018-03-18 21:43:29
I guess if there actually is this kind of effect on a vanilla B2 ROM, it could be interesting just to see what exactly happened here. Did someone test this yet?