Sei sulla pagina 1di 10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

hacktracking
# cat blog >> /dev/brain 2> /proc/mind

14 (58)
13 (106)

# yowsup-cli: Send Whatsapp messages from command-line

December (2)
November (17)

Installation and configuration

October (8)
September (5)

# apt-get install python python-dateutil python-argparse


# wget https://github.com/tgalal/yowsup/archive/master.zip
# unzip master.zip
# cd yowsup-master/src
# cp config.example yowsup-cli.config
# cat yowsup-cli.config
cc=34
phone=34123456789
id=
password=
# chmod +x yowsup-cli
# ./yowsup-cli --requestcode sms --config yowsup-cli.config
status: sent
retry_after: 3605
length: 6
method: sms
# ./yowsup-cli --register 123-456 --config yowsup-cli.config
status: ok
kind: free
pw: S1nBGCvZhb6TBQrbm2sQCfSLkXM=
price: 0,89
price_expiration: 1362803446
currency: EUR
cost: 0.89
expiration: 1391344106
login: 34123456789
type: new
# cat yowsup-cli.config
cc=34
phone=34123456789
id=
password=S1nBGCvZhb6TBQrbm2sQCfSLkXM=

August (21)
July (6)
June (4)
May (4)
April (4)
March (13)
February (14)
# XenServer virtual machine
backup script
# Narnia wargame: Level 8
# Narnia wargame: Level 7
# Narnia wargame: Level 6
# Narnia wargame: Level 5
# Narnia wargame: Level 4
# Narnia wargame: Level 3
# Narnia wargame: Level 2
# Narnia wargame: Level 1
# Narnia wargame: Level 0
# Mini Protocol Analyzer
# Configuring Local SPAN, RSPAN
and ERSPAN
# NetFlow configuration on Catalyst
and Nexus swit...
# yowsup-cli: Send Whatsapp
messages from command-...

Send a message

January (8)
# ./yowsup-cli --send 34111222333 "Test message" --wait --config yowsup-cli.config
Connecting to c.whatsapp.net
Authed 34123456789
Sent message
Got sent receipt

12 (55)
11 (52)
08 (5)

Receive messages

Labels
# ./yowsup-cli --listen --autoack --keepalive --config yowsup-cli.config
Connecting to c.whatsapp.net
Authed 34123456789
34111222333@s.whatsapp.net [02-02-2013 14:14]:I have received a test message from you

wargame (47)
ios (35)
ctf (34)

Interactive: Send and receive messages

overthewire (31)
picoctf (22)

# ./yowsup-cli --interactive 34111222333 --wait --autoack --keepalive --config yowsup-cli.config


Connecting to c.whatsapp.net
Authed 34123456789
Starting Interactive chat with 34111222333
Enter Message or command: (/available, /lastseen, /unavailable)
Yes, I know it
34123456789 [02-02-2013 14:15]:Yes, I know it
Enter Message or command: (/available, /lastseen, /unavailable)
34111222333@s.whatsapp.net [02-02-2013 14:16]:What are you doing?
Enter Message or command: (/available, /lastseen, /unavailable)
Testing a new application
34123456789 [02-02-2013 14:16]:Testing a new application
Enter Message or command: (/available, /lastseen, /unavailable)
/unavailable

python (18)
ccie (12)
sqli (12)
shellscript (11)
hackit (10)
hackyou (10)
redtigers (10)
gdb (9)
narnia (9)

References
https://github.com/tgalal/yowsup
http://www.fonyou.es

behemoth (8)
cisco (8)
cscamp (8)

Posted by t0n1

utumno (8)

Labels: command-line, whatsapp, yowsup-cli

vpn (8)

24 comments:
Anonymous said...
Get the newest Whatsapp Hack V2 and spy on your love one!
May 12, 2013 at 5:05 PM

blind_sql (7)
c (7)
ipsec (7)
router (7)
site-to-site (7)

Trochey said...

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

1/10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


This comment has been removed by the author.
July 10, 2013 at 10:53 PM
Anonymous said...
In Argentina use 549XXxxxxxxxx
July 10, 2013 at 10:54 PM
Lucho Q.A.C said...
After this line of code ./yowsup-cli --requestcode sms --config yowsup-cli.config

steganography (7)
bash (6)
crypto (6)
ncn (6)
quals (6)
sockets (6)
ssh (6)

I get this error:

voice (6)

Detected cc: 54
status: fail
reason: missing

challenge (5)

August 18, 2013 at 6:10 AM

crack (5)

