MarcoG3 / WhatsDump

Extract WhatsApp private key from any non-rooted Android device (Android 7+ supported)
https://plainsec.org
GNU Lesser General Public License v3.0
268 stars 58 forks source link

TypeError: adb_root() missing 1 required positional argument: 'serialn' #66

Closed cachuzo closed 3 years ago

cachuzo commented 3 years ago

Hello Guys,

I did a checkout of Tkd-Alex's fork, commit cfa9be737d213b50b80f6ba28868f5fa3703dd7d.

When I tried to execute it, I have got this error: TypeError: adb_root() missing 1 required positional argument: 'serialn' Attached is the full log of messages displayed.

error.txt

Thanks a lot!

Vetalb60 commented 3 years ago

Hello,cachuzo.

Set the value 'serial' as None by default.

def adb_root(self, serialn = None):
    return self._run_cmd_adb("-s {} root".format(serialn)).returncode == 0
cachuzo commented 3 years ago

Thanks, Issue solved