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
| <# | |
| RustDesk AD metadata agent / publisher | |
| Purpose: | |
| - Publishes rustDeskUri and rustDeskMetadata onto this computer's own AD object. | |
| - Intended to run as SYSTEM / computer account. | |
| - EXE-friendly for ps12exe: supports one-shot, long-running agent loop, and single-instance lock. | |
| Required AD ACL: | |
| Computer SELF should have write-property on: |
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
| function Set-Attribute { | |
| param ( | |
| [string]$Attribute, | |
| [string]$Value | |
| ) | |
| $searcher = New-Object System.DirectoryServices.DirectorySearcher | |
| $searcher.Filter = "(name=$env:ComputerName)" | |
| $result = $searcher.FindOne() |
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 | |
| # Title: GPSd Listener | |
| # Author: Geofferey | |
| # Description: Listens for NMEA on IP and port specified | |
| # Version: 1.0 | |
| DEF_PORT=29470 | |
| DEF_HOST=172.16.52.1 | |
| LOG "" |
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 | |
| # Title: GPSd Remote | |
| # Author: Geofferey | |
| # Description: Connects pager to a remote gpsd server | |
| # Version: 1.0 | |
| ## Simply connects the pager to a remote GPSd server capable of providing coordinates | |
| DEF_PORT=29470 | |
| DEF_HOST=192.168.128.254 |
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 | |
| # Title: USB-C WAN/LAN Toggler | |
| # Author: Geofferey | |
| # Description: Removes eth0 from bridge so it obtains an IP from connected device | |
| # Version: 1.0 | |
| PATH=/mmc/bin:/mmc/sbin:/mmc/usr/bin:/mmc/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin | |
| enable () { |
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
| <Config> | |
| <USB> | |
| <VendorID>0x1410</VendorID> | |
| <ManufacturerString>Novatel Wireless</ManufacturerString> | |
| <ProductString>M2100</ProductString> | |
| <SerialString>0123456789ABCDEF</SerialString> | |
| </USB> | |
| <FunctionList> | |
| <DebugMode> | |
| <OnlineMode>,dun,diag,adb,hid</OnlineMode> |
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 | |
| PATH=/data/bin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/nvtl/bin:/opt/nvtl/data/branding/bin | |
| LD_LIBRARY_PATH=/opt/nvtl/lib:/opt/nvtl/data/branding/lib | |
| SCRIPT=$(basename "$0") | |
| CURRENT_PID=$$ | |
| DNS_REC_HOST="" | |
| gps_cli set_privacy 1 >> /dev/null 2>&1 |
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 | |
| ## This script was originally part of the Inseego Tool | |
| # Script supplies methods to spoof/set TTL+DPI+IMEI | |
| # I did not write this script but I am using it as part | |
| # of a larger set of modifications to the Inseego M2000B | |
| # Script version | |
| script_version="1.4.4" | |
| download_url="gist.githubusercontent.com/Geofferey/d105ce5e2b4c557e8fb3003dafd448eb/raw/inseegokit.sh" |
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 | |
| echo "Content-type: text/plain" | |
| echo "" | |
| # Function to reverse a string | |
| reverse_string() { | |
| echo "$1" | rev | |
| } | |
| # Function to convert IMEI to NV item content |
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/env python3 | |
| import socket | |
| import sys | |
| from datetime import datetime, timedelta, timezone | |
| import string | |
| import argparse | |
| import os | |
| import time | |
| import threading |
NewerOlder