
Player FM 앱으로 오프라인으로 전환하세요!
7MS #517: DIY Pentest Dropbox Tips - Part 6
Manage episode 326337442 series 2540717
Today we're continuing a series we haven't done in a while (click here to see the whole series) all about building and deploying pentest dropboxes for customers. Specifically, we cover:
Auto installing Splashtop This can be done automatically by downloading your splashtop.exe install and issuing this command:
splashtop.exe prevercheck /s /i confirm_d=0,hidewindow=1,notray=0,req_perm=0,sec_opt=2Auto installing Ninite This can be done in a batch script like so:
agent.msi /quiet ninitepro.exe /select App1 App2 App3 /silent ninite-install-report.txtThe above command installs App1, App2 and App3 silently and logs output to a file called ninite-install-report.txt
Auto installing Uptimerobot monitoring We do this by first creating a script called c:\uptimerobot.ps1 that makes the "phone home" call to UptimeRobot:
Start-Transcript -Path c:\heartbeat.log -Append Invoke-Webrequest https://heartbeat.uptimerobot.com/LONG-UNIQUE-STRING -UseBasicParsing Stop-TranscriptThen we install the scheduled task itself like so:
schtasks.exe /create /tn "Heartbeat" /tr "powershell -noprofile -executionpolicy bypass -file c:\uptimerobot.ps1" /rl highest /f /sc minute /mo 5 /ru "NT AUTHORITY\SYSTEM"693 에피소드
Manage episode 326337442 series 2540717
Today we're continuing a series we haven't done in a while (click here to see the whole series) all about building and deploying pentest dropboxes for customers. Specifically, we cover:
Auto installing Splashtop This can be done automatically by downloading your splashtop.exe install and issuing this command:
splashtop.exe prevercheck /s /i confirm_d=0,hidewindow=1,notray=0,req_perm=0,sec_opt=2Auto installing Ninite This can be done in a batch script like so:
agent.msi /quiet ninitepro.exe /select App1 App2 App3 /silent ninite-install-report.txtThe above command installs App1, App2 and App3 silently and logs output to a file called ninite-install-report.txt
Auto installing Uptimerobot monitoring We do this by first creating a script called c:\uptimerobot.ps1 that makes the "phone home" call to UptimeRobot:
Start-Transcript -Path c:\heartbeat.log -Append Invoke-Webrequest https://heartbeat.uptimerobot.com/LONG-UNIQUE-STRING -UseBasicParsing Stop-TranscriptThen we install the scheduled task itself like so:
schtasks.exe /create /tn "Heartbeat" /tr "powershell -noprofile -executionpolicy bypass -file c:\uptimerobot.ps1" /rl highest /f /sc minute /mo 5 /ru "NT AUTHORITY\SYSTEM"693 에피소드
모든 에피소드
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.