Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- color a
- Title Scanning Scripts For Malicious Code
- cls
- pushd "%C:%"
- set scripts=%userprofile%\My Documents\RSBot\Scripts\Sources
- set precompiled=%userprofile%\My Documents\RSBot\Scripts\Precompiled
- set I=1
- cd %scripts%
- FOR /f "tokens=*" %%P IN ('dir /A-d /b') do (set /a I+=1 "%%P")
- echo %I% Scripts Loaded
- echo.
- echo A list of all open source scripts:
- echo.
- for %%i In ("%scripts%\*.java") DO echo %%i
- echo.
- echo A list of all pre-compiled scripts:
- echo.
- for %%i In ("%precompiled%\*.jar") DO echo %%i
- echo.
- echo A list of all URL's:
- echo.
- for /f "tokens=1-3* delims=:" %%a in (' findstr /n /I /R /C:"\<http\>" "%scripts%\*.java" ') do (
- echo Line %%c in %%~nxb:%%d
- )
- echo.
- echo Opens a connection or reads a file:
- echo.
- for /f "tokens=1-3* delims=:" %%a in (' findstr /n /I /R /C:"\<.openConnection\>" /C:"\<.getInputStream\>" /C:"\<.out.print\>" /C:"\<.out.readLine\>" /C:"\<.out.print\>" /C:"\<BufferedReader\>" /C:"\<InputStreamReader\>" /C:"\<inputLine\>" "%scripts%\*.java" ') do (
- echo Line %%c in %%~nxb:%%d
- )
- echo.
- echo Creates, deletes or renames a file:
- echo.
- for /f "tokens=1-3* delims=:" %%a in (' findstr /n /I /R /C:"\<.create\>" /C:"\<.delete\>" /C:"\<.renameTo\>" "%scripts%\*.java" ') do (
- echo Line %%c in %%~nxb:%%d
- )
- echo.
- echo Contains a version checker:
- echo.
- for /f "tokens=1-3* delims=:" %%a in (' findstr /n /I /R /C:"\<.properties.version\>" /C:"\<Double.parseDouble\>" /C:"\<version.txt\>" /C:"\<version.php\>" /C:"\<updater.txt\>" /C:"\<updater.php\>" "%scripts%\*.java" ') do (
- echo Line %%c in %%~nxb:%%d
- )
- echo.
- echo Steals your personal information:
- echo.
- for /f "tokens=1-3* delims=:" %%a in (' findstr /n /I /R /C:"\<RSBot_Accounts.ini\>" /C:"\<RSbot Accounts.ini\>" /C:"\<.getAccountsFile\>" /C:"\<AccountManager.getAccountNames\>" /C:"\<AccountManager.getPassword\>" /C:"\<AccountManager.getPin\>" /C:"\<AccountManager.getReward\>" /C:"\<AccountManager.isMember\>" /C:"\<System.getProperty\>" "%scripts%\*.java" ') do (
- echo Line %%c in %%~nxb:%%d
- )
- popd
- echo.
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement