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

Unable to attach using identifier #55

Open
gaplan opened this issue Jul 13, 2022 · 3 comments
Open

Unable to attach using identifier #55

gaplan opened this issue Jul 13, 2022 · 3 comments

Comments

@gaplan
Copy link

gaplan commented Jul 13, 2022

Screen Shot 2022-07-13 at 07 24 09

  PID  Name                          Identifier                                   
-----  ----------------------------  ---------------------------------------------
 7313  AirDroid                      com.sand.airdroid                            
 8263  Calendar                      com.samsung.android.calendar                 
 7572  Contacts                      com.samsung.android.contacts                 
 7572  Contacts                      com.samsung.android.contacts                 
26770  Dergilik                      com.arneca.dergilik.main3x                   
 5384  Google                        com.google.android.googlequicksearchbox      
 5384  Google                        com.google.android.googlequicksearchbox      
 6258  Google Play Store             com.android.vending                          
26635  Instagram Lite                com.instagram.lite                           
 6180  Lite                          com.facebook.lite                            
 6831  Magisk                        com.topjohnwu.magisk                         
26939  Official TWRP App             me.twrp.twrpapp                              
25921  S Voice                       com.samsung.voiceserviceplatform             
26081  Samsung Music                 com.sec.android.app.music                    
19360  TikTok                        com.zhiliaoapp.musically                     
27067  TikTok Lite                   com.zhiliaoapp.musically.go                  
 3608  抖音                            com.ss.android.ugc.aweme                     
Enter the need to attach package.
:    com.ss.android.ugc.aweme
It's com.ss.android.ugc.aweme that you have attached app.
Traceback (most recent call last):
  File "/Users/selcukakbulut/temp/andro/hooker/hooker.py", line 93, in attach
    online_session = rdev.attach(target)
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 26, in wrapper
    return f(*args, **kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 165, in attach
    return Session(self._impl.attach(self._pid_of(target), *args, **kwargs))
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 193, in _pid_of
    return self.get_process(target).pid
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 26, in wrapper
    return f(*args, **kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 121, in get_process
    raise _frida.ProcessNotFoundError("unable to find process with name '%s'" % process_name)
frida.ProcessNotFoundError: unable to find process with name 'com.ss.android.ugc.aweme'

--------------------------------------------------



@CreditTone
Copy link
Owner

Is the app process running?

@gaplan
Copy link
Author

gaplan commented Sep 17, 2022

Nope.

@Oldman19
Copy link

屏幕截图 2022-07-13 在 07 24 09

  PID  Name                          Identifier                                   
-----  ----------------------------  ---------------------------------------------
 7313  AirDroid                      com.sand.airdroid                            
 8263  Calendar                      com.samsung.android.calendar                 
 7572  Contacts                      com.samsung.android.contacts                 
 7572  Contacts                      com.samsung.android.contacts                 
26770  Dergilik                      com.arneca.dergilik.main3x                   
 5384  Google                        com.google.android.googlequicksearchbox      
 5384  Google                        com.google.android.googlequicksearchbox      
 6258  Google Play Store             com.android.vending                          
26635  Instagram Lite                com.instagram.lite                           
 6180  Lite                          com.facebook.lite                            
 6831  Magisk                        com.topjohnwu.magisk                         
26939  Official TWRP App             me.twrp.twrpapp                              
25921  S Voice                       com.samsung.voiceserviceplatform             
26081  Samsung Music                 com.sec.android.app.music                    
19360  TikTok                        com.zhiliaoapp.musically                     
27067  TikTok Lite                   com.zhiliaoapp.musically.go                  
 3608  抖音                            com.ss.android.ugc.aweme                     
Enter the need to attach package.
:    com.ss.android.ugc.aweme
It's com.ss.android.ugc.aweme that you have attached app.
Traceback (most recent call last):
  File "/Users/selcukakbulut/temp/andro/hooker/hooker.py", line 93, in attach
    online_session = rdev.attach(target)
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 26, in wrapper
    return f(*args, **kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 165, in attach
    return Session(self._impl.attach(self._pid_of(target), *args, **kwargs))
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 193, in _pid_of
    return self.get_process(target).pid
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 26, in wrapper
    return f(*args, **kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/frida/core.py", line 121, in get_process
    raise _frida.ProcessNotFoundError("unable to find process with name '%s'" % process_name)
frida.ProcessNotFoundError: unable to find process with name 'com.ss.android.ugc.aweme'

--------------------------------------------------

Did you solve this problem, I also encountered the same error

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

3 participants