中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-29 05:56
47,816 topics / 349,916 posts / today 2 new / 48,265 members
DOS批处理 & 脚本技术(批处理室) » First work 163 email login tool
Printable Version  6,652 / 24
Floor1 BAT Posted 2007-08-24 01:32
初级用户 Posts 52 Credits 177
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.





[ Last edited by BAT on 2007-8-24 at 01:43 AM ]

Attachments
163邮箱登陆器.rar (352 bytes)
Floor2 429499381 Posted 2007-08-24 04:03
中级用户 Posts 202 Credits 452
What an amazing person!! Please explain the implementation principle in detail for everyone!!
Floor3 slore Posted 2007-08-24 10:29
铂金会员 Posts 2,478 Credits 5,212
Floor4 BAT Posted 2007-08-24 10:53
初级用户 Posts 52 Credits 177
To see more, please give a big push, hehe, give a big push! Otherwise, it will be encrypted next time!


─────────── 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 ]

Attachments
yahoo.rar (302 bytes)
Floor5 slore Posted 2007-08-24 11:09
铂金会员 Posts 2,478 Credits 5,212
Nice
Floor6 wudixin96 Posted 2007-08-24 11:18
银牌会员 Posts 931 Credits 1,928
Heheh, let's encrypt it. Let's see what special encryption method the楼主 has.
Floor7 qq43142691 Posted 2007-08-25 05:32
中级用户 Posts 152 Credits 326
It seems like someone posted it a long time ago... It's not your original work, right...
Floor8 Nickey Posted 2007-08-25 11:48
初级用户 Posts 59 Credits 132 From GuangZhou
Floor9 vive666888 Posted 2007-08-25 20:57
初级用户 Posts 17 Credits 34 From 介休
Hehe, actually the principle is quite simple.
Hehe, I'll bump the post to encourage you.
Floor10 ily2013 Posted 2007-08-25 23:58
中级用户 Posts 83 Credits 247
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
Floor11 xx12212 Posted 2007-08-26 12:04
初级用户 Posts 22 Credits 40
I can still understand it.
Floor12 awera Posted 2007-08-28 00:32
初级用户 Posts 36 Credits 94
It seems... I sent my password somewhere...

Sweat...
Floor13 jockyyu Posted 2007-08-28 07:29
新手上路 Posts 1 Credits 2
Good stuff, I'll download it first and talk later
Floor14 chenall Posted 2007-08-28 15:03
银牌会员 Posts 469 Credits 1,276 From 福建泉州
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
Floor15 chenall Posted 2007-08-28 15:38
银牌会员 Posts 469 Credits 1,276 From 福建泉州
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 ]
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023