BAT 代码出错~
@echooffsetlocalclscoloretitleSYN(正在扫描,请稍后......)for/f"eol=tokens=1,2delims="%%iin(ip...
@echo off
setlocal
cls
color e
title SYN(正在扫描,请稍后... ...)
for /f "eol= tokens=1,2 delims= " %%i in (ip.txt) do s syn %%i %%j 8080 /save
for /f "eol=- tokens=1 delims= " %%i in (result.txt) do echo %%i>>s1.txt
for /f "eol=P tokens=1 delims= " %%i in (s1.txt) do echo %%i>>s2.txt
for /f "eol=S tokens=1 delims= " %%i in (s2.txt) do echo %%i>>ips.txt
del s1.txt
del s2.txt
exit
哪里错了 运行不起来呢? 展开
setlocal
cls
color e
title SYN(正在扫描,请稍后... ...)
for /f "eol= tokens=1,2 delims= " %%i in (ip.txt) do s syn %%i %%j 8080 /save
for /f "eol=- tokens=1 delims= " %%i in (result.txt) do echo %%i>>s1.txt
for /f "eol=P tokens=1 delims= " %%i in (s1.txt) do echo %%i>>s2.txt
for /f "eol=S tokens=1 delims= " %%i in (s2.txt) do echo %%i>>ips.txt
del s1.txt
del s2.txt
exit
哪里错了 运行不起来呢? 展开
展开全部
貌似是
for /f "eol= tokens=1,2 delims= " %%i in (ip.txt) do s syn %%i %%j 8080 /save
for /f "eol= tokens=1,2 delims= " %%i in (ip.txt) do s syn %%i %%j 8080 /save
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
rem 改成这样试试
@echo off
setlocal
cls
color e
title SYN(正在扫描,请稍后... ...)
for /f " tokens=1 delims= " %%i in (ip.txt) do s syn %%i %%j 8080 /save
for /f "eol=- tokens=1 delims= " %%i in (result.txt) do echo %%i>>s1.txt
for /f "eol=P tokens=1 delims= " %%i in (s1.txt) do echo %%i>>s2.txt
for /f "eol=S tokens=1 delims= " %%i in (s2.txt) do echo %%i>>ips.txt
del s1.txt
del s2.txt
pause
@echo off
setlocal
cls
color e
title SYN(正在扫描,请稍后... ...)
for /f " tokens=1 delims= " %%i in (ip.txt) do s syn %%i %%j 8080 /save
for /f "eol=- tokens=1 delims= " %%i in (result.txt) do echo %%i>>s1.txt
for /f "eol=P tokens=1 delims= " %%i in (s1.txt) do echo %%i>>s2.txt
for /f "eol=S tokens=1 delims= " %%i in (s2.txt) do echo %%i>>ips.txt
del s1.txt
del s2.txt
pause
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询