靶机服务端(适用于Linux系统控制靶机的情况)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
262 B

[Unit]
Description=TargetService
After=network.target
[Service]
ExecStart=/home/u/TargetService/bin/Release/net8.0/publish/TargetService
WorkingDirectory=/home/u/TargetService
User=u
Group=dialout
Restart=always
Type=simple
[Install]
WantedBy=multi-user.target