In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is about how to use batch processing to automatically log in to QQ. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Code:
Start "" C:\ Program Files\ Tencent\ QQ\ qq.exe "/ start QQUIN:843875648 PWDHASH:4Z1c1a8DeNoF9j+JHHRnrw== / stat:40 reference:
10: online login
40: stealth landing
41: online login
QQUIN and PWDHASH must use uppercase letters
Principle: QQ in the transmission of passwords, first do a MD5 encryption, and then do a BASE64 transformation, so that you can get normal text information for network transmission. Find a website for MD5 online query (such as http://www.xmd5.org/), enter the plaintext of QQ password, convert to get the result of MD5 encryption, then find a website for BASE64 online query (such as http://www.waishi.net/ip/tools/base64.htm), enter the result of MD5 encryption you just got, and convert it to HASH code.
Use VBS's SendKeys method to log in automatically, because there is no guarantee to get the correct delivery, there is a risk, so it will not be considered. After testing, it is impossible to use this method to log on to the latest official version of QQ2009. Maybe the new version of QQ does not have this command line interface open, so we can only continue to look forward to the future version.
Several methods to obtain QQ path automatically: read registry, search across the board, get process information, etc.: code:
The code is as follows:
@ echo off
Rem uses WMIC to obtain the QQ path in process information
For / f "tokens=2 delims==" an in ('wmic process where "name='qq.exe'" get executablepath / value') do (
Set QQPath=%%a
)
Echo QQPath%
Pause Code:
The code is as follows:
@ echo off
Rem uses WMIC full search to get the QQ path
For / f "skip=1 delims=" an in ('wmic datafile where "filename='qq' and extension='exe'" get name') do (
Set QQPath=%%a
)
Echo QQPath%
Pause Code:
The code is as follows:
@ echo off
Rem uses the reg command to read the registry to get the QQ path
For / f "tokens=2*"% an in ('reg query HKEY_LOCAL_MACHINE\ Software\ Tencent\ QQ / v install ^ | findstr "Install"') do (
Set QQPath=%%b
)
Echo QQPath%
Pause Code:
The code is as follows:
@ echo off
Rem uses the reg export command to search around the registry key and get the QQ path to avoid the possible problem of eating Chinese characters in reg query.
Reg export "HKEY_LOCAL_MACHINE\ SOFTWARE\ Tencent\ QQ"% temp%\ qq.txt" > nul
For / f "tokens=2 delims=="% an in ('type "% temp%\ qq.txt" ^ | findstr / I "Install"') do (
Rem can use%% ~ fa to directly change\\ into\ in a string.
Set QQPath=%%~a
)
Set QQPath=%QQPath:\%
Echo QQPath%
Pause Code:
The code is as follows:
@ echo off
Rem calls VBS to read the registry to get the QQ path
> "% temp%\ my.vbs" echo Set WshShell = WScript.CreateObject ("WScript.Shell")
> "% temp%\ my.vbs" echo WScript.Echo WshShell.RegRead ("HKEY_LOCAL_MACHINE\ SOFTWARE\ Tencent\ QQ\ Install")
For / f "delims=" an in ('cscript / nologo "% temp%\ my.vbs"') do (
Set QQPath=%%a
)
Echo QQPath%
Pause Code:
The code is as follows:
@ echo off
Rem full search to get QQ path
Set fName=qq.exe
For an in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
If exist% a:\ nul (
Pushd% a:\
For / r% b in (% fName%?) Do (
If / I "%% ~ nxb" equ "% fName%" (
Set fPath=%%b
Goto: show
)
)
Popd
)
)
: show
Echo fPath%
Pause
Thank you for reading! On "how to use batch processing to automatically log in to QQ" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.