Use fetion under linux command line

Source: Internet
Author: User

Download the Fetion program from http://www-it-adv.net/and its required modules Linuxso


1. Installing Fetion
After Windows decompression, upload to Linux, first create a directory under the Linux system, and then copy the command files and modules to the directory:
[Email protected]:/usr/local/fetion]# Tree
.
|--fetion
|--libace-5.7.2.so
|--libace_ssl-5.7.2.so
|--libcrypto.so.4
'--libssl.so.4


[[Email protected]:/usr/local/fetion]# chmod 755 *
[Email protected]:/usr/local/fetion]# ll
Total 13252
-rwxr-xr-x 1 root root 503425 Dec 13:02 fetion
-rwxr-xr-x 1 root root 11317349 Dec 13:04 libace-5.7.2.so
-rwxr-xr-x 1 root root 548099 Dec 13:04 libace_ssl-5.7.2.so
-rwxr-xr-x 1 root root 945120 Dec 13:04 libcrypto.so.4
-rwxr-xr-x 1 root root 213600 Dec 13:04 libssl.so.4


To view the fetion command usage:
[Email protected]:/usr/local/fetion]# ld_library_path=. ./fetion--help Note. Spaces.
IMPORTANT STATEMENT ************************
**                                                                 **
* * Please DON ' T use the software to SEND JUNK short MESSAGES. **
* * OTHERWISE YOUR OWN consequences. **
**                                                                 **
* * Version:[20101205002-linux] * *
*********************************************************************
This program was the console version of China fetion!
It ' s free for personal user.
This project website:http://www.it-adv.net/


Author:kelvinh Msn/email:[email protected]


Usage:
--mobile=[mobile]
--SID=[SID]
--PWD=[PWD]
--config=[config file] *format:index mobile password
--index=[index no in config File,refer to sample.conf]


--debug *debug mode on
--hide *login fetion in hidden state
--TO=[MOBILE/SID]
--command-path=[command file path]
--robotmode
--daemon (Linux only)
--PROXY-IP (HTTP proxy IP)
--proxy-port (HTTP proxy port)
--MSG-GB=[GB2312/GBK message]
--msg-utf8=[utf8 message]
--MSG-TYPE=[0/1/2 SMS Longsms smartmsg]
--FILE-GB=[GB2312/GBK file]
--file-utf8=[utf8 file]
--query-cmcc-no
--auto-retry
--exit-on-verifycode
--t3key=[http://www.tui3.com/page/smssend/]


2. Instructions for use

(1) The following parameters provide login password (three ways: mobile phone number-password, flight signal-password, file-index)
--moble=[mobile phone number]: Login mobile phone number
--sid=[Fly Signal]: Login to the flight signal
--pwd=[Password]: login password
-config=[file name]: Files that store phone numbers and passwords
--index=[index number]: index


(2) The following parameters provide the recipient
--to=[mobile phone number/flight signal/uri]: receive the message phone number/flight signal/uri. If you know the other person's URI, you only need to be in the other friend list, not the other side in their friends list can be sent. Supports multiple numbers, separated by commas.
--msg-utf8=[Info]: Message sent, UTF8 encoded
--msg-gb=[Info]: Message sent, GB encoded
--file-utf8=[file UTF8 format]: Send file contents
--file-gb=[file GB format]: Send file contents
--MSG-TYPE=[0/1/2]: Send message type: Normal message, long message, smart SMS


(3) Gadgets
--query-cmcc-no: Query mobile phone segment


(4) The following options are available
--debug: Display debug information
--hide: Stealth Login
--exit-on-verifycode: When the server needs to be graphically verified, the program exits (1) or waits for the user to enter the identifying information manually (program default)
--proxy-ip=http: Proxy IP
--proxy-port=http: Proxy port (bot requires HTTP connect proxy, common Ccproxy is supported)


3. Examples of Use


Ld_library_path=. ./fetion
--mobile= Receive SMS Phone number
--pwd= your fetion password
--to=18501341937
--msg-utf8=test


Ld_library_path=. ./fetion
--sid= your flight signal--pwd= your fetion password
--to= Receive SMS Phone number
--msg-utf8=test


Ld_library_path=. ./fetion
--config=sample.conf
--index=1--to= receive SMS phone number
--msg-utf8=test






Ld_library_path=. ./fetion--sid= your flight signal--pwd= your fetion password--to= receive SMS phone number--msg-utf8=test


[Email protected] fetion]# ld_library_path=. ./fetion--sid= your flight signal--pwd= your fetion password--to=18501341937--msg-utf8=test
http/1.1 OK
Connection:close
Date:sun, Dec 06:53:54 GMT
server:microsoft-iis/6.0
X-powered-by:asp.net
content-location:nav.fetion.com.cn
x-aspnet-version:4.0.30319
Cache-control:private
content-type:text/html; Charset=utf-8
content-length:2301


<?xml version= "1.0" encoding= "UTF-8"? ><results><pic-certificate id= " 9781c45d-4bfb-411d-b5af-b7f6bd6bc8b3 "pic="/9j/4aaqskzjrgabaqeayabgaad/ 2wbdaaggbgcgbqghbwcjcqgkdbqndasldbksew8uhrofhh0ahbwgjc4nicisixwckdcpldaxndq0hyc5ptgypc4zndl/ 2wbdaqkjcqwldbgndrgyirwhmjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjl/ waarcaakafodasiaahebaxeb/8qahwaaaqubaqebaqeaaaaaaaaaaaecawqfbgcicqol/ 8qatraaagedawieawufbaqaaaf9aqidaaqrbrihmuege1fhbyjxfdkbkaeii0kxwrvs0fakm2jyggkkfhcygroljicokso0nty3odk6q0rfrkdisuptvfvwv1 hzwmnkzwznaglqc3r1dnd4exqdhiwgh4ijipktljwwl5izmqkjpkwmp6ipqrkztlw2t7i5usldxmxgx8jjytlt1nxw19jz2uhi4+ tl5ufo6erx8vp09fb3+pn6/8qahweaawebaqebaqebaqaaaaaaaaecawqfbgcicqol/ 8qatreaagecbaqdbacfbaqaaqj3aaecaxeebsexbhjbuqdhcrmimoeifekrobhbcsmzuvavynlrchyknoel8rcygromjygpkju2nzg5okneruzhselku1rvvl Dywvpjzgvmz2hpann0dxz3ehl6gooehyahiimkkpoulzaxmjmaoqokpaanqkmqsro0tba3ulm6wspexcbhymnk0tpu1dbx2nna4upk5ebn6onq8vp09fb3 +pn6/9oadambaairaxeapwd3+qgp63poipg+q6pzwcyehddxcrbiounxgazfhhit/hevbupa0fv5bel9yr9gkyhvz7zizxhhhpxnq+g6tc/epvfcj+iz7myg6vld+wbyzkbfrozgzynyflhguqqrsvq/ idtd6uguibq3julewoacvq8ckbbldsmggjgg+te88vtbjppkkumal3kkykqkbkkk8aad6+c7rxp4k0zxjoxi+61kbupd2phzhb/ akiqquocjthdgoknkgxtka/e600+ktc8eemrnxdqvryxwkekt8qity7wjy+eo8rknawee5ddp2ev5/f0xzev8vu7/acpottdz0rwy3k0vu7o+ rmb2tz1lc56zkk46h8qvv84/fhwvqnh4b0c8n0oxtxo+yj5objzpmvuzl5a4g78txheu0tlrvpgsuk3nhnt7rtdmsi0jwlv/ s0ehkhli2rh1woijbxpreorttv5o3/bffbzr28/ jzwvaavppv9q8nheqruzl9wtgwzjktifvxkhbunok3454zrdlikwosb1driraqykzbb6ey714v8a/ Cmuaz4qot3r6czdlo8qwkdlxgxabmrn8whbxshq1hednl8o+jfh/fp2jadje+ iz4wt27tyw29sykhzzwuhenzbvbzue2tux1t7ob0a7m9sm8x6kkzqw10dqufogh0+nrllpo2wel/ Waciq1puoahftoz9hmslyllgujkmjhp9xcwax6tn2qh4q8nxfhjsilg51+91qrrbaj0jvvoc5xc7+/8ttxrvtegooopdos+jfhm58w+atr0myi +1sflhvjgm6mgc56domzprxl9v4gtrl4dyeerigzpepvrfdiefvtlo7llyr43ebsgzjhbrxvtfk2jj0y76p9uetecfhetx8iv8oekypynupzd7eielstjbgke bsdnj+iiu6vpbeg6logn6jqfklqy08r/z1dypuou1tlsocfgfst+iqbu7+n4beknlb+tdzzpvtv1fxumv+dlvwfqnhfitbbqmo3w7ih/ Anbukgzgfzvussemgakdfbho/gpwrb20cu8wm2uyt9zbstmbys7cnseeswxjmt2il0siup5xpmsl8w7w8s2u/sfhqn/jlhilh2u8ho+ oyyzzx95goqjg8f8gl2bwf8r9c8d30nyyo3kljggspoqp9pof+ Aivfbmztrygag5gjljmty5fdqq6f3t6jk8e9cbl8evb8d7axuljf6pd2solsayuiwldpnzd449gpfnedjx6wcwsbdt0aiobskeg0iiubj7rmq4abyel +5a4b9ccew6vnqauuuuaffffabrrrqauuuuaffffabrrrqauuuuaf//z "/></results>
The graphics verification code has been generated and the file name is: your fly signal. jpg Please enter the graphics verification code after identification:
6wyx
The ID number you entered is: 6wyx
sip-c/4.0 405 Method not allowed
T:sip:[email protected];p =30601
I:3
Q:1 M
xi:d4b041d350a94a188bb760ad9a6c6e9e




