|
hngaoshou
社区乞丐
gaoshou
积分 -16
发帖 77
注册 2007-1-30
状态 离线
|
『楼 主』:
使批处理无限循环
使用 LLM 解释/回答一下
这样可以使你的批处理无限循环
很简单
先先把 你的命令打好吧 再在下一行加一个%0
自己试下吧 TMD我看到一个贴要看 必须套1000点 你杀了我吧
我才建号的 不知道他的是不是跟专业一些
好东西就拿来分享嘛! 靠.......
─────────────────── 版务记录 ───────────────────
执行:namejm
说明:该帖转移自 DOS批处理 & 脚本技术(批处理室)
─────────────────── 版务记录 ───────────────────
Last edited by namejm on 2007-2-1 at 09:17 PM ]
This can make your batch file loop infinitely.
It's very simple.
First, write your command well, and then add a %0 in the next line.
Try it yourself. TMD, I have to set 1000 points to read a post. You can kill me!
I just created the account. I don't know if his is more professional.
Good things should be shared! Oh...
[color=blue]
─────────────────── Moderation Record ───────────────────
Performed by: namejm
Description: This post was moved from DOS Batch & Script Technology (Batch Processing Room)
─────────────────── Moderation Record ───────────────────
[/color]
[[i] Last edited by namejm on 2007-2-1 at 09:17 PM [/i]]
|
|
2007-1-30 10:27 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
版主已经说了:
Originally posted by namejm at 2007-1-27 20:01:
鉴于此代码的危害性,加上了1000分的积分限制。
The moderator has said:
Originally posted by namejm at 2007-1-27 20:01:
Given the harmfulness of this code, a score limit of 1000 points has been added.
|
|
2007-1-30 10:29 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
鉴于此代码的危害性,加上了1000分的积分限制。
呵呵,这样做楼主不能进来了
Due to the harmful nature of this code, a 1000-point credit limit has been added.
Hehe, in this way, the thread starter can't come in anymore
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2007-1-30 10:39 |
|
|
hngaoshou
社区乞丐
gaoshou
积分 -16
发帖 77
注册 2007-1-30
状态 离线
|
『第 4 楼』:
看你限制我
使用 LLM 解释/回答一下
这样可以使你的批处理无限循环
很简单
先先把 你的命令打好吧 再在下一行加一个%0
自己试下吧 TMD我看到一个贴要看 必须套1000点 你杀了我吧
我才建号的 不知道他的是不是跟专业一些
好东西就拿来分享嘛! 靠.......
This can make your batch file loop infinitely.
Very simple.
First, put your command well, then add a %0 on the next line.
Try it yourself. TMD I have to set 1000 points to read a post. You can kill me.
I just created an account. I don't know if his is more professional.
Good things should be shared! 靠.......
|
|
2007-1-30 10:39 |
|
|
NaturalJ0
银牌会员
    
积分 1181
发帖 533
注册 2006-8-14
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
楼上心态好一点,我九百多分,和你十几分一样,不能看,没必要这样吧。人家可没欠你的。
Take it easy, upstairs. I have over 900 points, and you have more than a dozen points. It's not worth getting so worked up. People don't owe you anything.
|
|
2007-1-30 21:25 |
|
|
ccwan
金牌会员
     
积分 2725
发帖 1160
注册 2006-9-23 来自 河北廊坊
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
积分的问题是网络中的一种共识,它还是有缺陷的,难道新注册的会员,分数低就一定水平低吗?
但是要看到大多数人是怀着一种好奇的心理来的,很多连论坛的基本要求和会员守则都不看,这样的人很可能会因为误用代码而造成损失或者给别人造成损失,这是我们大家不愿看到的。不可否认,积分高的会员在论坛里混的时间长一点,懂得规矩多一点,比较不易造成伤害,大家还是理解版主的良苦用心吧。
需要学习的东西多着呢,不是吗?
The issue of points is a form of consensus in the network, but it still has flaws. Does a newly registered member with a low score necessarily have low level?
But we should see that most people come with a curious mentality. Many don't even read the basic requirements of the forum and the member code of conduct. Such people are very likely to cause losses due to misusing code or cause losses to others, which is what none of us want to see. There's no denying that members with high points have been in the forum for a longer time, know the rules more, and are less likely to cause harm. Everyone should understand the good intentions of the moderators.
There are many things to learn, isn't that right?
|

三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。 |
|
2007-1-30 21:47 |
|
|
songlynn
新手上路

积分 4
发帖 2
注册 2007-1-27
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
为什么加了就可以无限循环了??
Why does adding it allow an infinite loop?
|
|
2007-1-30 22:24 |
|
|
namejm
荣誉版主
       batch fan
积分 5226
发帖 1737
注册 2006-3-10 来自 成都
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
RE hngaoshou:
首先,他的代码比你的思路要狠得多,危害性相当大,以目前的认识来看,不强行重启系统无法结束死循环。
其次,你的思路确实是一个死循环的思路,在本论坛里呆得久一点的会员应该都知道这个思路,只是因为比较容易而没有人专门发帖提及而已。
本论坛的一大特色就是资源最大限度的开放性,加上积分限制主要是考虑到代码的危害性,以防不了解那个代码威力的会员因粗心大意而铸下大错。作为一个有相当水准的技术论坛,不会无聊到为一个简单的帖子加上1000点的积分限制。
鉴于你的帖子含有提意见的成分,并且你在本帖中发表了两次有欠考虑的重复内容,其中有不文明的言论,我将锁定此帖,一天之后将移到 意见反馈 & 网友交流 区。
RE hngaoshou:
First of all, his code is much more ruthless than your idea, and the harmfulness is quite great. From the current understanding, the system cannot be ended from the infinite loop without forcibly restarting the system.
Second, your idea is indeed an idea of an infinite loop. Members who have stayed in this forum for a longer time should all know this idea, but it is just that no one has specifically posted about it because it is relatively easy.
A major feature of this forum is the maximum openness of resources. Plus, the point limit is mainly considering the harmfulness of the code, to prevent members who do not understand the power of that code from making a big mistake due to carelessness. As a technical forum with a quite high level, it will not be boring to add a 1000-point point limit to a simple post.
In view of the fact that your post contains components for giving opinions, and you have made two times of less considered repeated contents in this post, among which there are uncivil remarks, I will lock this post and move it to the "Opinion Feedback & User Communication" area after one day.
|

尺有所短,寸有所长,学好CMD没商量。
考虑问题复杂化,解决问题简洁化。 |
|
2007-1-30 23:07 |
|
|
qinshi52
新手上路

积分 2
发帖 1
注册 2007-4-16
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
搞明白!!搞明白!!搞明白!!搞明白!!搞明白!!搞明白!!搞明白!!搞明白!!搞明白!!
Understand!!Understand!!Understand!!Understand!!Understand!!Understand!!Understand!!Understand!!Understand!!
|
|
2007-4-22 09:30 |
|
|
flyinspace
银牌会员
    
积分 1206
发帖 517
注册 2007-3-25
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
%0 代表自身。。
--------------------------------------------------------------
说道循环也记得自己曾经做过几个傻事。。
当时虽然知道 &的作用。。但并没有想到 在echo 中&也可以起作用。。
记过一个文件 backup.bat
因为其中有一句。
echo 谢谢您的使用,& backup
结果无限调用此脚本了。
后来才知道原来可以这样。。。
更记得。。因为没有用好del 指令。。
把c盘下的东西全删光了。。
%0 represents itself.
--------------------------------------------------------------
When it comes to loops, I also remember that I once did a few silly things.
At that time, although I knew the function of &, I didn't think that & could also play a role in echo.
There was a file backup.bat recorded.
Because there was a sentence in it.
echo Thank you for using, & backup
As a result, this script was called infinitely.
Later, I found out that it could be like this...
I also remember that because I didn't use the del command well.
I deleted all the things on the C drive.
|

知,不觉多。不知,乃求知 |
|
2007-4-23 11:26 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
汗……
同情一下。记得我也有一次用rd命令把我下载的所有电影都删除了,看都没有看就没了,郁闷了N天……
Swe sweat...
Sympathize. I remember once I used the rd command to delete all the movies I downloaded, they were gone without even watching, and I was depressed for several days...
|
|
2007-4-23 13:27 |
|