File
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!copy.ps1
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env pwsh
|
||||||
# this does one thing
|
# this does one thing
|
||||||
param(
|
param(
|
||||||
[string]$PASSWD
|
[string]$PASSWD
|
||||||
@@ -9,6 +10,7 @@ $PASSWD = Get-DefaultPassword $PASSWD
|
|||||||
# idk what this does it works like that then thats how it is
|
# idk what this does it works like that then thats how it is
|
||||||
pscp.exe -l root -scp -pw $PASSWD -r 192.168.100.1:/etc/ldlda_help $PSScriptRoot
|
pscp.exe -l root -scp -pw $PASSWD -r 192.168.100.1:/etc/ldlda_help $PSScriptRoot
|
||||||
pscp.exe -l root -scp -pw $PASSWD 192.168.100.1:/etc/rc.local $PSScriptRoot
|
pscp.exe -l root -scp -pw $PASSWD 192.168.100.1:/etc/rc.local $PSScriptRoot
|
||||||
|
pscp.exe -l root -scp -pw $PASSWD -r 192.168.100.1:/etc/wakey-agent $PSScriptRoot
|
||||||
|
|
||||||
Remove-Item -Recurse (Join-Path $PSScriptRoot "root")
|
Remove-Item -Recurse (Join-Path $PSScriptRoot "root")
|
||||||
pscp.exe -l root -scp -pw $PASSWD -r 192.168.100.1:/root $PSScriptRoot
|
pscp.exe -l root -scp -pw $PASSWD -r 192.168.100.1:/root $PSScriptRoot
|
||||||
|
|||||||
Reference in New Issue
Block a user