Anonymous said...
lucho,
give full path of your config file at end....i.e. if in same directory, - config ./yowsup-cli.config
February 5, 2014 at 9:42 PM
Anonymous said...
i have completed steps till requesting sms and i got this output.
Detected cc: 91
status: sent
retry_after: 1805
length: 6
method: sms
but after this i have not yet received any sms to my mobile number...so what to do????
February 11, 2014 at 3:08 PM
Anonymous said...
DMCA takedownon YouSup :(
February 18, 2014 at 11:28 AM
Kenneth Kinyanjui said...
Did as shown here but I get an Auth Fail when sending
April 13, 2014 at 9:12 PM

cme (5)

metasploit (5)
nexus (5)
openssl (5)
overflow (5)
reverse (5)
rop (5)
rsa (5)
scapy (5)
shellcode (5)
tool (5)
xor (5)
anonymity (4)
jail (4)
nmap (4)
nx-os (4)
password (4)
proxy (4)

pavan said...
Thanks you very much , Its really working.
April 14, 2014 at 4:40 AM

sandbox (4)
vortex (4)
3g (3)

Saeed Gharedaghi said...


i can't create group with yowsup
how to create group???
please help me
April 20, 2014 at 7:19 AM

asa (3)
backdoor (3)
bruteforce (3)
codecademy (3)

DK said...
how to sync whatsapp contact
April 25, 2014 at 8:39 AM

command-line (3)
course (3)
crypto_map (3)

Sara said...
Wow i never thought that this is a possibility, i would try to do that but i am not really good with the code, so i think i need
to get a whats app download to send messages.

cve (3)
dns (3)

April 29, 2014 at 4:51 PM

eval (3)

David Okwii said...

exploit (3)

Wow, this worked for me. Thanks

format_string (3)

May 16, 2014 at 9:18 PM

iphone (3)

Michael Shiloh said...

javascript (3)

I too am getting

key (3)

Detected cc: 1
status: fail
reason: missing

linux (3)
metasploitable (3)
nat (3)

I followed the advice from Anonymous to give the full path to my config file, but still get that error.

rules (3)

Any suggestions?

script (3)

June 2, 2014 at 11:58 PM

snmp (3)

Michael Shiloh said...

snort (3)

Partial answer to my own question, using information from https://vpsboard.com/topic/3954-how-to-use-whatsapp-fromyour-linux-box/:

span (3)

First, need to request a code for new phone number:

tor (3)

./yowsup-cli --requestcode sms --config ./yowsup-cli.config

tunnel (3)

which will cause an SMS message containing a 6 digit code to be sent to the number in the config file.
Then register with the new code:
./yowsup-cli --register xxx-xxx --config ./yowsup-cli.config
BTW as i understand it, WhatsApp only allows one device to be registered for each phone number, so if you use WhatsApp
on your cellphone you can't use your cellphone number on your computer as well. I used my cellphone the first time and

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

tcl (3)

vpc (3)
web (3)
802.1x (2)
assembly (2)
bgp (2)

2/10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


while it worked, it prevented WhatsApp from working on my cellphone. So I re-registered my cellphone, and now I'm
trying to use a Google Voice number.

ca (2)
certificate (2)

I have not been able to verify this yet as it failed the first time I requested a code for my Google Voice number, saying
status: fail
retry_after: 3600
reason: no_routes
I'm not sure what units the 3600 is but I've waited half an hour and was told that was too soon, so I'll try again in a couple
of hours. I hope this doesn't mean that a Google Voice number can not be used with WhatsApp.
June 3, 2014 at 1:35 AM

chat (2)
cmd (2)
deobfuscation (2)
dhcp (2)
dig (2)
dionaea (2)

Romeo Agustus said...

download (2)

It works great on my laptop at home. But it wont work at my office because we use proxy.
i have used enviroment variable http_proxy and https_proxy, but still doesnt work.

eem (2)

I've googled around and i found other solutio that replace whatsapp host at httplib.connection(host, port) into
httplib.connection(proxy,port) but then i got protocol issue...
right now, Im still trying to solve this. But if you already have solution, i will be greatly than you.
August 19, 2014 at 6:03 PM
Anonymous said...
Hi,
I have installed Python 2.7 but I am new to python.

eigrp (2)
elf (2)
esteganografa (2)
f5 (2)
fex (2)
freeradius (2)
generator (2)
getenvaddr (2)

Only download link I found for yowsup is github.com/jperelli/yowsup

gnupg (2)

How Do I install yowsup in windows? I just extracted the files in C:\python27\Lib\yowsup

gre (2)

But I don't see yowsup-cli.py anywhere in C:\python27

hooking (2)

when I run in IDE:


>>> yowsup-cli --requestcode sms --config yowsup.config;

instalacin (2)

I get: SyntaxError: invalid syntax


What is wrong?

keyboard (2)

I will appreciate some help..

mausezahn (2)

Thanks in advance.
Dan

mcrypt (2)

August 25, 2014 at 3:45 PM

java (2)

ld_preload (2)

md5 (2)
mega-dl (2)

Anonymous said...
I used PIP to install yowsup.
But there is no yowsup-cli.
How can I run:
yowsup-cli --requestcode sms --config yowsup-cli.config

mp3 (2)
ms-dos (2)
multicast (2)
nasm (2)

-Dan

natas (2)

August 25, 2014 at 8:01 PM

nc (2)

Anonymous said...

ncat (2)

status: fail
reason: blocked

netflow (2)

What should i do if i get this error. It was working for few days but suddenly its giving error saying blocked. Is there is any
method to unblock.

nodejs (2)

September 2, 2014 at 12:57 PM


PUNEETH A H said...
/yowsup-master/src$ ./yowsup-cli --send 919591xxxxxxx "Test message" --wait --config yowsup-cli.config
Detected cc: 91
Auth Failed!
October 5, 2014 at 2:18 PM

network (2)

notsosecure (2)
ntp (2)
oer (2)
pam (2)
pcap (2)
permutations (2)

BLOSSOMSBEAUTY said...
hi..I am getting the below error when I am typing the command chmod +x yowsup-cli

pfr (2)
phdays (2)

chmod: changing permissions of yowsup-cli: Operation not permitted


what to do?
October 6, 2014 at 4:05 PM
Anonymous said...
Is it possible to send images using this? If yes, how?
October 8, 2014 at 3:08 PM
Anonymous said...
try "sudo chmod +x yowsup-cli"
October 15, 2014 at 11:14 AM

postgres (2)
ppc (2)
qr (2)
recovery (2)
reversing (2)
ropgadget (2)
secuinside (2)
syslog (2)
tftp (2)

John ndung'u said...


works really well on my ubuntu 12.04 lts
this link might also aswell
http://blog.incognitech.in/whatsapp-on-ubuntu/
November 4, 2014 at 4:00 PM
Post a Comment

troubleshooting (2)
tsocks (2)
tnel (2)
vlan (2)
vlc (2)
wep (2)

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

3/10

11/7/2014
Newer Post

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


Home
Subscribe to: Post Comments (Atom)

Older Post

wvc54gca (2)
/dev (1)
0x3004 (1)
30c3 (1)
32-bit (1)
ads (1)
afpacket (1)
aircrack-ng (1)
analyzer (1)
applet (1)
arch_linux (1)
architecture (1)
arm (1)
arpspoof (1)
ashell (1)
authentication (1)
autocommand (1)
autopwn (1)
autoqos (1)
axfr (1)
backtrace (1)
backtracking (1)
backup (1)
base (1)
bind (1)
bitrate (1)
blend (1)
blocking (1)
bonding (1)
bootp (1)
bpdu (1)
breakpoint (1)
buffer (1)
bypass (1)
byte (1)
cain_and_abel (1)
catalyst (1)
cbac (1)
cbc (1)
ccrypt (1)
cdr (1)
cef (1)
chatroom (1)
chinese_remainder_theorem (1)
class (1)
classful (1)
classification (1)
classless (1)
closure (1)
column_truncation (1)
combinations (1)
comgt (1)
commands (1)
communities (1)
comprehensions (1)
confederations (1)
config-sync (1)
connect (1)
continued_fraction (1)
convergent (1)
convert (1)
converter (1)

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

4/10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


coprime (1)
cor (1)
corefile (1)
cos (1)
crawler (1)
crontab (1)
cross-compilation (1)
cryptsetup (1)
csrf (1)
ctransfer (1)
cube_root (1)
curl (1)
cve-2014-0160 (1)
daq (1)
data (1)
debug (1)
decode (1)
decoder (1)
decompiler (1)
default_routing (1)
dehieroglyphy (1)
destination (1)
device (1)
dhparam (1)
dial_peer (1)
digest_auth (1)
directory (1)
distccd (1)
dmitry (1)
dmvpn (1)
dname (1)
dotnet (1)
dscp (1)
dsniff (1)
dtp (1)
dynamic (1)
eap (1)
echo (1)
egcd (1)
encode (1)
encoder (1)
encrypt (1)
enhanced (1)
ephone (1)
erspan (1)
ethanalyzer (1)
etherchannel (1)
ethernet (1)
fd (1)
find (1)
finger (1)
firewire (1)
firmware (1)
flack (1)
flag (1)
forensics (1)
forward (1)
forwarder (1)
forwarding (1)
frame_relay (1)
ftp (1)
fxo (1)

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

5/10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


fxs (1)
game (1)
gcc (1)
gdoi (1)
getvpn (1)
glbp (1)
gnuplot (1)
got (1)
gpg (1)
gpio (1)
graph (1)
grub (1)
hackplayers (1)
hat-check (1)
heartbleed (1)
hex (1)
homed (1)
hping3 (1)
hsrp (1)
https (1)
hydra (1)
icmp (1)
ida (1)
ieee1394 (1)
ignore (1)
ilspy (1)
import (1)
inarp (1)
inception (1)
inline (1)
intel (1)
intercom (1)
ip_header (1)
ip_sla (1)
iperf (1)
ipp (1)
iptables (1)
irule (1)
issu (1)
iterative (1)
itertools (1)
kickstart (1)
kron (1)
layout (1)
ld_pointer_guard (1)
lea (1)
lfi (1)
list (1)
local (1)
losetup (1)
lsof (1)
ltrace (1)
luks (1)
mangle (1)
marking (1)
mega (1)
memory (1)
mencoder (1)
mersenne_twister (1)
mgre (1)
mib (1)
microprocessor (1)

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

6/10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


mini (1)
modes (1)
modify (1)
modinv (1)
moh (1)
mp4 (1)
msfc (1)
mst (1)
multiple (1)
mutex (1)
mysql (1)
n2k (1)
n5k (1)
nde (1)
nessus (1)
netsed (1)
nfq (1)
nhrp (1)
nm (1)
nse (1)
nslookup (1)
ntfsundelete (1)
nttcp (1)
numbers (1)
nx (1)
oauth (1)
objcopy (1)
objdump (1)
offset (1)
oinkcode (1)
ollydbg (1)
on-the-fly (1)
one-liner (1)
opa (1)
open (1)
openpgp (1)
openswan (1)
openvpn (1)
option_150 (1)
ospf (1)
ota (1)
otp (1)
outside (1)
packets (1)
padding_oracle (1)
paging (1)
parallel (1)
park (1)
pat (1)
pe (1)
performance (1)
perl (1)
pfc (1)
php (1)
pickle (1)
pickup (1)
pil (1)
pinning (1)
pivoting (1)
pix (1)
plutil (1)
poe (1)

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

7/10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


point (1)
policy_routing (1)
polymorphic (1)
pppoe (1)
pre-shared (1)
predictor (1)
prime (1)
privoxy (1)
probability (1)
process (1)
products (1)
profile (1)
program (1)
pthreads (1)
puertos (1)
pulledpork (1)
pvst+ (1)
pyjail (1)
pymongo (1)
qinq (1)
random (1)
raspberry_pi (1)
ratproxy (1)
rbac (1)
redistribution (1)
reduh (1)
referer (1)
registers (1)
replace (1)
reto (1)
ripe (1)
rite (1)
rmon (1)
rollback (1)
rot (1)
rot13 (1)
rotary (1)
route_reflectors (1)
rrdtool (1)
rspan (1)
rss (1)
rssi (1)
rtp (1)
ruby (1)
ructfe (1)
rwth (1)
s/key (1)
sakis3g (1)
salt (1)
samba (1)
screen (1)
sdmem (1)
second_order (1)
secos (1)
sfcp (1)
sfill (1)
sha1 (1)
sharefile (1)
shortcut (1)
shortcuts (1)
size (1)
skipfish (1)

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

8/10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


slb (1)
snmpv3 (1)
snmpwalk (1)
snow (1)
snr (1)
socat (1)
socket.io (1)
sql (1)
sqlite (1)
sqlmap (1)
srm (1)
sshd (1)
sslstrip (1)
sswap (1)
stack (1)
stdbuf (1)
steganalysis (1)
steghide (1)
storage (1)
stp (1)
strace (1)
strcpy (1)
stripped (1)
summarization (1)
summary (1)
system (1)
terminal (1)
testdisk (1)
tethering (1)
tiger (1)
time_attack (1)
timelapse (1)
tipo_7 (1)
tls (1)
tools (1)
traceroute (1)
transcode (1)
transfer (1)
truecrypt (1)
ttcp (1)
tweet (1)
tweetledee (1)
twitter (1)
type (1)
udev (1)
unicast (1)
unserialize (1)
upgrade (1)
userdir (1)
usewithtor (1)
vdc (1)
video (1)
vigenere (1)
vim (1)
vlan_translation (1)
vm (1)
vodafone (1)
volume (1)
vrf (1)
vrrp (1)
vti (1)
vtp (1)

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

9/10

11/7/2014

hacktracking: # yowsup-cli: Send Whatsapp messages from command-line


w0pr (1)
wccp (1)
webm (1)
well-known (1)
whatsapp (1)
whois (1)
wi-fi (1)
wiener (1)
wiringpi (1)
wvdial (1)
x-forwarded-for (1)
x509 (1)
x86 (1)
xdotool (1)
xenserver (1)
xss (1)
xxd (1)
youtube-dl (1)
yowsup-cli (1)
zfw (1)
zip (1)
zlib (1)
zmap (1)
zone (1)

Powered by Blogger.

http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html

10/10

Potrebbero piacerti anche