yowsup
yowsup copied to clipboard
Cannot use cli in android environment
When running the cli with
python3 ./yowsup-cli demos -y -l XXXX:XXX -E android --debug
I get this
DEBUG:yowsup.layers.logger.layer:rx:
<challenge>
¨vîJâÊT°à:KÂÔþV
HEX3:b'a8769a91ee4ae2ca54b0e03a4bc2d4fe60085699'
</challenge>
DEBUG:yowsup.layers.logger.layer:tx:
<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
} fSèéÂÞäu¸á,À!8ì?Ìu{,sÈ iã}z(21lÖ
Ö¨Ç^{ì@Ü1vÉc
^g9¢µ»
HEX3:b'7d8a9589096653e8e9c2deb708e475b8e17f2cc01821973817ec3fcc759737087b2c73c8206919e37d7a28328696316c8406d60a10d6a8c75e7bec9740dc31821d8a76c9630a5e6739a281b58fbb'
</response>
DEBUG:yowsup.layers.network.layer:Disconnected, reason: Connection Closed
I did my registration using -E android
and I'm worried to use the cli with S40
because yesterday I got another number banned.
I'm getting the same error. I tried with S40 and it did work. Command line send works as expected without setting the -E android switch.
same error
Use the android env for registering, use the s40 env for everything else
Same here
Hi! Could you provide please S40 setting for successful log in? Mine is not working *( _VERSION = "2.16.12" _OS_NAME= "S40" _OS_VERSION = "14.26" _DEVICE_NAME = "302" _MANUFACTURER = "Nokia" _TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}" _AXOLOTL = True
pretty sure you need to use this https://coderus.openrepos.net/whitesoft/whatsapp_scratch for the _VERSION and _TOKEN_STRING
@dvschramm Could you tell please, what is a right order of these variables or I should try all of them or just provide your S40 settings, because you can successfully log in? My problem that I can't log in using cli.
if I remember correctly, "b" is _TOKEN_STRING and "d" is _VERSION
@dvschramm Connection closed when I try to log in. Set vars as you said.
_VERSION = "2.17.393" _OS_NAME= "S40" _OS_VERSION = "14.26" _DEVICE_NAME = "302" _MANUFACTURER = "Nokia" _TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"
Just use the default provided in this repo. They should work fine
@AragurDEV Thanks! But it works only if I use it in script not in cli.
https://github.com/tgalal/yowsup/issues/2413