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 | |
## This script was originally part of: | |
# https://hotspottoolkit.com/product/inseego-tool-download/ | |
# It can be used to repair lost/broken IMEI on NVTL M2000B | |
# and similar on Inseego devices | |
echo "Content-type: text/plain" | |
echo "" |
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 |
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 is an example of enabling QCOM HS USB DIAG + ADB using rc.local.d/00adbd | |
# You can get out of this mode by plugging in and select charge only then tehter | |
# I feel like there may be better way but this is easiest way I've found | |
# | |
# Place me in /etc/rc.local.d/00adbd | |
# | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/nvtl/bin:/opt/nvtl/data/branding/bin |
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 will make persistent modifications to the Inseego M2000 | |
# | |
# • Enables rc.local(.d) init for easily executing arbitrary scripts | |
# • Permanently enables dropbear SSH via symlink to rc3.d/ | |
# • Permanently enable QCOM HS USB DIAG + ADB on boot | |
# | |
/bin/ln -s /etc/init.d/dropbear /etc/rc3.d/S99sdropbear |
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 | |
# Place in /etc/rc.local | |
for script in /etc/rc.local.d/*; do | |
if [ -x $script ]; 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
#!/bin/sh | |
# INIT script for starting rc.local > rc.local.d | |
# Placed in /etc/init.d/rc_local.sh | |
#set -x | |
case "$1" in | |
start) | |
echo -n "Starting rc.local: " | |
/bin/sh /etc/rc.local | |
echo "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
client | |
dev tun | |
persist-tun | |
persist-key | |
ncp-ciphers AES-128-GCM:AES-256-GCM | |
cipher AES-128-GCM | |
auth SHA1 | |
tls-client | |
resolv-retry infinite | |
remote some-server.internal 1196 |
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
client | |
dev tun | |
persist-tun | |
persist-key | |
ncp-ciphers AES-128-GCM:AES-256-GCM | |
cipher AES-128-GCM | |
auth SHA1 | |
tls-client | |
resolv-retry infinite | |
remote some-server.internal 1196 |
NewerOlder