با برنامه 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"696 قسمت
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"696 قسمت
همه قسمت ها
×به Player FM خوش آمدید!
Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.