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-08-03 18:16
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Batch processing to crack the Pubwin.exe charging system in internet cafes! View 2,093 Replies 11
Original Poster Posted 2007-01-25 18:10 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 452
Posts 202
Joined 2006-12-21 13:46
19-year member
UID 74161
Gender Female
Status Offline
Been learning DOS for nearly half a year, and I feel it's not satisfying. I've decided to use a project to practice. Since I'm a network administrator and the internet isn't allowed at night in the internet café!! So I wrote a batch script to crack the charging system to test how much I've improved!!!
This batch script may not execute correctly for directories below the 2nd level, and it needs to be improved!!!
Also, when an error occurs during execution, it will also show success!!! See the main code below!!

setlocal EnableDelayedExpansion
@echo off & cd\ & cls &title Don't mess around!!!
echo Pubwin.exe cracking script!! 1:Crack the system
echo.
echo Test version V01 2:Restore the system
echo.
echo Producer: Chun Chun 3:Exit
echo.
set/p p= Please press a key to select
if "%p%"=="3" goto :c
if "%p%"=="1" (goto :a) else (goto :b)
:a
echo Task is being executed!!!
taskkill /im pubwin.exe /im run1l32.exe /im reclock.exe
set o=cdef
for /l %%a in (0,1,4) do (
for /f %%b in ("!o:~%%a,1!") do (
for /f %%c in ('dir/s/b "%%b:pubwin.exe"') do (
set i=%%~dpc
)
)
)

md e:windows\%date:~1,10% & copy %i%* e:windows\%date:~1,10% & cls
echo Task completed...........
ping -n 3 172.1>nul & exit
:b
copy e:windows\%date:~1,10% %i%*
rd /s /q c:windows\%date:~1,10%
echo The system has been restored
ping -n 3 172.1>nul & exit
:c
echo Exiting
ping -n 3 172.1>nul
Floor 2 Posted 2007-01-25 19:25 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  The code for traversing the hard disk by the poster is a bit interesting, but there are still many imperfect places, especially in the way of representing paths. For example, e:windows should be written as E:\Windows; the backslash symbol should also be added after the drive letter, such as %%b:pubwin.exe here; md E:\windows\%date:~1,10% can first set dir1=E:\windows\%date:~1,10%, and then md %dir1%, because this path is used more later, which will be more convenient.
Floor 3 Posted 2007-01-25 20:03 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 452
Posts 202
Joined 2006-12-21 13:46
19-year member
UID 74161
Gender Female
Status Offline
What you said makes sense, but I mainly solve the efficiency problem!!! It will take a long time to get information when searching on the D drive in the internet café!!! Is there any other way!!!
Attachments
破解.rar (609 bytes, Credits to download 1 pts, Downloads: 46)
Floor 4 Posted 2007-01-25 23:20 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  Helped you modify it:

@echo off&setlocal EnableDelayedExpansion
cd\ & cls &title Don't mess around!!!
echo Pubwin.exe cracking script!! 1: Crack the system
echo.
echo Test version V01 2: Restore the system
echo.
echo Producer: Chun Chun 3: Exit
echo.
set/p p= Please press the key to select
if "%p%"=="3" goto c
if "%p%"=="1" (goto a) else (goto :b)
:a
echo Task is being executed!!!
taskkill /f /im pubwin.exe /im run1l32.exe /im reclock.exe
set o=cdef
for /l %%a in (0,1,3) do (
for /F %%b in ("!o:~%%a,1!") do (
for /f "delims=" %%c in ('dir /s/b/a-d %%b:\pubwin.exe 2^>nul') do (
set "pubwin=%%c"
)
)
)
set dir1=%systemroot%\%date:~1,10%
copy "%pubwin%" %dir1%
echo Task completed...........
ping -n 3 172.1>nul & exit
:b
copy %dir1% "%pubwin%"
rd /s /q %dir1%
echo System has been restored
ping -n 3 172.1>nul & exit
:c
echo Exiting
ping -n 3 172.1>nul &exit
Floor 5 Posted 2007-01-26 06:45 ·  中国 湖南 衡阳 电信
中级用户
★★
Credits 322
Posts 144
Joined 2007-01-10 13:00
19-year member
UID 76062
Gender Male
Status Offline
taskkill /im pubwin.exe /im run1l32.exe /im reclock.exe

/IM only needs one to be written
Floor 6 Posted 2007-01-26 15:42 ·  中国 广东 湛江 电信
高级用户
★★★
Credits 959
Posts 311
Joined 2006-04-11 14:08
20-year member
UID 53665
Gender Male
From 广东-LianJiang
Status Offline
Interested in the file name of the attachment posted by the owner. Why use an empty name?
κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生
Floor 7 Posted 2007-01-26 15:50 ·  中国 广东 湛江 电信
高级用户
★★★
Credits 959
Posts 311
Joined 2006-04-11 14:08
20-year member
UID 53665
Gender Male
From 广东-LianJiang
Status Offline
Haha, I tried it and know how to change it. It's so simple originally. I didn't think of it before.
κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生
Floor 8 Posted 2007-02-01 13:25 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 452
Posts 202
Joined 2006-12-21 13:46
19-year member
UID 74161
Gender Female
Status Offline
Originally posted by bob1989 at 2007-1-25 05:45 PM:
taskkill /im pubwin.exe /im run1l32.exe /im reclock.exe

/IM only needs one to be written. `


The 3 processes are related. If any one is closed, the other 2 will restart the closed one or restart = shut down
Floor 9 Posted 2007-02-01 13:30 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 452
Posts 202
Joined 2006-12-21 13:46
19-year member
UID 74161
Gender Female
Status Offline
Everything is for learning, somewhat malicious!!!
The popular version will have usage restrictions!!! If I can make it!!!
Hehe, friends who support, please give a thumbs up!!!
Floor 10 Posted 2007-02-01 20:54 ·  中国 广西 贵港 电信
高级用户
★★
学无尽止
Credits 635
Posts 244
Joined 2006-04-15 05:07
20-year member
UID 53857
Gender Male
From 广西贵港
Status Offline
Now the new version of Pubwin.exe seems to be unbreakable. It's like this here. Before, we could crack it by changing the IP. Now if the server finds a machine with a changed IP, it immediately issues a command to lock... I don't know if anyone knows how to crack the Real-name Authentication Filter King in internet cafes. Recently, our internet cafe has installed the Real-name Authentication Filter King. It's not a big deal if the internet speed is slowed down. The most important thing is that sometimes the synchronization with the three parties fails, which makes me so busy that I'm dizzy...
学无尽止
Floor 11 Posted 2007-03-16 11:29 ·  中国 河北 廊坊 联通
新手上路
Credits 2
Posts 1
Joined 2007-03-16 10:28
19-year member
UID 81936
Gender Male
Status Offline
I have no points! What should I do, brother, help me out
Floor 12 Posted 2007-03-16 22:31 ·  中国 山东 临沂 电信
中级用户
★★
Credits 208
Posts 97
Joined 2006-12-28 22:08
19-year member
UID 74845
Gender Male
Status Offline
Once detected, it will restart. Here I am Zuǒlún. Ending Zuǒlún also restarts. See how arrogant you are!!!
Forum Jump: