China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-15 05:37
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » First work 163 email login tool View 6,395 Replies 24
Original Poster Posted 2007-08-24 01:32 ·  中国 北京 中移铁通
初级用户
★★
Credits 177
Posts 52
Joined 2006-06-04 12:00
20-year member
UID 56562
Status Offline
First work, please everyone support,
I am bat, registered the forum a few days ago. After successful registration, I found that there was a member named bat in our forum before. Maybe the previous member didn't log in to the forum for more than the forum's regulations, so the account was deleted, but the database was still preserved. Because I found that when I just registered the forum and did nothing, I had already posted dozens of posts by myself. Hehe, really sorry. Because I especially like the username bat, so I kept it for myself. Please understand! So this post is my first work in the DOS Union. Hehe, please support. I hope the moderator can add a few points to this post. I will continue to work hard to release new works. Let's get down to business, please see the source code.




@echo off
title 163 Email Login Tool Author: bat QQ: 343959629
color 2b
set /p Username=Please enter 163 email username: & set /p Password=Please enter 163 email password:
start http://reg.163.com/in.jsp?url=http://fm163.163.com/coremail/fcg/ntesdoor2?verifycookie=1^&language=-1^&style=-1^&username=%Username%^&password=%Password%


[ Last edited by BAT on 2007-8-24 at 01:43 AM ]
Recent Ratings for This Post ( 2 in total) Click for details
RaterScoreTime
429499381 +2 2007-08-24 04:03
AlexZhang +8 2007-12-14 20:53
Attachments
163邮箱登陆器.rar (352 bytes, Downloads: 226)
Floor 2 Posted 2007-08-24 04:03 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 452
Posts 202
Joined 2006-12-21 13:46
19-year member
UID 74161
Gender Female
Status Offline
What an amazing person!! Please explain the implementation principle in detail for everyone!!
Floor 3 Posted 2007-08-24 10:29 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
Floor 4 Posted 2007-08-24 10:53 ·  中国 北京 中移铁通
初级用户
★★
Credits 177
Posts 52
Joined 2006-06-04 12:00
20-year member
UID 56562
Status Offline
To see more, please give a big push, hehe, give a big push! Otherwise, it will be encrypted next time!

@echo off
title Yahoo Mail Login Tool Author: bat QQ: 343959629
color 2b
set /p Username=Please enter Yahoo mail username: & set /p Password=Please enter Yahoo mail password:
start https://edit.bjs.yahoo.com/config/login?.intl=cn^&.src=ym^&login=%Username%^&passwd=%Password%


─────────── Moderation Notice ───────────
Operator: namejm
Punishment and Reason: Instigating others to push posts, wasting board space,
  Deduct 4 points of points as punishment.
─────────── Moderation Notice ───────────


[ Last edited by bjsh on 2007-8-24 at 12:34 PM ]
Recent Ratings for This Post ( 3 in total) Click for details
RaterScoreTime
slore +3 2007-08-24 11:08
bjsh -4 2007-08-24 12:33
huahua0919 +2 2007-12-11 15:12
Attachments
yahoo.rar (302 bytes, Downloads: 65)
Floor 5 Posted 2007-08-24 11:09 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
Nice
Floor 6 Posted 2007-08-24 11:18 ·  中国 香港 腾讯云
银牌会员
★★★
Credits 1,928
Posts 931
Joined 2007-01-06 11:46
19-year member
UID 75624
Gender Male
Status Offline
Heheh, let's encrypt it. Let's see what special encryption method the楼主 has.
Floor 7 Posted 2007-08-25 05:32 ·  中国 广东 东莞 电信
中级用户
★★
Credits 326
Posts 152
Joined 2007-05-04 06:16
19-year member
UID 87412
Gender Male
Status Offline
It seems like someone posted it a long time ago... It's not your original work, right...
Recent Ratings for This Post ( 2 in total) Click for details
RaterScoreTime
BAT -2 2007-08-26 13:59
Runas +2 2007-08-26 19:49
Floor 8 Posted 2007-08-25 11:48 ·  中国 广东 广州 白云区 电信
初级用户
★★
Credits 132
Posts 59
Joined 2007-08-23 21:24
18-year member
UID 95705
Gender Male
From GuangZhou
Status Offline
Floor 9 Posted 2007-08-25 20:57 ·  中国 四川 攀枝花 电信
初级用户
Credits 34
Posts 17
Joined 2007-06-29 21:46
19-year member
UID 92719
Gender Male
From 介休
Status Offline
Hehe, actually the principle is quite simple.
Hehe, I'll bump the post to encourage you.
Floor 10 Posted 2007-08-25 23:58 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 247
Posts 83
Joined 2005-09-12 12:06
20-year member
UID 42446
Gender Male
Status Offline
Since the password is in plain text, it is recommended to add a command to close the cmd process at the end
&&taskkill /f /im cmd.exe
Floor 11 Posted 2007-08-26 12:04 ·  中国 江西 南昌 电信
初级用户
Credits 40
Posts 22
Joined 2007-08-11 16:12
18-year member
UID 94970
Gender Male
Status Offline
I can still understand it.
Floor 12 Posted 2007-08-28 00:32 ·  中国 陕西 西安 电信
初级用户
Credits 94
Posts 36
Joined 2005-09-19 01:08
20-year member
UID 42619
Status Offline
It seems... I sent my password somewhere...

