Skip to content

Instantly share code, notes, and snippets.

@Neo-Oli
Created September 29, 2017 09:09
Show Gist options
  • Save Neo-Oli/c72834ce7b5cc60b36611e5b009b9c23 to your computer and use it in GitHub Desktop.
Save Neo-Oli/c72834ce7b5cc60b36611e5b009b9c23 to your computer and use it in GitHub Desktop.
#!/data/data/com.termux/files/usr/bin/bash
data(){
echo termux-location
termux-location -p network > /dev/null
termux-location -p network -r last
echo termux-battery-status
termux-battery-status
echo termux-wifi-connectioninfo
termux-wifi-connectioninfo
echo termux-wifi-scaninfo
termux-wifi-scaninfo
echo termux-telephony-cellinfo
termux-telephony-cellinfo
echo termux-telephony-deviceinfo
termux-telephony-deviceinfo
}
data|gpg2 --always-trust -ear <pgp key id>| mutt -e "my_hdr Content-Type: text/plain\; charset=us-ascii\; x-action=pgp-encrypted; my_hdr In-Reply-To: <20171110142604.GA11125@cron>" -s "Tracking Report" <your email address>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment