@echo off
color 0d
mode con:cols=80 lines=40
title 小迅专用扫鸡工具
echo By: Mr.小迅 QQ:837070229
echo=================================================================================
set /p port=请输入要扫描的端口 :
set /p choice=请输入扫描方式 1:SYM扫描 2:TCP扫描 :
if not "%Choice%"=="" set Choice=%Choice:~0,1%
if /i "%choice%"=="1" for /f "eol= tokens=1,2 delims= " %%i in (IP.txt) do s syn %%i %%j "%port%" 1000 /save
if /i "%choice%"=="2" for /f "eol= tokens=1,2 delims= " %%i in (IP.txt) do s tcp %%i %%j "%port%" 1000 /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>>s.txt
del result.txt
del s1.txt
del s2.txt作者: 马帅123 时间: 2020-2-28 08:23