Sweat...
Floor 13 Posted 2007-08-28 07:29 ·  中国 广东 广州 电信
新手上路
Credits 2
Posts 1
Joined 2007-08-28 06:48
18-year member
UID 95988
Gender Male
Status Offline
Good stuff, I'll download it first and talk later
Floor 14 Posted 2007-08-28 15:03 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
It was already there before.
http://www.cn-dos.net/forum/viewthread.php?tid=30746&fpage=1&highlight=126%2Bchenall&page=1

Currently, there is no way to deal with this encryption. One not very easy-to-use method is to encode the username and password in ASCII. Like.
set "username=chenall
can be written as
set "username=%%63%%68%%65%%6E%%61%%6C%%6C
QQ:366840202
http://chenall.net
Floor 15 Posted 2007-08-28 15:38 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
I modified the previous batch processing to make it general - purpose and easy to add new functions later.

A little secret:

The method to quickly get the login addresses of all NetEase email boxes.
Open the NetEase homepage, view the source code. Search for "loginSelect", and then you will see code like
if(loginSelect == "163邮箱")
Among them,
the value of "login.action" is the address for login verification
the value of "userName.name" is the parameter name of the user name. If there is none, it is "username"
the same for "password.name". If there is none, it is "password"
According to these values, you can write an automatic login address.



  1. @echo off
  2. :: Email automatic login batch processing.
  3. :: http://www.cn-dos.net/
  4. :: Usage method. 1, directly enter the user name and password in the batch processing.
  5. :: 2. Start with command - line parameters. The first parameter is the user name and email name, the second parameter is the password
  6. :: Example: mail.cmd "chenall@163" "chenall123456"
  7. :: The user name is chenall, the password is chenall123456, and log in to the 163 email box

  8. :: The user name needs to be followed by the email name. For example, chenall@126 (log in to the 126 email box) or chenall@163 (log in to the 163 email box)
  9. set "user=
  10. if not defined user set user=%1

  11. : Set password
  12. set "pass=

  13. if not defined pass set pass=%2

  14. :: Filter the quotes in the user name and password, otherwise it will not be able to log in
  15. set user=%user:"=%&set pass=%pass:"=%
  16. setlocal enabledelayedexpansion

  17. :: Modify the # and & in the password, otherwise it will not be able to log in
  18. set "pass=!pass:#=%%23!"
  19. set "pass=!pass:&=%%26!"
  20. endlocal&set "pass=%pass%"

  21. for /f "tokens=1,2 delims=@" %%i in ("%user%") do set "user=%%i"&&goto :%%j

  22. : yeah
  23. start "yeah email automatic login" "http://entry.yeah.net/cgi/login?&bCookie=&user=%user%&pass=%pass%"
  24. goto :eof

  25. : 126
  26. start "126 email automatic login" "https://entry.mail.126.com/cgi/login?&bCookie=&user=%user%&pass=%pass%"
  27. goto :eof

  28. : 163
  29. start "163 email automatic login" "https://reg.163.com/logins.jsp?username=%user%&password=%pass%&url=http://fm163.163.com/coremail/fcg/ntesdoor2"
  30. goto :eof

  31. : yahoo
  32. start "yahoo email automatic login" "https://edit.bjs.yahoo.com/config/login?.done="http://cn.mail.yahoo.com/inset.html"&login=%user%@yahoo.com.cn&passwd=%pass%"
  33. goto :eof
chenall posted on: 2007 - 08 - 28 15:26


[ Last edited by chenall on 2007 - 8 - 28 at 03:53 PM ]
QQ:366840202
http://chenall.net
Forum Jump: