This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/nvtl/bin:/opt/nvtl/data/branding/bin | |
| ## PoC Exploit payload for the Open VPN implementation RCE on Inseego M2000 (Novatel) | |
| # Append the following to .opvn to be uploaded to the Inseego m2000, full paths must be used | |
| # | |
| # tls-verify "/path/to/bin/executable" | |
| # | |
| # ^ That's 5 spaces or a <TAB> ^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/system/bin/sh | |
| if [ -z ${INTERACTIVE} ]; then | |
| until [[ $(getprop sys.boot_completed) = 1 ]] && [[ $(getprop dev.bootcomplete) = 1 ]] && [[ $(getprop service.bootanim.exit) = 1 ]] && [[ $(getprop init.svc.bootanim) = stopped ]]; do | |
| sleep 5 | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $host.ui.RawUI.WindowTitle = "NTAUTHORITY\SYSTEM - Tailscale Debugging" | |
| $ErrorActionPreference = "Continue" | |
| $host.ui.RawUI.BackgroundColor = "Black" | |
| $host.ui.RawUI.ForegroundColor = "Red" | |
| $RootPath = $PWD.Path | |
| cd ".\" | |
| $UserName = (whoami) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## I am a custom Script for logging TailScale in on boot using tsPreAuthKey attribute stored in AD Schema | |
| # This requires permanent modification to the schema for storing the PreAuthKey: | |
| # https://www.rebeladmin.com/step-step-guide-create-custom-active-directory-attributes/ | |
| # https://legacy.support.exclaimer.com/hc/en-gb/articles/360028648572-How-to-create-new-custom-AD-attributes-for-use-in-a-signature-template | |
| # Do NOT issue re-useable PreAuthTokens and store in AD, that would be foolish, storing them period might be ;)) | |
| # Execute me as a Computer policy based powershell startup script | |
| # Schduled task is also an option, may not work on first run | |
| # | |
| $env:Path = 'C:\Program Files\Tailscale;' + $env:Path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## I am a custom Script for logging TailScale in on boot using tsPreAuthKey attribute stored in AD Schema | |
| # Now I double as an executable via ps12exe that gets installed via an inno setup wizard | |
| # This requires permanent modification to the schema for storing the PreAuthKey: | |
| # https://www.rebeladmin.com/step-step-guide-create-custom-active-directory-attributes/ | |
| # https://legacy.support.exclaimer.com/hc/en-gb/articles/360028648572-How-to-create-new-custom-AD-attributes-for-use-in-a-signature-template | |
| # Do NOT issue re-useable PreAuthTokens and store in AD, that would be foolish, storing them period might be ;)) | |
| # Execute me as a Computer policy based powershell startup script | |
| # Schduled task is also an option, may not work on first run | |
| # | |
| $ErrorActionPreference = "SilentlyContinue" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM Tailscale setup script by Progent Engineer: | |
| REM Geofferey Eakins | |
| SET tsversion = 1.78.1 | |
| echo TailScale Pre-Authentication Deployment Script | |
| echo. | |
| echo Developed By: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Gets Computer Attributes from Active Directory without RSAT | |
| # https://www.reddit.com/r/PowerShell/s/Kani1GV3lD | |
| # Converted to .exe using ps12exe for use outside powershell | |
| $ErrorActionPreference = "SilentlyContinue" | |
| function Get-Attributes ($arg1) { | |
| $searcher = New-Object system.directoryservices.directorysearcher | |
| $searcher.PropertiesToLoad.AddRange(@($arg1)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ## Put me in your PATH to quickly change headscale node IPs | |
| ## Written by: | |
| ### Engineer: Geofferey | |
| TESTED_VER="v0.23.0" | |
| TS_CIDR="100.64.0.0/10" | |
| if [ -z ${HEADSCALE_DB} ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html dir="ltr" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" gpmc_reportInitialized="false"> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-16" /> | |
| <title>TailScale Login</title> | |
| <!-- Styles --> | |
| <style type="text/css"> | |
| body { background-color:#FFFFFF; border:1px solid #666666; color:#000000; font-size:68%; font-family:MS Shell Dlg; margin:0,0,10px,0; word-break:normal; word-wrap:break-word; } | |
| table { font-size:100%; table-layout:fixed; width:100%; } |