中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-13 22:05
47,812 topics / 349,916 posts / today 0 new / 48,268 members
网络日志(Blog) » temporarily store
Printable Version  3,536 / 1
Floor1 pighead123 Posted 2008-09-11 21:41
初级用户 Posts 23 Credits 42
```
@echo off
rem SoExp 0.1 By ALLyeSNO
rem http://hi.baidu.com/allyesno/
cls
setlocal enabledelayedexpansion
set num=0
title SoExp^ : Search for all possible overflowed exe/dll and other files^ ; http://hi.baidu.com/allyesno/
if "%1"=="" (
echo Usage : soexp path filename size
echo.
echo Example 1 : soexp c:\ gdiplus.dll ^( Search all gdiplus.dll on C drive ^)
echo Example 2 : soexp c:\ gdiplus.dll 1712128
echo ^( Search all gdiplus.dll on C drive and mark files with mismatched sizes of 1712128 Byte^)
echo Example 3 : soexp c:\ gdiplus.dll^>^>log.txt
echo ^( Search all gdiplus.dll on C drive and record results in log.txt ^)
goto :eof
)
echo Symbol comments : ㊣ File size matches ; ☆ File size does not match ; → Size parameter not used
echo.
if "%3"=="" set size=→
for /r %1 %%i in (%2*) do (
set/a num+=1
if not "%3"=="" set size=㊣
if not "%%~zi"=="%3" if not "%3"=="" set size=☆
echo !size!!num!.Byte : %%~zi %%i
set lines=0
for /f %%j in ('dir %%i/tc') do (
set/a lines+=1
if "!lines!"=="4" echo BornTime : %%j
)
)
```
Floor2 pighead123 Posted 2008-09-12 20:20
初级用户 Posts 23 Credits 42
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023