Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

10
11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line http://hacktracking.blogspot.com/2013/02/yowsup-cli-send-whatsapp-messages-from.html 1/10 # cat blog >> /dev/brain 2> /proc/mind hacktracking Posted by t0n1 Labels: command-line, whatsapp, yowsup-cli # yowsup-cli: Send Whatsapp messages from command-line Installation and configuration # 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= Send a message # ./yowsup-cli --send 34111222333 "Test message" --wait --config yowsup-cli.config Connecting to c.whatsapp.net Authed 34123456789 Sent message Got sent receipt Receive messages # ./yowsup-cli --listen --autoack --keepalive --config yowsup-cli.config Connecting to c.whatsapp.net Authed 34123456789 [email protected] [02-02-2013 14:14]:I have received a test message from you Interactive: Send and receive messages # ./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) [email protected] [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 References https://github.com/tgalal/yowsup http://www.fonyou.es 24 comments: Anonymous said... Get the newest Whatsapp Hack V2 and spy on your love one! May 12, 2013 at 5:05 PM Trochey said... 14 (58) 13 (106) December (2) November (17) October (8) September (5) 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 Cataly and Nexus swit... # yowsup-cli: Send Whatsapp messages from command-... January (8) 12 (55) 11 (52) 08 (5) wargame (47) ios (35) ctf (34) overthewire (31) picoctf (22) python (18) ccie (12) sqli (12) shellscript (11) hackit (10) hackyou (10) redtigers (10) gdb (9) narnia (9) behemoth (8) cisco (8) cscamp (8) utumno (8) vpn (8) blind_sql (7) c (7) ipsec (7) router (7) site-to-site (7) Labels

description

Yowsup with Whatsapp

Transcript of Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

Page 1: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

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

hacktracking

Posted by t0n1 Labels: command-line, whatsapp, yowsup-cli

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

Installation and configuration

# 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.configcc=34phone=34123456789id=password=# chmod +x yowsup-cli# ./yowsup-cli --requestcode sms --config yowsup-cli.configstatus: sentretry_after: 3605length: 6method: sms# ./yowsup-cli --register 123-456 --config yowsup-cli.configstatus: okkind: freepw: S1nBGCvZhb6TBQrbm2sQCfSLkXM=price: 0,89price_expiration: 1362803446currency: EURcost: 0.89expiration: 1391344106login: 34123456789type: new# cat yowsup-cli.configcc=34phone=34123456789 id=password=S1nBGCvZhb6TBQrbm2sQCfSLkXM=

Send a message

# ./yowsup-cli --send 34111222333 "Test message" --wait --config yowsup-cli.configConnecting to c.whatsapp.netAuthed 34123456789Sent messageGot sent receipt

Receive messages

# ./yowsup-cli --listen --autoack --keepalive --config yowsup-cli.configConnecting to c.whatsapp.netAuthed [email protected] [02-02-2013 14:14]:I have received a test message from you

Interactive: Send and receive messages

# ./yowsup-cli --interactive 34111222333 --wait --autoack --keepalive --config yowsup-cli.configConnecting to c.whatsapp.netAuthed 34123456789Starting Interactive chat with 34111222333Enter Message or command: (/available, /lastseen, /unavailable)Yes, I know it34123456789 [02-02-2013 14:15]:Yes, I know itEnter Message or command: (/available, /lastseen, /unavailable)[email protected] [02-02-2013 14:16]:What are you doing?Enter Message or command: (/available, /lastseen, /unavailable)Testing a new application34123456789 [02-02-2013 14:16]:Testing a new applicationEnter Message or command: (/available, /lastseen, /unavailable)/unavailable

References

https://github.com/tgalal/yowsuphttp://www.fonyou.es

24 comments:Anonymous said...

Get the newest Whatsapp Hack V2 and spy on your love one!

May 12, 2013 at 5:05 PM

Trochey said...

► 14 (58)

▼ 13 (106)

► December (2)

► November (17)

► October (8)

► September (5)

► August (21)

► July (6)

► June (4)

► May (4)

► April (4)

► March (13)

▼ February (14)

# XenServer virtual machinebackup 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, RSPANand ERSPAN

# NetFlow configuration on Catalystand Nexus swit...

# yowsup-cli: Send Whatsappmessages from command-...

► January (8)

► 12 (55)

► 11 (52)

► 08 (5)

wargame (47)

ios (35)

ctf (34)

overthewire (31)

picoctf (22)

python (18)

ccie (12)

sqli (12)

shellscript (11)

hackit (10)

hackyou (10)

redtigers (10)

gdb (9)

narnia (9)

behemoth (8)

cisco (8)

cscamp (8)

utumno (8)

vpn (8)

blind_sql (7)

c (7)

ipsec (7)

router (7)

site-to-site (7)

Labels

Page 2: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

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

I get this error:

Detected cc: 54status: failreason: missing

August 18, 2013 at 6:10 AM

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: 91status: sentretry_after: 1805length: 6method: smsbut 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

pavan said...

Thanks you very much , Its really working.

April 14, 2014 at 4:40 AM

Saeed Gharedaghi said...

i can't create group with yowsuphow to create group???please help me

April 20, 2014 at 7:19 AM

DK said...

how to sync whatsapp contact

April 25, 2014 at 8:39 AM

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 needto get a whats app download to send messages.

April 29, 2014 at 4:51 PM

David Okwii said...

Wow, this worked for me. Thanks

May 16, 2014 at 9:18 PM

Michael Shiloh said...

I too am getting

Detected cc: 1status: failreason: missing

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

Any suggestions?

June 2, 2014 at 11:58 PM

Michael Shiloh said...

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

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

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

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 WhatsAppon your cellphone you can't use your cellphone number on your computer as well. I used my cellphone the first time and

This comment has been removed by the author. steganography (7)

bash (6)

crypto (6)

ncn (6)

quals (6)

sockets (6)

ssh (6)

voice (6)

challenge (5)

cme (5)

crack (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)

sandbox (4)

vortex (4)

3g (3)

asa (3)

backdoor (3)

bruteforce (3)

codecademy (3)

command-line (3)

course (3)

crypto_map (3)

cve (3)

dns (3)

eval (3)

exploit (3)

format_string (3)

iphone (3)

javascript (3)

key (3)

linux (3)

metasploitable (3)

nat (3)

rules (3)

script (3)

snmp (3)

snort (3)

span (3)

tcl (3)

tor (3)

tunnel (3)

vpc (3)

web (3)

802.1x (2)

assembly (2)

bgp (2)

Page 3: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

Post a Comment

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

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: failretry_after: 3600reason: 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 coupleof 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

Romeo Agustus said...

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.

I've googled around and i found other solutio that replace whatsapp host at httplib.connection(host, port) intohttplib.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.

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

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

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

when I run in IDE:>>> yowsup-cli --requestcode sms --config yowsup.config;

I get: SyntaxError: invalid syntaxWhat is wrong?

I will appreciate some help..

Thanks in advance.Dan

August 25, 2014 at 3:45 PM

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

-Dan

August 25, 2014 at 8:01 PM

Anonymous said...

status: failreason: blocked

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 anymethod to unblock.

September 2, 2014 at 12:57 PM

PUNEETH A H said...

/yowsup-master/src$ ./yowsup-cli --send 919591xxxxxxx "Test message" --wait --config yowsup-cli.configDetected cc: 91Auth Failed!

October 5, 2014 at 2:18 PM

BLOSSOMSBEAUTY said...

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

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

John ndung'u said...

works really well on my ubuntu 12.04 ltsthis link might also aswellhttp://blog.incognitech.in/whatsapp-on-ubuntu/

November 4, 2014 at 4:00 PM

ca (2)

certificate (2)

chat (2)

cmd (2)

deobfuscation (2)

dhcp (2)

dig (2)

dionaea (2)

download (2)

eem (2)

eigrp (2)

elf (2)

esteganografía (2)

f5 (2)

fex (2)

freeradius (2)

generator (2)

getenvaddr (2)

gnupg (2)

gre (2)

hooking (2)

instalación (2)

java (2)

keyboard (2)

ld_preload (2)

mausezahn (2)

mcrypt (2)

md5 (2)

mega-dl (2)

mp3 (2)

ms-dos (2)

multicast (2)

nasm (2)

natas (2)

nc (2)

ncat (2)

netflow (2)

network (2)

nodejs (2)

notsosecure (2)

ntp (2)

oer (2)

pam (2)

pcap (2)

permutations (2)

pfr (2)

phdays (2)

postgres (2)

ppc (2)

qr (2)

recovery (2)

reversing (2)

ropgadget (2)

secuinside (2)

syslog (2)

tftp (2)

troubleshooting (2)

tsocks (2)

túnel (2)

vlan (2)

vlc (2)

wep (2)

Page 4: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

Newer Post Older PostHome

Subscribe to: Post Comments (Atom)

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)

Page 5: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

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)

Page 6: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

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)

Page 7: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

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)

Page 8: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

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)

Page 9: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

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)

Page 10: Hacktracking_ # Yowsup-cli_ Send Whatsapp Messages From Command-line

11/7/2014 hacktracking: # yowsup-cli: Send Whatsapp messages from command-line

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

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.