Graphical code into the graphical interface to view, the first need to verify after the need not
405 Method not allowed
If the program returns SIP-C/2.0 405 Method not allowed is usually set to reject SMS notifications. So send failed
I have no problem with the settings on my PC client, but I still can't solve it.
Then accidentally found in Fetion's mobile phone client settings have such an item: Receive Fetion SMS options.
Hook it up, then debug fetion alarm can be sent normally.
The original is oneself inadvertently, changed the Fetion mobile phone client settings, and this option in the Fetion PC client can not find.
So no matter how you debug your PC client, it doesn't work.


But I did not find this option, want to receive SMS mobile phone number can be sent not know is not 185 is the reason of unicom number
In addition, if the Chinese is garbled because there is no Chinese installed, mount the disc both into the/media/server/to find fonts-chinese-3.02-12.el5.noarch.rpm installed after the restart is good




We have two more files in our Fetion directory: one is. jpg is just the verification code, one is your flight signal. Cache
Take a look
[[email protected] fetion]# more your flying signal. Cache
machinecode=e44f0b74cb2ebcad227fc667dbcae69d
Ssiurl=https://uid.fetion.com.cn/ssiportal/ssiappsigninv4.aspx
sipcip=211.152.106.11
sipcport=8080
Picurl=http://nav.fetion.com.cn/nav/getpiccodev4.aspx
mobile= Receive SMS Phone number
Sid= your flight signal
seg=8911
URI=SIP: Your flying signal @fetion.com.cn;p=8911
userid=472594096
cmcc=13000000000,13099999999
cmcc=13100000000,13199999999
cmcc=13200000000,13299999999
cmcc=14500000000,14599999999
cmcc=15500000000,15599999999
cmcc=15600000000,15699999999
cmcc=18500000000,18599999999
cmcc=18600000000,18699999999
cmcc=13300000000,13399999999
cmcc=15300000000,15399999999
cmcc=18000000000,18099999999
cmcc=18100000000,18199999999
cmcc=18900000000,18999999999
cmcc=13500000000,13999999999
cmcc=13400000000,13489999999
cmcc=15900000000,15999999999
cmcc=15800000000,15899999999
cmcc=15700000000,15799999999
cmcc=15100000000,15199999999
cmcc=15200000000,15299999999
cmcc=14700000000,14799999999
cmcc=15000000000,15099999999
cmcc=18200000000,18299999999
cmcc=18300000000,18399999999
cmcc=18400000000,18499999999
cmcc=18700000000,18799999999
cmcc=17800000000,17899999999
cmcc=18800000000,18899999999


These are the parameters that send fetion need to query
It is also best to perform the following steps:
[Email protected] fetion]# vi/etc/ld.so.conf
Add to:
/usr/local/fetion


[Email protected] fetion]# Ldconfig
[[email protected] fetion]#./fetion--sid= your flight signal--pwd= your fetion password--to= receive SMS phone number--msg-utf8= test
sip-c/4.0 280 Send SMS OK
T:SIP: Your flying signal @fetion.com.cn;p=8911
I:2
Q:1 M
rq:94305369043
l:112
Xi:8c35a486443248059e5386b83eed51d1

Use fetion under linux command line

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.