Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to spawn: unexpected crash while trying to allocate memory in Pokemon Go #129

Open
ASNXXXZ opened this issue Feb 2, 2025 · 2 comments

Comments

@ASNXXXZ
Copy link

ASNXXXZ commented Feb 2, 2025

I did everything what did your blog said and it gave me this output:

-l : The term '-l' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:2 char:5

  • -l ./config.js \
    
  • ~~
    
    • CategoryInfo : ObjectNotFound: (-l:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

-l : The term '-l' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:3 char:5

  • -l ./native-tls-hook.js \
    
  • ~~
    
    • CategoryInfo : ObjectNotFound: (-l:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

-l : The term '-l' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:4 char:5

  • -l ./android/android-certificate-unpinning.js \
    
  • ~~
    
    • CategoryInfo : ObjectNotFound: (-l:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

-l : The term '-l' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:5 char:5

  • -l ./android/android-certificate-unpinning-fallback.js \
    
  • ~~
    
    • CategoryInfo : ObjectNotFound: (-l:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

-f : The term '-f' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:6 char:5

  • -f $com.nianticlabs.pokemongo
    
  • ~~
    
    • CategoryInfo : ObjectNotFound: (-f:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException
@ASNXXXZ
Copy link
Author

ASNXXXZ commented Feb 2, 2025

Image

@pimterry
Copy link
Member

pimterry commented Feb 3, 2025

The various errors in the command here suggest you're using a non-bash terminal. I think probably powershell? I don't know much about powershell, but presumably there are tweaks you can make to run the same command there, or alternatively it will work out of the box in a bash-compatible terminal (e.g. on Windows you can install Git Bash for this).

The error shown in the app means that the target app is crashing unexpectedly. There's many possibilities here, for Pokemon Go I think this may be due to protections in the app that block use of Frida and similar. You'll need to reverse engineer the app to find out more, there's a guide here: https://httptoolkit.com/blog/android-reverse-engineering/. If you do find any specific improvements to the scripts that would resolve this, do let me know and I'm happy to integrate those.

@pimterry pimterry changed the title Failed to spawn: unexpected crash while trying to allocate memory Failed to spawn: unexpected crash while trying to allocate memory in Pokemon Go Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants